aws-sdk-s3control 1.134.0 → 1.136.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45941d461f717291bae092db02b4d20dcf2ed40e1d6867917cb68056c9cb6ac8
4
- data.tar.gz: 24d18a80cb56c6ae3a86d8044764a00320b9f76a8555f57efdb7eeec0f6540bc
3
+ metadata.gz: 488814e099af2899563fbb2e7277be8699f9798a65d16e404e43f74f744c7b28
4
+ data.tar.gz: f9dd3f3abd96ff98a861227ca2a82352c808228829bbc503d0de9c57fa7d1cad
5
5
  SHA512:
6
- metadata.gz: 3da4a2a0153047c00041858d25900fbbf6ba4022139081c68822c9e63280724289f96f8cd9de6a15e48a530fe3eadea6b0e672f55078681dc1cd8e0b5c1ce136
7
- data.tar.gz: ebe35d91208ad68bd93afa9d347b44740589e044878b36c69b0e9bd8eceabf9f799644b64b06082177bcbd54e91ed4fe3ca7af4c5d63e62dbe18d94ad593e96f
6
+ metadata.gz: 12335e6901da2660d6094d02ade6927e4a09a8afe7cd69540e9ddfb2d63694e694d781e5b72665e7f6e613c07086d9b48970d97d3c1a34ac04da98be14fefdd8
7
+ data.tar.gz: 8e4bc30d3baa760bedb5c053ae4c23d3bc06c5586b2c40e65fbb44a36adf49309e5ca99113b0736d1658fa3d705f92ccc7fefb08d75fa1f56a6261dd37e4d1f1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.136.0 (2026-09-09)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.135.0 (2026-09-08)
10
+ ------------------
11
+
12
+ * Feature - Adds support for Amazon S3 Object Lock variable retention. Existing S3 APIs that support S3 Object Lock parameters now support two new parameters EventHold and EventHoldDuration at the object level, and DefaultEventHoldDuration at the bucket level.
13
+
4
14
  1.134.0 (2026-07-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.134.0
1
+ 1.136.0
@@ -1385,6 +1385,7 @@ module Aws::S3Control
1385
1385
  # },
1386
1386
  # ],
1387
1387
  # metadata_directive: "COPY", # accepts COPY, REPLACE
1388
+ # annotation_directive: "COPY", # accepts COPY, EXCLUDE
1388
1389
  # modified_since_constraint: Time.now,
1389
1390
  # new_object_metadata: {
1390
1391
  # cache_control: "NonEmptyMaxLength1024String",
@@ -1418,6 +1419,11 @@ module Aws::S3Control
1418
1419
  # object_lock_retain_until_date: Time.now,
1419
1420
  # bucket_key_enabled: false,
1420
1421
  # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256, CRC64NVME, SHA512, MD5, XXHASH64, XXHASH3, XXHASH128
1422
+ # object_lock_event_hold: "ON", # accepts ON, OFF
1423
+ # object_lock_event_hold_duration: {
1424
+ # days: 1,
1425
+ # years: 1,
1426
+ # },
1421
1427
  # },
1422
1428
  # s3_put_object_acl: {
1423
1429
  # access_control_policy: {
@@ -1464,6 +1470,11 @@ module Aws::S3Control
1464
1470
  # retention: { # required
1465
1471
  # retain_until_date: Time.now,
1466
1472
  # mode: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE
1473
+ # event_hold: "ON", # accepts ON, OFF
1474
+ # event_hold_duration: {
1475
+ # days: 1,
1476
+ # years: 1,
1477
+ # },
1467
1478
  # },
1468
1479
  # },
1469
1480
  # s3_replicate_object: {
@@ -2970,6 +2981,7 @@ module Aws::S3Control
2970
2981
  # resp.job.operation.s3_put_object_copy.access_control_grants[0].grantee.display_name #=> String
2971
2982
  # resp.job.operation.s3_put_object_copy.access_control_grants[0].permission #=> String, one of "FULL_CONTROL", "READ", "WRITE", "READ_ACP", "WRITE_ACP"
2972
2983
  # resp.job.operation.s3_put_object_copy.metadata_directive #=> String, one of "COPY", "REPLACE"
2984
+ # resp.job.operation.s3_put_object_copy.annotation_directive #=> String, one of "COPY", "EXCLUDE"
2973
2985
  # resp.job.operation.s3_put_object_copy.modified_since_constraint #=> Time
2974
2986
  # resp.job.operation.s3_put_object_copy.new_object_metadata.cache_control #=> String
2975
2987
  # resp.job.operation.s3_put_object_copy.new_object_metadata.content_disposition #=> String
@@ -2997,6 +3009,9 @@ module Aws::S3Control
2997
3009
  # resp.job.operation.s3_put_object_copy.object_lock_retain_until_date #=> Time
2998
3010
  # resp.job.operation.s3_put_object_copy.bucket_key_enabled #=> Boolean
2999
3011
  # resp.job.operation.s3_put_object_copy.checksum_algorithm #=> String, one of "CRC32", "CRC32C", "SHA1", "SHA256", "CRC64NVME", "SHA512", "MD5", "XXHASH64", "XXHASH3", "XXHASH128"
3012
+ # resp.job.operation.s3_put_object_copy.object_lock_event_hold #=> String, one of "ON", "OFF"
3013
+ # resp.job.operation.s3_put_object_copy.object_lock_event_hold_duration.days #=> Integer
3014
+ # resp.job.operation.s3_put_object_copy.object_lock_event_hold_duration.years #=> Integer
3000
3015
  # resp.job.operation.s3_put_object_acl.access_control_policy.access_control_list.owner.id #=> String
3001
3016
  # resp.job.operation.s3_put_object_acl.access_control_policy.access_control_list.owner.display_name #=> String
3002
3017
  # resp.job.operation.s3_put_object_acl.access_control_policy.access_control_list.grants #=> Array
@@ -3014,6 +3029,9 @@ module Aws::S3Control
3014
3029
  # resp.job.operation.s3_put_object_retention.bypass_governance_retention #=> Boolean
3015
3030
  # resp.job.operation.s3_put_object_retention.retention.retain_until_date #=> Time
3016
3031
  # resp.job.operation.s3_put_object_retention.retention.mode #=> String, one of "COMPLIANCE", "GOVERNANCE"
3032
+ # resp.job.operation.s3_put_object_retention.retention.event_hold #=> String, one of "ON", "OFF"
3033
+ # resp.job.operation.s3_put_object_retention.retention.event_hold_duration.days #=> Integer
3034
+ # resp.job.operation.s3_put_object_retention.retention.event_hold_duration.years #=> Integer
3017
3035
  # resp.job.operation.s3_compute_object_checksum.checksum_algorithm #=> String, one of "CRC32", "CRC32C", "CRC64NVME", "MD5", "SHA1", "SHA256", "SHA512", "XXHASH64", "XXHASH3", "XXHASH128"
3018
3036
  # resp.job.operation.s3_compute_object_checksum.checksum_type #=> String, one of "FULL_OBJECT", "COMPOSITE"
3019
3037
  # resp.job.operation.s3_update_object_encryption.object_encryption.ssekms.kms_key_arn #=> String
@@ -8218,7 +8236,7 @@ module Aws::S3Control
8218
8236
  tracer: tracer
8219
8237
  )
