aws-sdk-s3 1.229.0 → 1.243.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 +4 -4
- data/CHANGELOG.md +111 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +24 -0
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/client.rb +144 -29
- data/lib/aws-sdk-s3/client_api.rb +26 -0
- data/lib/aws-sdk-s3/customizations/object.rb +40 -28
- data/lib/aws-sdk-s3/default_executor.rb +65 -19
- data/lib/aws-sdk-s3/directory_downloader.rb +9 -3
- data/lib/aws-sdk-s3/directory_uploader.rb +4 -0
- data/lib/aws-sdk-s3/express_credentials.rb +4 -1
- data/lib/aws-sdk-s3/express_credentials_provider.rb +23 -12
- data/lib/aws-sdk-s3/file_downloader.rb +21 -14
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +22 -15
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +32 -17
- data/lib/aws-sdk-s3/multipart_upload_error.rb +1 -1
- data/lib/aws-sdk-s3/object.rb +105 -0
- data/lib/aws-sdk-s3/object_multipart_copier.rb +1 -0
- data/lib/aws-sdk-s3/object_summary.rb +72 -0
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +10 -2
- data/lib/aws-sdk-s3/presigned_post.rb +50 -1
- data/lib/aws-sdk-s3/presigner.rb +1 -1
- data/lib/aws-sdk-s3/transfer_manager.rb +57 -37
- data/lib/aws-sdk-s3/types.rb +211 -15
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +3 -0
- data/sig/bucket_notification.rbs +3 -3
- data/sig/client.rbs +37 -12
- data/sig/customizations/errors.rbs +17 -0
- data/sig/errors.rbs +20 -20
- data/sig/multipart_upload_error.rbs +9 -0
- data/sig/object.rbs +18 -0
- data/sig/object_summary.rbs +9 -0
- data/sig/resource.rbs +1 -0
- data/sig/transfer_manager.rbs +31 -0
- data/sig/types.rbs +34 -10
- metadata +6 -3
data/lib/aws-sdk-s3/client.rb
CHANGED
|
@@ -255,13 +255,20 @@ module Aws::S3
|
|
|
255
255
|
# the required types.
|
|
256
256
|
#
|
|
257
257
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
258
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
259
|
-
# a clock skew correction and retry requests with skewed client
|
|
258
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
259
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
260
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
260
261
|
#
|
|
261
262
|
# @option options [String] :defaults_mode ("legacy")
|
|
262
263
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
263
264
|
# accepted modes and the configuration defaults that are included.
|
|
264
265
|
#
|
|
266
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
267
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
268
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
269
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
270
|
+
# correction is enabled by default.
|
|
271
|
+
#
|
|
265
272
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
266
273
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
267
274
|
#
|
|
@@ -334,7 +341,8 @@ module Aws::S3
|
|
|
334
341
|
# An integer representing the maximum number attempts that will be made for
|
|
335
342
|
# a single request, including the initial attempt. For example,
|
|
336
343
|
# setting this value to 5 will result in a request being retried up to
|
|
337
|
-
# 4 times. Used in `standard` and `adaptive` retry modes.
|
|
344
|
+
# 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
|
|
345
|
+
# except for DynamoDB and DynamoDB Streams, which default to 4.
|
|
338
346
|
#
|
|
339
347
|
# @option options [Proc] :output_event_stream_handler
|
|
340
348
|
# When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
|
|
@@ -405,15 +413,15 @@ module Aws::S3
|
|
|
405
413
|
# used by the default backoff function. This option is only used in the
|
|
406
414
|
# `legacy` retry mode.
|
|
407
415
|
#
|
|
408
|
-
# @option options [String] :retry_mode ("
|
|
416
|
+
# @option options [String] :retry_mode ("standard")
|
|
409
417
|
# Specifies which retry algorithm to use. Values are:
|
|
410
418
|
#
|
|
411
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
412
|
-
# value if no retry mode is provided.
|
|
419
|
+
# * `legacy` - The pre-existing retry behavior.
|
|
413
420
|
#
|
|
414
421
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
415
422
|
# This includes support for retry quotas, which limit the number of
|
|
416
|
-
# unsuccessful retries a client can make.
|
|
423
|
+
# unsuccessful retries a client can make. This is the default value
|
|
424
|
+
# if no retry mode is provided.
|
|
417
425
|
#
|
|
418
426
|
# * `adaptive` - A retry mode that includes all the functionality of
|
|
419
427
|
# `standard` mode along with automatic client side throttling.
|
|
@@ -2408,6 +2416,30 @@ module Aws::S3
|
|
|
2408
2416
|
#
|
|
2409
2417
|
# </note>
|
|
2410
2418
|
#
|
|
2419
|
+
# @option params [String] :object_lock_event_hold
|
|
2420
|
+
# The event hold status to apply to the object copy. Set to `ON` to
|
|
2421
|
+
# enable or `OFF` to disable.
|
|
2422
|
+
#
|
|
2423
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
2424
|
+
#
|
|
2425
|
+
# </note>
|
|
2426
|
+
#
|
|
2427
|
+
# @option params [Integer] :object_lock_event_hold_duration_days
|
|
2428
|
+
# The event hold duration in days to apply to the object copy. You
|
|
2429
|
+
# cannot specify a duration in both days and years.
|
|
2430
|
+
#
|
|
2431
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
2432
|
+
#
|
|
2433
|
+
# </note>
|
|
2434
|
+
#
|
|
2435
|
+
# @option params [Integer] :object_lock_event_hold_duration_years
|
|
2436
|
+
# The event hold duration in years to apply to the object copy. You
|
|
2437
|
+
# cannot specify a duration in both days and years.
|
|
2438
|
+
#
|
|
2439
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
2440
|
+
#
|
|
2441
|
+
# </note>
|
|
2442
|
+
#
|
|
2411
2443
|
# @option params [String] :expected_bucket_owner
|
|
2412
2444
|
# The account ID of the expected destination bucket owner. If the
|
|
2413
2445
|
# account ID that you provide does not match the actual owner of the
|
|
@@ -2500,6 +2532,9 @@ module Aws::S3
|
|
|
2500
2532
|
# object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
|
|
2501
2533
|
# object_lock_retain_until_date: Time.now,
|
|
2502
2534
|
# object_lock_legal_hold_status: "ON", # accepts ON, OFF
|
|
2535
|
+
# object_lock_event_hold: "ON", # accepts ON, OFF
|
|
2536
|
+
# object_lock_event_hold_duration_days: 1,
|
|
2537
|
+
# object_lock_event_hold_duration_years: 1,
|
|
2503
2538
|
# expected_bucket_owner: "AccountId",
|
|
2504
2539
|
# expected_source_bucket_owner: "AccountId",
|
|
2505
2540
|
# })
|
|
@@ -4040,6 +4075,30 @@ module Aws::S3
|
|
|
4040
4075
|
#
|
|
4041
4076
|
# </note>
|
|
4042
4077
|
#
|
|
4078
|
+
# @option params [String] :object_lock_event_hold
|
|
4079
|
+
# Specifies the event hold status to apply to the uploaded object. Set
|
|
4080
|
+
# to `ON` to enable or `OFF` to disable.
|
|
4081
|
+
#
|
|
4082
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
4083
|
+
#
|
|
4084
|
+
# </note>
|
|
4085
|
+
#
|
|
4086
|
+
# @option params [Integer] :object_lock_event_hold_duration_days
|
|
4087
|
+
# Specifies the event hold duration in days to apply to the uploaded
|
|
4088
|
+
# object. You cannot specify a duration in both days and years.
|
|
4089
|
+
#
|
|
4090
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
4091
|
+
#
|
|
4092
|
+
# </note>
|
|
4093
|
+
#
|
|
4094
|
+
# @option params [Integer] :object_lock_event_hold_duration_years
|
|
4095
|
+
# Specifies the event hold duration in years to apply to the uploaded
|
|
4096
|
+
# object. You cannot specify a duration in both days and years.
|
|
4097
|
+
#
|
|
4098
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
4099
|
+
#
|
|
4100
|
+
# </note>
|
|
4101
|
+
#
|
|
4043
4102
|
# @option params [String] :expected_bucket_owner
|
|
4044
4103
|
# The account ID of the expected bucket owner. If the account ID that
|
|
4045
4104
|
# you provide does not match the actual owner of the bucket, the request
|
|
@@ -4130,6 +4189,9 @@ module Aws::S3
|
|
|
4130
4189
|
# object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
|
|
4131
4190
|
# object_lock_retain_until_date: Time.now,
|
|
4132
4191
|
# object_lock_legal_hold_status: "ON", # accepts ON, OFF
|
|
4192
|
+
# object_lock_event_hold: "ON", # accepts ON, OFF
|
|
4193
|
+
# object_lock_event_hold_duration_days: 1,
|
|
4194
|
+
# object_lock_event_hold_duration_years: 1,
|
|
4133
4195
|
# expected_bucket_owner: "AccountId",
|
|
4134
4196
|
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
|
|
4135
4197
|
# checksum_type: "COMPOSITE", # accepts COMPOSITE, FULL_OBJECT
|
|
@@ -7669,7 +7731,7 @@ module Aws::S3
|
|
|
7669
7731
|
# resp.inventory_configuration.id #=> String
|
|
7670
7732
|
# resp.inventory_configuration.included_object_versions #=> String, one of "All", "Current"
|
|
7671
7733
|
# resp.inventory_configuration.optional_fields #=> Array
|
|
7672
|
-
# resp.inventory_configuration.optional_fields[0] #=> String, one of "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm", "ObjectAccessControlList", "ObjectOwner", "LifecycleExpirationDate"
|
|
7734
|
+
# resp.inventory_configuration.optional_fields[0] #=> String, one of "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "ObjectLockEventHoldStatus", "ObjectLockEventHoldDuration", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm", "ObjectAccessControlList", "ObjectOwner", "LifecycleExpirationDate", "IntelligentTieringReferenceDate"
|
|
7673
7735
|
# resp.inventory_configuration.schedule.frequency #=> String, one of "Daily", "Weekly"
|
|
7674
7736
|
#
|
|
7675
7737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration AWS API Documentation
|
|
@@ -8616,18 +8678,18 @@ module Aws::S3
|
|
|
8616
8678
|
#
|
|
8617
8679
|
# resp.topic_configuration.id #=> String
|
|
8618
8680
|
# resp.topic_configuration.events #=> Array
|
|
8619
|
-
# resp.topic_configuration.events[0] #=> String, one of "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"
|
|
8620
|
-
# resp.topic_configuration.event #=> String, one of "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"
|
|
8681
|
+
# resp.topic_configuration.events[0] #=> String, one of "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"
|
|
8682
|
+
# resp.topic_configuration.event #=> String, one of "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"
|
|
8621
8683
|
# resp.topic_configuration.topic #=> String
|
|
8622
8684
|
# resp.queue_configuration.id #=> String
|
|
8623
|
-
# resp.queue_configuration.event #=> String, one of "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"
|
|
8685
|
+
# resp.queue_configuration.event #=> String, one of "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"
|
|
8624
8686
|
# resp.queue_configuration.events #=> Array
|
|
8625
|
-
# resp.queue_configuration.events[0] #=> String, one of "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"
|
|
8687
|
+
# resp.queue_configuration.events[0] #=> String, one of "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"
|
|
8626
8688
|
# resp.queue_configuration.queue #=> String
|
|
8627
8689
|
# resp.cloud_function_configuration.id #=> String
|
|
8628
|
-
# resp.cloud_function_configuration.event #=> String, one of "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"
|
|
8690
|
+
# resp.cloud_function_configuration.event #=> String, one of "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"
|
|
8629
8691
|
# resp.cloud_function_configuration.events #=> Array
|
|
8630
|
-
# resp.cloud_function_configuration.events[0] #=> String, one of "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"
|
|
8692
|
+
# resp.cloud_function_configuration.events[0] #=> String, one of "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"
|
|
8631
8693
|
# resp.cloud_function_configuration.cloud_function #=> String
|
|
8632
8694
|
# resp.cloud_function_configuration.invocation_role #=> String
|
|
8633
8695
|
#
|
|
@@ -8729,7 +8791,7 @@ module Aws::S3
|
|
|
8729
8791
|
# resp.topic_configurations[0].id #=> String
|
|
8730
8792
|
# resp.topic_configurations[0].topic_arn #=> String
|
|
8731
8793
|
# resp.topic_configurations[0].events #=> Array
|
|
8732
|
-
# resp.topic_configurations[0].events[0] #=> String, one of "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"
|
|
8794
|
+
# resp.topic_configurations[0].events[0] #=> String, one of "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"
|
|
8733
8795
|
# resp.topic_configurations[0].filter.key.filter_rules #=> Array
|
|
8734
8796
|
# resp.topic_configurations[0].filter.key.filter_rules[0].name #=> String, one of "prefix", "suffix"
|
|
8735
8797
|
# resp.topic_configurations[0].filter.key.filter_rules[0].value #=> String
|
|
@@ -8737,7 +8799,7 @@ module Aws::S3
|
|
|
8737
8799
|
# resp.queue_configurations[0].id #=> String
|
|
8738
8800
|
# resp.queue_configurations[0].queue_arn #=> String
|
|
8739
8801
|
# resp.queue_configurations[0].events #=> Array
|
|
8740
|
-
# resp.queue_configurations[0].events[0] #=> String, one of "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"
|
|
8802
|
+
# resp.queue_configurations[0].events[0] #=> String, one of "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"
|
|
8741
8803
|
# resp.queue_configurations[0].filter.key.filter_rules #=> Array
|
|
8742
8804
|
# resp.queue_configurations[0].filter.key.filter_rules[0].name #=> String, one of "prefix", "suffix"
|
|
8743
8805
|
# resp.queue_configurations[0].filter.key.filter_rules[0].value #=> String
|
|
@@ -8745,7 +8807,7 @@ module Aws::S3
|
|
|
8745
8807
|
# resp.lambda_function_configurations[0].id #=> String
|
|
8746
8808
|
# resp.lambda_function_configurations[0].lambda_function_arn #=> String
|
|
8747
8809
|
# resp.lambda_function_configurations[0].events #=> Array
|
|
8748
|
-
# resp.lambda_function_configurations[0].events[0] #=> String, one of "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"
|
|
8810
|
+
# resp.lambda_function_configurations[0].events[0] #=> String, one of "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"
|
|
8749
8811
|
# resp.lambda_function_configurations[0].filter.key.filter_rules #=> Array
|
|
8750
8812
|
# resp.lambda_function_configurations[0].filter.key.filter_rules[0].name #=> String, one of "prefix", "suffix"
|
|
8751
8813
|
# resp.lambda_function_configurations[0].filter.key.filter_rules[0].value #=> String
|
|
@@ -10059,6 +10121,9 @@ module Aws::S3
|
|
|
10059
10121
|
# * {Types::GetObjectOutput#object_lock_mode #object_lock_mode} => String
|
|
10060
10122
|
# * {Types::GetObjectOutput#object_lock_retain_until_date #object_lock_retain_until_date} => Time
|
|
10061
10123
|
# * {Types::GetObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
|
|
10124
|
+
# * {Types::GetObjectOutput#object_lock_event_hold #object_lock_event_hold} => String
|
|
10125
|
+
# * {Types::GetObjectOutput#object_lock_event_hold_duration_days #object_lock_event_hold_duration_days} => Integer
|
|
10126
|
+
# * {Types::GetObjectOutput#object_lock_event_hold_duration_years #object_lock_event_hold_duration_years} => Integer
|
|
10062
10127
|
#
|
|
10063
10128
|
#
|
|
10064
10129
|
# @example Example: To retrieve a byte range of an object
|
|
@@ -10209,6 +10274,9 @@ module Aws::S3
|
|
|
10209
10274
|
# resp.object_lock_mode #=> String, one of "GOVERNANCE", "COMPLIANCE"
|
|
10210
10275
|
# resp.object_lock_retain_until_date #=> Time
|
|
10211
10276
|
# resp.object_lock_legal_hold_status #=> String, one of "ON", "OFF"
|
|
10277
|
+
# resp.object_lock_event_hold #=> String, one of "ON", "OFF"
|
|
10278
|
+
# resp.object_lock_event_hold_duration_days #=> Integer
|
|
10279
|
+
# resp.object_lock_event_hold_duration_years #=> Integer
|
|
10212
10280
|
#
|
|
10213
10281
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject AWS API Documentation
|
|
10214
10282
|
#
|
|
@@ -11113,6 +11181,8 @@ module Aws::S3
|
|
|
11113
11181
|
# resp.object_lock_configuration.rule.default_retention.mode #=> String, one of "GOVERNANCE", "COMPLIANCE"
|
|
11114
11182
|
# resp.object_lock_configuration.rule.default_retention.days #=> Integer
|
|
11115
11183
|
# resp.object_lock_configuration.rule.default_retention.years #=> Integer
|
|
11184
|
+
# resp.object_lock_configuration.rule.default_retention.default_event_hold.days #=> Integer
|
|
11185
|
+
# resp.object_lock_configuration.rule.default_retention.default_event_hold.years #=> Integer
|
|
11116
11186
|
#
|
|
11117
11187
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration AWS API Documentation
|
|
11118
11188
|
#
|
|
@@ -11216,6 +11286,9 @@ module Aws::S3
|
|
|
11216
11286
|
#
|
|
11217
11287
|
# resp.retention.mode #=> String, one of "GOVERNANCE", "COMPLIANCE"
|
|
11218
11288
|
# resp.retention.retain_until_date #=> Time
|
|
11289
|
+
# resp.retention.event_hold #=> String, one of "ON", "OFF"
|
|
11290
|
+
# resp.retention.event_hold_duration.days #=> Integer
|
|
11291
|
+
# resp.retention.event_hold_duration.years #=> Integer
|
|
11219
11292
|
#
|
|
11220
11293
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention AWS API Documentation
|
|
11221
11294
|
#
|
|
@@ -12223,6 +12296,9 @@ module Aws::S3
|
|
|
12223
12296
|
# * {Types::HeadObjectOutput#object_lock_mode #object_lock_mode} => String
|
|
12224
12297
|
# * {Types::HeadObjectOutput#object_lock_retain_until_date #object_lock_retain_until_date} => Time
|
|
12225
12298
|
# * {Types::HeadObjectOutput#object_lock_legal_hold_status #object_lock_legal_hold_status} => String
|
|
12299
|
+
# * {Types::HeadObjectOutput#object_lock_event_hold #object_lock_event_hold} => String
|
|
12300
|
+
# * {Types::HeadObjectOutput#object_lock_event_hold_duration_days #object_lock_event_hold_duration_days} => Integer
|
|
12301
|
+
# * {Types::HeadObjectOutput#object_lock_event_hold_duration_years #object_lock_event_hold_duration_years} => Integer
|
|
12226
12302
|
#
|
|
12227
12303
|
#
|
|
12228
12304
|
# @example Example: To retrieve metadata of an object without returning the object itself
|
|
@@ -12319,6 +12395,9 @@ module Aws::S3
|
|
|
12319
12395
|
# resp.object_lock_mode #=> String, one of "GOVERNANCE", "COMPLIANCE"
|
|
12320
12396
|
# resp.object_lock_retain_until_date #=> Time
|
|
12321
12397
|
# resp.object_lock_legal_hold_status #=> String, one of "ON", "OFF"
|
|
12398
|
+
# resp.object_lock_event_hold #=> String, one of "ON", "OFF"
|
|
12399
|
+
# resp.object_lock_event_hold_duration_days #=> Integer
|
|
12400
|
+
# resp.object_lock_event_hold_duration_years #=> Integer
|
|
12322
12401
|
#
|
|
12323
12402
|
#
|
|
12324
12403
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -12689,7 +12768,7 @@ module Aws::S3
|
|
|
12689
12768
|
# resp.inventory_configuration_list[0].id #=> String
|
|
12690
12769
|
# resp.inventory_configuration_list[0].included_object_versions #=> String, one of "All", "Current"
|
|
12691
12770
|
# resp.inventory_configuration_list[0].optional_fields #=> Array
|
|
12692
|
-
# resp.inventory_configuration_list[0].optional_fields[0] #=> String, one of "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm", "ObjectAccessControlList", "ObjectOwner", "LifecycleExpirationDate"
|
|
12771
|
+
# resp.inventory_configuration_list[0].optional_fields[0] #=> String, one of "Size", "LastModifiedDate", "StorageClass", "ETag", "IsMultipartUploaded", "ReplicationStatus", "EncryptionStatus", "ObjectLockRetainUntilDate", "ObjectLockMode", "ObjectLockLegalHoldStatus", "ObjectLockEventHoldStatus", "ObjectLockEventHoldDuration", "IntelligentTieringAccessTier", "BucketKeyStatus", "ChecksumAlgorithm", "ObjectAccessControlList", "ObjectOwner", "LifecycleExpirationDate", "IntelligentTieringReferenceDate"
|
|
12693
12772
|
# resp.inventory_configuration_list[0].schedule.frequency #=> String, one of "Daily", "Weekly"
|
|
12694
12773
|
# resp.is_truncated #=> Boolean
|
|
12695
12774
|
# resp.next_continuation_token #=> String
|
|
@@ -16248,7 +16327,7 @@ module Aws::S3
|
|
|
16248
16327
|
# },
|
|
16249
16328
|
# id: "InventoryId", # required
|
|
16250
16329
|
# included_object_versions: "All", # required, accepts All, Current
|
|
16251
|
-
# optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm, ObjectAccessControlList, ObjectOwner, LifecycleExpirationDate
|
|
16330
|
+
# optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, ObjectLockEventHoldStatus, ObjectLockEventHoldDuration, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm, ObjectAccessControlList, ObjectOwner, LifecycleExpirationDate, IntelligentTieringReferenceDate
|
|
16252
16331
|
# schedule: { # required
|
|
16253
16332
|
# frequency: "Daily", # required, accepts Daily, Weekly
|
|
16254
16333
|
# },
|
|
@@ -17148,20 +17227,20 @@ module Aws::S3
|
|
|
17148
17227
|
# notification_configuration: { # required
|
|
17149
17228
|
# topic_configuration: {
|
|
17150
17229
|
# id: "NotificationId",
|
|
17151
|
-
# events: ["s3:ReducedRedundancyLostObject"], # accepts 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
|
|
17152
|
-
# event: "s3:ReducedRedundancyLostObject", # accepts 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
|
|
17230
|
+
# events: ["s3:ReducedRedundancyLostObject"], # accepts 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
|
|
17231
|
+
# event: "s3:ReducedRedundancyLostObject", # accepts 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
|
|
17153
17232
|
# topic: "TopicArn",
|
|
17154
17233
|
# },
|
|
17155
17234
|
# queue_configuration: {
|
|
17156
17235
|
# id: "NotificationId",
|
|
17157
|
-
# event: "s3:ReducedRedundancyLostObject", # accepts 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
|
|
17158
|
-
# events: ["s3:ReducedRedundancyLostObject"], # accepts 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
|
|
17236
|
+
# event: "s3:ReducedRedundancyLostObject", # accepts 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
|
|
17237
|
+
# events: ["s3:ReducedRedundancyLostObject"], # accepts 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
|
|
17159
17238
|
# queue: "QueueArn",
|
|
17160
17239
|
# },
|
|
17161
17240
|
# cloud_function_configuration: {
|
|
17162
17241
|
# id: "NotificationId",
|
|
17163
|
-
# event: "s3:ReducedRedundancyLostObject", # accepts 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
|
|
17164
|
-
# events: ["s3:ReducedRedundancyLostObject"], # accepts 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
|
|
17242
|
+
# event: "s3:ReducedRedundancyLostObject", # accepts 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
|
|
17243
|
+
# events: ["s3:ReducedRedundancyLostObject"], # accepts 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
|
|
17165
17244
|
# cloud_function: "CloudFunction",
|
|
17166
17245
|
# invocation_role: "CloudFunctionInvocationRole",
|
|
17167
17246
|
# },
|
|
@@ -17303,7 +17382,7 @@ module Aws::S3
|
|
|
17303
17382
|
# {
|
|
17304
17383
|
# id: "NotificationId",
|
|
17305
17384
|
# topic_arn: "TopicArn", # required
|
|
17306
|
-
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts 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
|
|
17385
|
+
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts 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
|
|
17307
17386
|
# filter: {
|
|
17308
17387
|
# key: {
|
|
17309
17388
|
# filter_rules: [
|
|
@@ -17320,7 +17399,7 @@ module Aws::S3
|
|
|
17320
17399
|
# {
|
|
17321
17400
|
# id: "NotificationId",
|
|
17322
17401
|
# queue_arn: "QueueArn", # required
|
|
17323
|
-
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts 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
|
|
17402
|
+
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts 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
|
|
17324
17403
|
# filter: {
|
|
17325
17404
|
# key: {
|
|
17326
17405
|
# filter_rules: [
|
|
@@ -17337,7 +17416,7 @@ module Aws::S3
|
|
|
17337
17416
|
# {
|
|
17338
17417
|
# id: "NotificationId",
|
|
17339
17418
|
# lambda_function_arn: "LambdaFunctionArn", # required
|
|
17340
|
-
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts 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
|
|
17419
|
+
# events: ["s3:ReducedRedundancyLostObject"], # required, accepts 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
|
|
17341
17420
|
# filter: {
|
|
17342
17421
|
# key: {
|
|
17343
17422
|
# filter_rules: [
|
|
@@ -19411,6 +19490,30 @@ module Aws::S3
|
|
|
19411
19490
|
#
|
|
19412
19491
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
|
|
19413
19492
|
#
|
|
19493
|
+
# @option params [String] :object_lock_event_hold
|
|
19494
|
+
# Specifies the event hold status to apply to this object. Set to `ON`
|
|
19495
|
+
# to enable or `OFF` to disable.
|
|
19496
|
+
#
|
|
19497
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19498
|
+
#
|
|
19499
|
+
# </note>
|
|
19500
|
+
#
|
|
19501
|
+
# @option params [Integer] :object_lock_event_hold_duration_days
|
|
19502
|
+
# Specifies the event hold duration in days to apply to this object. You
|
|
19503
|
+
# cannot specify a duration in both days and years.
|
|
19504
|
+
#
|
|
19505
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19506
|
+
#
|
|
19507
|
+
# </note>
|
|
19508
|
+
#
|
|
19509
|
+
# @option params [Integer] :object_lock_event_hold_duration_years
|
|
19510
|
+
# Specifies the event hold duration in years to apply to this object.
|
|
19511
|
+
# You cannot specify a duration in both days and years.
|
|
19512
|
+
#
|
|
19513
|
+
# <note markdown="1"> This functionality is not supported for directory buckets.
|
|
19514
|
+
#
|
|
19515
|
+
# </note>
|
|
19516
|
+
#
|
|
19414
19517
|
# @option params [String] :expected_bucket_owner
|
|
19415
19518
|
# The account ID of the expected bucket owner. If the account ID that
|
|
19416
19519
|
# you provide does not match the actual owner of the bucket, the request
|
|
@@ -19628,6 +19731,9 @@ module Aws::S3
|
|
|
19628
19731
|
# object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
|
|
19629
19732
|
# object_lock_retain_until_date: Time.now,
|
|
19630
19733
|
# object_lock_legal_hold_status: "ON", # accepts ON, OFF
|
|
19734
|
+
# object_lock_event_hold: "ON", # accepts ON, OFF
|
|
19735
|
+
# object_lock_event_hold_duration_days: 1,
|
|
19736
|
+
# object_lock_event_hold_duration_years: 1,
|
|
19631
19737
|
# expected_bucket_owner: "AccountId",
|
|
19632
19738
|
# })
|
|
19633
19739
|
#
|
|
@@ -20478,6 +20584,10 @@ module Aws::S3
|
|
|
20478
20584
|
# mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
|
|
20479
20585
|
# days: 1,
|
|
20480
20586
|
# years: 1,
|
|
20587
|
+
# default_event_hold: {
|
|
20588
|
+
# days: 1,
|
|
20589
|
+
# years: 1,
|
|
20590
|
+
# },
|
|
20481
20591
|
# },
|
|
20482
20592
|
# },
|
|
20483
20593
|
# },
|
|
@@ -20614,6 +20724,11 @@ module Aws::S3
|
|
|
20614
20724
|
# retention: {
|
|
20615
20725
|
# mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
|
|
20616
20726
|
# retain_until_date: Time.now,
|
|
20727
|
+
# event_hold: "ON", # accepts ON, OFF
|
|
20728
|
+
# event_hold_duration: {
|
|
20729
|
+
# days: 1,
|
|
20730
|
+
# years: 1,
|
|
20731
|
+
# },
|
|
20617
20732
|
# },
|
|
20618
20733
|
# request_payer: "requester", # accepts requester
|
|
20619
20734
|
# version_id: "ObjectVersionId",
|
|
@@ -24102,7 +24217,7 @@ module Aws::S3
|
|
|
24102
24217
|
tracer: tracer
|
|
24103
24218
|
)
|
|
24104
24219
|
context[:gem_name] = 'aws-sdk-s3'
|
|
24105
|
-
context[:gem_version] = '1.
|
|
24220
|
+
context[:gem_version] = '1.243.0'
|
|
24106
24221
|
Seahorse::Client::Request.new(handlers, context)
|
|
24107
24222
|
end
|
|
24108
24223
|
|
|
@@ -215,6 +215,7 @@ module Aws::S3
|
|
|
215
215
|
Errors = Shapes::ListShape.new(name: 'Errors', flattened: true)
|
|
216
216
|
Event = Shapes::StringShape.new(name: 'Event')
|
|
217
217
|
EventBridgeConfiguration = Shapes::StructureShape.new(name: 'EventBridgeConfiguration')
|
|
218
|
+
EventHoldDuration = Shapes::StructureShape.new(name: 'EventHoldDuration')
|
|
218
219
|
EventList = Shapes::ListShape.new(name: 'EventList', flattened: true)
|
|
219
220
|
ExistingObjectReplication = Shapes::StructureShape.new(name: 'ExistingObjectReplication')
|
|
220
221
|
ExistingObjectReplicationStatus = Shapes::StringShape.new(name: 'ExistingObjectReplicationStatus')
|
|
@@ -490,6 +491,9 @@ module Aws::S3
|
|
|
490
491
|
ObjectLockConfiguration = Shapes::StructureShape.new(name: 'ObjectLockConfiguration')
|
|
491
492
|
ObjectLockEnabled = Shapes::StringShape.new(name: 'ObjectLockEnabled')
|
|
492
493
|
ObjectLockEnabledForBucket = Shapes::BooleanShape.new(name: 'ObjectLockEnabledForBucket')
|
|
494
|
+
ObjectLockEventHold = Shapes::StringShape.new(name: 'ObjectLockEventHold')
|
|
495
|
+
ObjectLockEventHoldDurationDays = Shapes::IntegerShape.new(name: 'ObjectLockEventHoldDurationDays')
|
|
496
|
+
ObjectLockEventHoldDurationYears = Shapes::IntegerShape.new(name: 'ObjectLockEventHoldDurationYears')
|
|
493
497
|
ObjectLockLegalHold = Shapes::StructureShape.new(name: 'ObjectLockLegalHold')
|
|
494
498
|
ObjectLockLegalHoldStatus = Shapes::StringShape.new(name: 'ObjectLockLegalHoldStatus')
|
|
495
499
|
ObjectLockMode = Shapes::StringShape.new(name: 'ObjectLockMode')
|
|
@@ -1039,6 +1043,9 @@ module Aws::S3
|
|
|
1039
1043
|
CopyObjectRequest.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: ObjectLockMode, location: "header", location_name: "x-amz-object-lock-mode"))
|
|
1040
1044
|
CopyObjectRequest.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: ObjectLockRetainUntilDate, location: "header", location_name: "x-amz-object-lock-retain-until-date"))
|
|
1041
1045
|
CopyObjectRequest.add_member(:object_lock_legal_hold_status, Shapes::ShapeRef.new(shape: ObjectLockLegalHoldStatus, location: "header", location_name: "x-amz-object-lock-legal-hold"))
|
|
1046
|
+
CopyObjectRequest.add_member(:object_lock_event_hold, Shapes::ShapeRef.new(shape: ObjectLockEventHold, location: "header", location_name: "x-amz-object-lock-event-hold"))
|
|
1047
|
+
CopyObjectRequest.add_member(:object_lock_event_hold_duration_days, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationDays, location: "header", location_name: "x-amz-object-lock-event-hold-duration-days"))
|
|
1048
|
+
CopyObjectRequest.add_member(:object_lock_event_hold_duration_years, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationYears, location: "header", location_name: "x-amz-object-lock-event-hold-duration-years"))
|
|
1042
1049
|
CopyObjectRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
|
1043
1050
|
CopyObjectRequest.add_member(:expected_source_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-source-expected-bucket-owner"))
|
|
1044
1051
|
CopyObjectRequest.struct_class = Types::CopyObjectRequest
|
|
@@ -1159,6 +1166,9 @@ module Aws::S3
|
|
|
1159
1166
|
CreateMultipartUploadRequest.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: ObjectLockMode, location: "header", location_name: "x-amz-object-lock-mode"))
|
|
1160
1167
|
CreateMultipartUploadRequest.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: ObjectLockRetainUntilDate, location: "header", location_name: "x-amz-object-lock-retain-until-date"))
|
|
1161
1168
|
CreateMultipartUploadRequest.add_member(:object_lock_legal_hold_status, Shapes::ShapeRef.new(shape: ObjectLockLegalHoldStatus, location: "header", location_name: "x-amz-object-lock-legal-hold"))
|
|
1169
|
+
CreateMultipartUploadRequest.add_member(:object_lock_event_hold, Shapes::ShapeRef.new(shape: ObjectLockEventHold, location: "header", location_name: "x-amz-object-lock-event-hold"))
|
|
1170
|
+
CreateMultipartUploadRequest.add_member(:object_lock_event_hold_duration_days, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationDays, location: "header", location_name: "x-amz-object-lock-event-hold-duration-days"))
|
|
1171
|
+
CreateMultipartUploadRequest.add_member(:object_lock_event_hold_duration_years, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationYears, location: "header", location_name: "x-amz-object-lock-event-hold-duration-years"))
|
|
1162
1172
|
CreateMultipartUploadRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
|
1163
1173
|
CreateMultipartUploadRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-checksum-algorithm"))
|
|
1164
1174
|
CreateMultipartUploadRequest.add_member(:checksum_type, Shapes::ShapeRef.new(shape: ChecksumType, location: "header", location_name: "x-amz-checksum-type"))
|
|
@@ -1182,6 +1192,7 @@ module Aws::S3
|
|
|
1182
1192
|
DefaultRetention.add_member(:mode, Shapes::ShapeRef.new(shape: ObjectLockRetentionMode, location_name: "Mode"))
|
|
1183
1193
|
DefaultRetention.add_member(:days, Shapes::ShapeRef.new(shape: Days, location_name: "Days"))
|
|
1184
1194
|
DefaultRetention.add_member(:years, Shapes::ShapeRef.new(shape: Years, location_name: "Years"))
|
|
1195
|
+
DefaultRetention.add_member(:default_event_hold, Shapes::ShapeRef.new(shape: EventHoldDuration, location_name: "DefaultEventHold"))
|
|
1185
1196
|
DefaultRetention.struct_class = Types::DefaultRetention
|
|
1186
1197
|
|
|
1187
1198
|
Delete.add_member(:objects, Shapes::ShapeRef.new(shape: ObjectIdentifierList, required: true, location_name: "Object"))
|
|
@@ -1376,6 +1387,10 @@ module Aws::S3
|
|
|
1376
1387
|
|
|
1377
1388
|
EventBridgeConfiguration.struct_class = Types::EventBridgeConfiguration
|
|
1378
1389
|
|
|
1390
|
+
EventHoldDuration.add_member(:days, Shapes::ShapeRef.new(shape: Days, location_name: "Days"))
|
|
1391
|
+
EventHoldDuration.add_member(:years, Shapes::ShapeRef.new(shape: Years, location_name: "Years"))
|
|
1392
|
+
EventHoldDuration.struct_class = Types::EventHoldDuration
|
|
1393
|
+
|
|
1379
1394
|
EventList.member = Shapes::ShapeRef.new(shape: Event)
|
|
1380
1395
|
|
|
1381
1396
|
ExistingObjectReplication.add_member(:status, Shapes::ShapeRef.new(shape: ExistingObjectReplicationStatus, required: true, location_name: "Status"))
|
|
@@ -1739,6 +1754,9 @@ module Aws::S3
|
|
|
1739
1754
|
GetObjectOutput.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: ObjectLockMode, location: "header", location_name: "x-amz-object-lock-mode"))
|
|
1740
1755
|
GetObjectOutput.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: ObjectLockRetainUntilDate, location: "header", location_name: "x-amz-object-lock-retain-until-date"))
|
|
1741
1756
|
GetObjectOutput.add_member(:object_lock_legal_hold_status, Shapes::ShapeRef.new(shape: ObjectLockLegalHoldStatus, location: "header", location_name: "x-amz-object-lock-legal-hold"))
|
|
1757
|
+
GetObjectOutput.add_member(:object_lock_event_hold, Shapes::ShapeRef.new(shape: ObjectLockEventHold, location: "header", location_name: "x-amz-object-lock-event-hold"))
|
|
1758
|
+
GetObjectOutput.add_member(:object_lock_event_hold_duration_days, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationDays, location: "header", location_name: "x-amz-object-lock-event-hold-duration-days"))
|
|
1759
|
+
GetObjectOutput.add_member(:object_lock_event_hold_duration_years, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationYears, location: "header", location_name: "x-amz-object-lock-event-hold-duration-years"))
|
|
1742
1760
|
GetObjectOutput.struct_class = Types::GetObjectOutput
|
|
1743
1761
|
GetObjectOutput[:payload] = :body
|
|
1744
1762
|
GetObjectOutput[:payload_member] = GetObjectOutput.member(:body)
|
|
@@ -1881,6 +1899,9 @@ module Aws::S3
|
|
|
1881
1899
|
HeadObjectOutput.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: ObjectLockMode, location: "header", location_name: "x-amz-object-lock-mode"))
|
|
1882
1900
|
HeadObjectOutput.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: ObjectLockRetainUntilDate, location: "header", location_name: "x-amz-object-lock-retain-until-date"))
|
|
1883
1901
|
HeadObjectOutput.add_member(:object_lock_legal_hold_status, Shapes::ShapeRef.new(shape: ObjectLockLegalHoldStatus, location: "header", location_name: "x-amz-object-lock-legal-hold"))
|
|
1902
|
+
HeadObjectOutput.add_member(:object_lock_event_hold, Shapes::ShapeRef.new(shape: ObjectLockEventHold, location: "header", location_name: "x-amz-object-lock-event-hold"))
|
|
1903
|
+
HeadObjectOutput.add_member(:object_lock_event_hold_duration_days, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationDays, location: "header", location_name: "x-amz-object-lock-event-hold-duration-days"))
|
|
1904
|
+
HeadObjectOutput.add_member(:object_lock_event_hold_duration_years, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationYears, location: "header", location_name: "x-amz-object-lock-event-hold-duration-years"))
|
|
1884
1905
|
HeadObjectOutput.struct_class = Types::HeadObjectOutput
|
|
1885
1906
|
|
|
1886
1907
|
HeadObjectRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam" => {"name" => "Bucket"}}))
|
|
@@ -2427,6 +2448,8 @@ module Aws::S3
|
|
|
2427
2448
|
|
|
2428
2449
|
ObjectLockRetention.add_member(:mode, Shapes::ShapeRef.new(shape: ObjectLockRetentionMode, location_name: "Mode"))
|
|
2429
2450
|
ObjectLockRetention.add_member(:retain_until_date, Shapes::ShapeRef.new(shape: Date, location_name: "RetainUntilDate"))
|
|
2451
|
+
ObjectLockRetention.add_member(:event_hold, Shapes::ShapeRef.new(shape: ObjectLockEventHold, location_name: "EventHold"))
|
|
2452
|
+
ObjectLockRetention.add_member(:event_hold_duration, Shapes::ShapeRef.new(shape: EventHoldDuration, location_name: "EventHoldDuration"))
|
|
2430
2453
|
ObjectLockRetention.struct_class = Types::ObjectLockRetention
|
|
2431
2454
|
|
|
2432
2455
|
ObjectLockRule.add_member(:default_retention, Shapes::ShapeRef.new(shape: DefaultRetention, location_name: "DefaultRetention"))
|
|
@@ -2883,6 +2906,9 @@ module Aws::S3
|
|
|
2883
2906
|
PutObjectRequest.add_member(:object_lock_mode, Shapes::ShapeRef.new(shape: ObjectLockMode, location: "header", location_name: "x-amz-object-lock-mode"))
|
|
2884
2907
|
PutObjectRequest.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: ObjectLockRetainUntilDate, location: "header", location_name: "x-amz-object-lock-retain-until-date"))
|
|
2885
2908
|
PutObjectRequest.add_member(:object_lock_legal_hold_status, Shapes::ShapeRef.new(shape: ObjectLockLegalHoldStatus, location: "header", location_name: "x-amz-object-lock-legal-hold"))
|
|
2909
|
+
PutObjectRequest.add_member(:object_lock_event_hold, Shapes::ShapeRef.new(shape: ObjectLockEventHold, location: "header", location_name: "x-amz-object-lock-event-hold"))
|
|
2910
|
+
PutObjectRequest.add_member(:object_lock_event_hold_duration_days, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationDays, location: "header", location_name: "x-amz-object-lock-event-hold-duration-days"))
|
|
2911
|
+
PutObjectRequest.add_member(:object_lock_event_hold_duration_years, Shapes::ShapeRef.new(shape: ObjectLockEventHoldDurationYears, location: "header", location_name: "x-amz-object-lock-event-hold-duration-years"))
|
|
2886
2912
|
PutObjectRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
|
|
2887
2913
|
PutObjectRequest.struct_class = Types::PutObjectRequest
|
|
2888
2914
|
PutObjectRequest[:payload] = :body
|