8220
8238
  context[:gem_name] = 'aws-sdk-s3control'
8221
- context[:gem_version] = '1.134.0'
8239
+ context[:gem_version] = '1.136.0'
8222
8240
  Seahorse::Client::Request.new(handlers, context)
8223
8241
  end
8224
8242
 
@@ -435,6 +435,7 @@ module Aws::S3Control
435
435
  S3AccessControlList = Shapes::StructureShape.new(name: 'S3AccessControlList')
436
436
  S3AccessControlPolicy = Shapes::StructureShape.new(name: 'S3AccessControlPolicy')
437
437
  S3AccessPointArn = Shapes::StringShape.new(name: 'S3AccessPointArn')
438
+ S3AnnotationDirective = Shapes::StringShape.new(name: 'S3AnnotationDirective')
438
439
  S3BucketArnString = Shapes::StringShape.new(name: 'S3BucketArnString')
439
440
  S3BucketDestination = Shapes::StructureShape.new(name: 'S3BucketDestination')
440
441
  S3CannedAccessControlList = Shapes::StringShape.new(name: 'S3CannedAccessControlList')
@@ -455,9 +456,17 @@ module Aws::S3Control
455
456
  S3KeyArnString = Shapes::StringShape.new(name: 'S3KeyArnString')
456
457
  S3ManifestOutputLocation = Shapes::StructureShape.new(name: 'S3ManifestOutputLocation')
457
458
  S3MetadataDirective = Shapes::StringShape.new(name: 'S3MetadataDirective')
459
+ S3ObjectLockEventHold = Shapes::StringShape.new(name: 'S3ObjectLockEventHold')
460
+ S3ObjectLockEventHoldDuration = Shapes::StructureShape.new(name: 'S3ObjectLockEventHoldDuration')
461
+ S3ObjectLockEventHoldDurationDays = Shapes::IntegerShape.new(name: 'S3ObjectLockEventHoldDurationDays')
462
+ S3ObjectLockEventHoldDurationYears = Shapes::IntegerShape.new(name: 'S3ObjectLockEventHoldDurationYears')
458
463
  S3ObjectLockLegalHold = Shapes::StructureShape.new(name: 'S3ObjectLockLegalHold')
459
464
  S3ObjectLockLegalHoldStatus = Shapes::StringShape.new(name: 'S3ObjectLockLegalHoldStatus')
460
465
  S3ObjectLockMode = Shapes::StringShape.new(name: 'S3ObjectLockMode')
466
+ S3ObjectLockRetentionEventHold = Shapes::StringShape.new(name: 'S3ObjectLockRetentionEventHold')
467
+ S3ObjectLockRetentionEventHoldDuration = Shapes::StructureShape.new(name: 'S3ObjectLockRetentionEventHoldDuration')
468
+ S3ObjectLockRetentionEventHoldDurationDays = Shapes::IntegerShape.new(name: 'S3ObjectLockRetentionEventHoldDurationDays')
469
+ S3ObjectLockRetentionEventHoldDurationYears = Shapes::IntegerShape.new(name: 'S3ObjectLockRetentionEventHoldDurationYears')
461
470
  S3ObjectLockRetentionMode = Shapes::StringShape.new(name: 'S3ObjectLockRetentionMode')
462
471
  S3ObjectMetadata = Shapes::StructureShape.new(name: 'S3ObjectMetadata')
463
472
  S3ObjectOwner = Shapes::StructureShape.new(name: 'S3ObjectOwner')
@@ -1854,6 +1863,7 @@ module Aws::S3Control
1854
1863
  S3CopyObjectOperation.add_member(:canned_access_control_list, Shapes::ShapeRef.new(shape: S3CannedAccessControlList, location_name: "CannedAccessControlList", metadata: {"box" => true}))
1855
1864
  S3CopyObjectOperation.add_member(:access_control_grants, Shapes::ShapeRef.new(shape: S3GrantList, location_name: "AccessControlGrants", metadata: {"box" => true}))
1856
1865
  S3CopyObjectOperation.add_member(:metadata_directive, Shapes::ShapeRef.new(shape: S3MetadataDirective, location_name: "MetadataDirective"))
1866
+ S3CopyObjectOperation.add_member(:annotation_directive, Shapes::ShapeRef.new(shape: S3AnnotationDirective, location_name: "AnnotationDirective"))
1857
1867
  S3CopyObjectOperation.add_member(:modified_since_constraint, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "ModifiedSinceConstraint"))
1858
1868
  S3CopyObjectOperation.add_member(:new_object_metadata, Shapes::ShapeRef.new(shape: S3ObjectMetadata, location_name: "NewObjectMetadata"))
1859
1869
  S3CopyObjectOperation.add_member(:new_object_tagging, Shapes::ShapeRef.new(shape: S3TagSet, location_name: "NewObjectTagging"))
@@ -1868,6 +1878,8 @@ module Aws::S3Control
1868
1878
  S3CopyObjectOperation.add_member(:object_lock_retain_until_date, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "ObjectLockRetainUntilDate"))
1869
1879
  S3CopyObjectOperation.add_member(:bucket_key_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "BucketKeyEnabled"))
1870
1880
  S3CopyObjectOperation.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: S3ChecksumAlgorithm, location_name: "ChecksumAlgorithm"))
1881
+ S3CopyObjectOperation.add_member(:object_lock_event_hold, Shapes::ShapeRef.new(shape: S3ObjectLockEventHold, location_name: "ObjectLockEventHold"))
1882
+ S3CopyObjectOperation.add_member(:object_lock_event_hold_duration, Shapes::ShapeRef.new(shape: S3ObjectLockEventHoldDuration, location_name: "ObjectLockEventHoldDuration"))
1871
1883
  S3CopyObjectOperation.struct_class = Types::S3CopyObjectOperation
1872
1884
 
1873
1885
  S3DeleteObjectTaggingOperation.struct_class = Types::S3DeleteObjectTaggingOperation
@@ -1905,9 +1917,17 @@ module Aws::S3Control
1905
1917
  S3ManifestOutputLocation.add_member(:manifest_format, Shapes::ShapeRef.new(shape: GeneratedManifestFormat, required: true, location_name: "ManifestFormat"))
1906
1918
  S3ManifestOutputLocation.struct_class = Types::S3ManifestOutputLocation
1907
1919
 
1920
+ S3ObjectLockEventHoldDuration.add_member(:days, Shapes::ShapeRef.new(shape: S3ObjectLockEventHoldDurationDays, location_name: "Days", metadata: {"box" => true}))
1921
+ S3ObjectLockEventHoldDuration.add_member(:years, Shapes::ShapeRef.new(shape: S3ObjectLockEventHoldDurationYears, location_name: "Years", metadata: {"box" => true}))
1922
+ S3ObjectLockEventHoldDuration.struct_class = Types::S3ObjectLockEventHoldDuration
1923
+
1908
1924
  S3ObjectLockLegalHold.add_member(:status, Shapes::ShapeRef.new(shape: S3ObjectLockLegalHoldStatus, required: true, location_name: "Status"))
1909
1925
  S3ObjectLockLegalHold.struct_class = Types::S3ObjectLockLegalHold
1910
1926
 
1927
+ S3ObjectLockRetentionEventHoldDuration.add_member(:days, Shapes::ShapeRef.new(shape: S3ObjectLockRetentionEventHoldDurationDays, location_name: "Days", metadata: {"box" => true}))
1928
+ S3ObjectLockRetentionEventHoldDuration.add_member(:years, Shapes::ShapeRef.new(shape: S3ObjectLockRetentionEventHoldDurationYears, location_name: "Years", metadata: {"box" => true}))
1929
+ S3ObjectLockRetentionEventHoldDuration.struct_class = Types::S3ObjectLockRetentionEventHoldDuration
1930
+
1911
1931
  S3ObjectMetadata.add_member(:cache_control, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location_name: "CacheControl"))
1912
1932
  S3ObjectMetadata.add_member(:content_disposition, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location_name: "ContentDisposition"))
1913
1933
  S3ObjectMetadata.add_member(:content_encoding, Shapes::ShapeRef.new(shape: NonEmptyMaxLength1024String, location_name: "ContentEncoding"))
@@ -1929,6 +1949,8 @@ module Aws::S3Control
1929
1949
 
1930
1950
  S3Retention.add_member(:retain_until_date, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "RetainUntilDate"))
1931
1951
  S3Retention.add_member(:mode, Shapes::ShapeRef.new(shape: S3ObjectLockRetentionMode, location_name: "Mode"))
1952
+ S3Retention.add_member(:event_hold, Shapes::ShapeRef.new(shape: S3ObjectLockRetentionEventHold, location_name: "EventHold"))
1953
+ S3Retention.add_member(:event_hold_duration, Shapes::ShapeRef.new(shape: S3ObjectLockRetentionEventHoldDuration, location_name: "EventHoldDuration"))
1932
1954
  S3Retention.struct_class = Types::S3Retention
1933
1955
 
1934
1956
  S3SetObjectAclOperation.add_member(:access_control_policy, Shapes::ShapeRef.new(shape: S3AccessControlPolicy, location_name: "AccessControlPolicy"))
@@ -7416,6 +7416,18 @@ module Aws::S3Control
7416
7416
  # @!attribute [rw] metadata_directive
7417
7417
  # @return [String]
7418
7418
  #
7419
+ # @!attribute [rw] annotation_directive
7420
+ # Specifies whether the Batch Operations copy job copies object
7421
+ # annotations from the source object or skips them. If this property
7422
+ # isn't specified, `COPY` is the default behavior.
7423
+ #
7424
+ # Valid Values: `COPY | EXCLUDE`
7425
+ #
7426
+ # <note markdown="1"> This functionality is not supported by directory buckets.
7427
+ #
7428
+ # </note>
7429
+ # @return [String]
7430
+ #
7419
7431
  # @!attribute [rw] modified_since_constraint
7420
7432
  # @return [Time]
7421
7433
  #
@@ -7569,6 +7581,26 @@ module Aws::S3Control
7569
7581
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
7570
7582
  # @return [String]
7571
7583
  #
7584
+ # @!attribute [rw] object_lock_event_hold
7585
+ # The event hold status to be applied to all objects in the Batch
7586
+ # Operations copy job. Set to `ON` to enable an event hold or `OFF` to
7587
+ # disable it.
7588
+ #
7589
+ # <note markdown="1"> This functionality is not supported by directory buckets.
7590
+ #
7591
+ # </note>
7592
+ # @return [String]
7593
+ #
7594
+ # @!attribute [rw] object_lock_event_hold_duration
7595
+ # The event hold duration to be applied to all objects in the Batch
7596
+ # Operations copy job. The duration specifies how long the object
7597
+ # remains protected after the event hold is released.
7598
+ #
7599
+ # <note markdown="1"> This functionality is not supported by directory buckets.
7600
+ #
7601
+ # </note>
7602
+ # @return [Types::S3ObjectLockEventHoldDuration]
7603
+ #
7572
7604
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3CopyObjectOperation AWS API Documentation
7573
7605
  #
7574
7606
  class S3CopyObjectOperation < Struct.new(
@@ -7576,6 +7608,7 @@ module Aws::S3Control
7576
7608
  :canned_access_control_list,
7577
7609
  :access_control_grants,
7578
7610
  :metadata_directive,
7611
+ :annotation_directive,
7579
7612
  :modified_since_constraint,
7580
7613
  :new_object_metadata,
7581
7614
  :new_object_tagging,
@@ -7589,7 +7622,9 @@ module Aws::S3Control
7589
7622
  :object_lock_mode,
7590
7623
  :object_lock_retain_until_date,
7591
7624
  :bucket_key_enabled,
7592
- :checksum_algorithm)
7625
+ :checksum_algorithm,
7626
+ :object_lock_event_hold,
7627
+ :object_lock_event_hold_duration)
7593
7628
  SENSITIVE = []
7594
7629
  include Aws::Structure
7595
7630
  end
@@ -7712,10 +7747,10 @@ module Aws::S3Control
7712
7747
  # The container for the service that will create the S3 manifest.
7713
7748
  #
7714
7749
  # @!attribute [rw] expected_bucket_owner
7715
- # The Amazon Web Services account ID that owns the bucket the
7716
- # generated manifest is written to. If provided the generated manifest
7717
- # bucket's owner Amazon Web Services account ID must match this
7718
- # value, else the job fails.
7750
+ # The Amazon Web Services account ID that owns the source bucket
7751
+ # specified in `SourceBucket`. If provided, the manifest source bucket
7752
+ # owner's Amazon Web Services account ID must match this value, else
7753
+ # the job fails.
7719
7754
  # @return [String]
7720
7755
  #
7721
7756
  # @!attribute [rw] source_bucket
@@ -7803,6 +7838,28 @@ module Aws::S3Control
7803
7838
  include Aws::Structure
7804
7839
  end
7805
7840
 
7841
+ # Contains the duration configuration for an event hold, specified in
7842
+ # either days or years.
7843
+ #
7844
+ # @!attribute [rw] days
7845
+ # The number of days for the event hold duration. The minimum value is
7846
+ # 1 and the maximum value is 36,500.
7847
+ # @return [Integer]
7848
+ #
7849
+ # @!attribute [rw] years
7850
+ # The number of years for the event hold duration. The minimum value
7851
+ # is 1 and the maximum value is 100.
7852
+ # @return [Integer]
7853
+ #
7854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3ObjectLockEventHoldDuration AWS API Documentation
7855
+ #
7856
+ class S3ObjectLockEventHoldDuration < Struct.new(
7857
+ :days,
7858
+ :years)
7859
+ SENSITIVE = []
7860
+ include Aws::Structure
7861
+ end
7862
+
7806
7863
  # Whether S3 Object Lock legal hold will be applied to objects in an S3
7807
7864
  # Batch Operations job.
7808
7865
  #
@@ -7819,6 +7876,28 @@ module Aws::S3Control
7819
7876
  include Aws::Structure
7820
7877
  end
7821
7878
 
7879
+ # Contains the duration configuration for an event hold, specified in
7880
+ # either days or years.
7881
+ #
7882
+ # @!attribute [rw] days
7883
+ # The number of days for the event hold duration. The minimum value is
7884
+ # 1 and the maximum value is 36,500.
7885
+ # @return [Integer]
7886
+ #
7887
+ # @!attribute [rw] years
7888
+ # The number of years for the event hold duration. The minimum value
7889
+ # is 1 and the maximum value is 100.
7890
+ # @return [Integer]
7891
+ #
7892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3ObjectLockRetentionEventHoldDuration AWS API Documentation
7893
+ #
7894
+ class S3ObjectLockRetentionEventHoldDuration < Struct.new(
7895
+ :days,
7896
+ :years)
7897
+ SENSITIVE = []
7898
+ include Aws::Structure
7899
+ end
7900
+
7822
7901
  # @!attribute [rw] cache_control
7823
7902
  # @return [String]
7824
7903
  #
@@ -7934,11 +8013,25 @@ module Aws::S3Control
7934
8013
  # Batch Operations job.
7935
8014
  # @return [String]
7936
8015
  #
8016
+ # @!attribute [rw] event_hold
8017
+ # The event hold status to be applied to all objects in the Batch
8018
+ # Operations job. Set to `ON` to enable an event hold or `OFF` to
8019
+ # disable it.
8020
+ # @return [String]
8021
+ #
8022
+ # @!attribute [rw] event_hold_duration
8023
+ # The event hold duration to be applied to all objects in the Batch
8024
+ # Operations job. The duration specifies how long the object remains
8025
+ # protected after the event hold is released.
8026
+ # @return [Types::S3ObjectLockRetentionEventHoldDuration]
8027
+ #
7937
8028
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/S3Retention AWS API Documentation
7938
8029
  #
7939
8030
  class S3Retention < Struct.new(
7940
8031
  :retain_until_date,
7941
- :mode)
8032
+ :mode,
8033
+ :event_hold,
8034
+ :event_hold_duration)
7942
8035
  SENSITIVE = []
7943
8036
  include Aws::Structure
7944
8037
  end
@@ -8244,12 +8337,8 @@ module Aws::S3Control
8244
8337
  # @return [Integer]
8245
8338
  #
8246
8339
  # @!attribute [rw] min_storage_bytes_percentage
8247
- # The minimum number of storage bytes percentage whose metrics will be
8248
- # selected.
8249
- #
8250
- # <note markdown="1"> You must choose a value greater than or equal to `1.0`.
8251
- #
8252
- # </note>
8340
+ # The minimum percentage of total bucket storage that a prefix must
8341
+ # hold for its metrics to be included.
8253
8342
  # @return [Float]
8254
8343
  #
8255
8344
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/SelectionCriteria AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::S3Control
54
54
  autoload :EndpointProvider, 'aws-sdk-s3control/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-s3control/endpoints'
56
56
 
57
- GEM_VERSION = '1.134.0'
57
+ GEM_VERSION = '1.136.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -254,6 +254,7 @@ module Aws
254
254
  Params::s3_grant
255
255
  ]?,
256
256
  metadata_directive: ("COPY" | "REPLACE")?,
257
+ annotation_directive: ("COPY" | "EXCLUDE")?,
257
258
  modified_since_constraint: ::Time?,
258
259
  new_object_metadata: {
259
260
  cache_control: ::String?,
@@ -284,7 +285,12 @@ module Aws
284
285
  object_lock_mode: ("COMPLIANCE" | "GOVERNANCE")?,
285
286
  object_lock_retain_until_date: ::Time?,
286
287
  bucket_key_enabled: bool?,
287
- checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128")?
288
+ checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128")?,
289
+ object_lock_event_hold: ("ON" | "OFF")?,
290
+ object_lock_event_hold_duration: {
291
+ days: ::Integer?,
292
+ years: ::Integer?
293
+ }?
288
294
  }?,
289
295
  s3_put_object_acl: {
290
296
  access_control_policy: {
@@ -323,7 +329,12 @@ module Aws
323
329
  bypass_governance_retention: bool?,
324
330
  retention: {
325
331
  retain_until_date: ::Time?,
326
- mode: ("COMPLIANCE" | "GOVERNANCE")?
332
+ mode: ("COMPLIANCE" | "GOVERNANCE")?,
333
+ event_hold: ("ON" | "OFF")?,
334
+ event_hold_duration: {
335
+ days: ::Integer?,
336
+ years: ::Integer?
337
+ }?
327
338
  }
328
339
  }?,
329
340
  s3_replicate_object: {
data/sig/types.rbs CHANGED
@@ -1734,6 +1734,7 @@ module Aws::S3Control
1734
1734
  attr_accessor canned_access_control_list: ("private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control")
1735
1735
  attr_accessor access_control_grants: ::Array[Types::S3Grant]
1736
1736
  attr_accessor metadata_directive: ("COPY" | "REPLACE")
1737
+ attr_accessor annotation_directive: ("COPY" | "EXCLUDE")
1737
1738
  attr_accessor modified_since_constraint: ::Time
1738
1739
  attr_accessor new_object_metadata: Types::S3ObjectMetadata
1739
1740
  attr_accessor new_object_tagging: ::Array[Types::S3Tag]
@@ -1748,6 +1749,8 @@ module Aws::S3Control
1748
1749
  attr_accessor object_lock_retain_until_date: ::Time
1749
1750
  attr_accessor bucket_key_enabled: bool
1750
1751
  attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128")
1752
+ attr_accessor object_lock_event_hold: ("ON" | "OFF")
1753
+ attr_accessor object_lock_event_hold_duration: Types::S3ObjectLockEventHoldDuration
1751
1754
  SENSITIVE: []
1752
1755
  end
1753
1756
 
@@ -1797,11 +1800,23 @@ module Aws::S3Control
1797
1800
  SENSITIVE: []
1798
1801
  end
1799
1802
 
1803
+ class S3ObjectLockEventHoldDuration
1804
+ attr_accessor days: ::Integer
1805
+ attr_accessor years: ::Integer
1806
+ SENSITIVE: []
1807
+ end
1808
+
1800
1809
  class S3ObjectLockLegalHold
1801
1810
  attr_accessor status: ("OFF" | "ON")
1802
1811
  SENSITIVE: []
1803
1812
  end
1804
1813
 
1814
+ class S3ObjectLockRetentionEventHoldDuration
1815
+ attr_accessor days: ::Integer
1816
+ attr_accessor years: ::Integer
1817
+ SENSITIVE: []
1818
+ end
1819
+
1805
1820
  class S3ObjectMetadata
1806
1821
  attr_accessor cache_control: ::String
1807
1822
  attr_accessor content_disposition: ::String
@@ -1829,6 +1844,8 @@ module Aws::S3Control
1829
1844
  class S3Retention
1830
1845
  attr_accessor retain_until_date: ::Time
1831
1846
  attr_accessor mode: ("COMPLIANCE" | "GOVERNANCE")
1847
+ attr_accessor event_hold: ("ON" | "OFF")
1848
+ attr_accessor event_hold_duration: Types::S3ObjectLockRetentionEventHoldDuration
1832
1849
  SENSITIVE: []
1833
1850
  end
1834
1851
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.134.0
4
+ version: 1.136.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.254.0
21
+ version: 3.255.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.254.0
31
+ version: 3.255.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement