aws-sdk-s3 1.244.0 → 1.245.1

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: 4eb7ef5665bc62a4d581e030417669a8feb1a7ea5965e6c5155db4219571b7b2
4
- data.tar.gz: 9e32fc7585c145ae9ff9096b7933e676125112aa80baafd8234faee5ecb5440d
3
+ metadata.gz: ec250d6f6f14cbff029cfddabf7c69dc92b5ff485e167c07c149c8d786fdac3a
4
+ data.tar.gz: e06d2e4951d230ebfc6ed906c48074f3c08158bfa8384a930b4cbed34bd284e2
5
5
  SHA512:
6
- metadata.gz: db83127dbad48ace894c62b82be07a1c05e600f3dca1a2b5a5456bd7b31ead1a10aee3332202d7672572187bb863e38edc68c944331d737a4b8e223762cb1f7d
7
- data.tar.gz: 7ca4ac0eae5809cf90b3408e92de2ac8ecbb2c140097cda148c606be68faf221a0fbf23ad77bdf37932ef3818058e2849c3c0ac4f2398879a15f188798641735
6
+ metadata.gz: 8ba583b8b02b5a6742fb4656be51e160e0bef8d0ac2b3a18d06aa9f2e5389c9b68162c930411a0ed09070ec27de652e4e07f7c1febbbda4b16176a38394cf889
7
+ data.tar.gz: d62156921fae607a654ce7428d85e8a7ec5b8d95e81e871a56f829bfa57d078c57de29281a3098350c02f59635d6ab04455bd71bf18ee85f0438c8a0e6248d5e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.245.1 (2026-11-20)
5
+ ------------------
6
+
7
+ * Issue - Fix `upload_file` raising `NoMethodError` instead of `MultipartUploadError` on JRuby when several parts fail at the same time.
8
+
9
+ 1.245.0 (2026-11-18)
10
+ ------------------
11
+
12
+ * Feature - Adds exclusions and Multi-Region key resolution to S3 Replication. Rule filters support a Not element to exclude prefixes and object tags. Destination EncryptionConfiguration supports UseSourceMultiRegionKey to encrypt replicas with the related replica KMS multi-Region key in the destination Region.
13
+
4
14
  1.244.0 (2026-11-17)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.244.0
1
+ 1.245.1
@@ -9246,6 +9246,22 @@ module Aws::S3
9246
9246
  # resp.replication_configuration.rules[0].filter.and.tags #=> Array
9247
9247
  # resp.replication_configuration.rules[0].filter.and.tags[0].key #=> String
9248
9248
  # resp.replication_configuration.rules[0].filter.and.tags[0].value #=> String
9249
+ # resp.replication_configuration.rules[0].filter.and.not.prefix #=> String
9250
+ # resp.replication_configuration.rules[0].filter.and.not.tag.key #=> String
9251
+ # resp.replication_configuration.rules[0].filter.and.not.tag.value #=> String
9252
+ # resp.replication_configuration.rules[0].filter.and.not.or.prefixes #=> Array
9253
+ # resp.replication_configuration.rules[0].filter.and.not.or.prefixes[0] #=> String
9254
+ # resp.replication_configuration.rules[0].filter.and.not.or.tags #=> Array
9255
+ # resp.replication_configuration.rules[0].filter.and.not.or.tags[0].key #=> String
9256
+ # resp.replication_configuration.rules[0].filter.and.not.or.tags[0].value #=> String
9257
+ # resp.replication_configuration.rules[0].filter.not.prefix #=> String
9258
+ # resp.replication_configuration.rules[0].filter.not.tag.key #=> String
9259
+ # resp.replication_configuration.rules[0].filter.not.tag.value #=> String
9260
+ # resp.replication_configuration.rules[0].filter.not.or.prefixes #=> Array
9261
+ # resp.replication_configuration.rules[0].filter.not.or.prefixes[0] #=> String
9262
+ # resp.replication_configuration.rules[0].filter.not.or.tags #=> Array
9263
+ # resp.replication_configuration.rules[0].filter.not.or.tags[0].key #=> String
9264
+ # resp.replication_configuration.rules[0].filter.not.or.tags[0].value #=> String
9249
9265
  # resp.replication_configuration.rules[0].status #=> String, one of "Enabled", "Disabled"
9250
9266
  # resp.replication_configuration.rules[0].source_selection_criteria.sse_kms_encrypted_objects.status #=> String, one of "Enabled", "Disabled"
9251
9267
  # resp.replication_configuration.rules[0].source_selection_criteria.replica_modifications.status #=> String, one of "Enabled", "Disabled"
@@ -9255,6 +9271,7 @@ module Aws::S3
9255
9271
  # resp.replication_configuration.rules[0].destination.storage_class #=> String, one of "STANDARD", "REDUCED_REDUNDANCY", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_IR", "SNOW", "EXPRESS_ONEZONE", "FSX_OPENZFS", "FSX_ONTAP", "AWS_BACKUP_WARM", "AWS_BACKUP_LOW_COST_WARM"
9256
9272
  # resp.replication_configuration.rules[0].destination.access_control_translation.owner #=> String, one of "Destination"
9257
9273
  # resp.replication_configuration.rules[0].destination.encryption_configuration.replica_kms_key_id #=> String
9274
+ # resp.replication_configuration.rules[0].destination.encryption_configuration.use_source_multi_region_key.status #=> String, one of "Enabled", "Disabled"
9258
9275
  # resp.replication_configuration.rules[0].destination.replication_time.status #=> String, one of "Enabled", "Disabled"
9259
9276
  # resp.replication_configuration.rules[0].destination.replication_time.time.minutes #=> Integer
9260
9277
  # resp.replication_configuration.rules[0].destination.metrics.status #=> String, one of "Enabled", "Disabled"
@@ -17953,6 +17970,38 @@ module Aws::S3
17953
17970
  # value: "Value", # required
17954
17971
  # },
17955
17972
  # ],
17973
+ # not: {
17974
+ # prefix: "Prefix",
17975
+ # tag: {
17976
+ # key: "ObjectKey", # required
17977
+ # value: "Value", # required
17978
+ # },
17979
+ # or: {
17980
+ # prefixes: ["Prefix"],
17981
+ # tags: [
17982
+ # {
17983
+ # key: "ObjectKey", # required
17984
+ # value: "Value", # required
17985
+ # },
17986
+ # ],
17987
+ # },
17988
+ # },
17989
+ # },
17990
+ # not: {
17991
+ # prefix: "Prefix",
17992
+ # tag: {
17993
+ # key: "ObjectKey", # required
17994
+ # value: "Value", # required
17995
+ # },
17996
+ # or: {
17997
+ # prefixes: ["Prefix"],
17998
+ # tags: [
17999
+ # {
18000
+ # key: "ObjectKey", # required
18001
+ # value: "Value", # required
18002
+ # },
18003
+ # ],
18004
+ # },
17956
18005
  # },
17957
18006
  # },
17958
18007
  # status: "Enabled", # required, accepts Enabled, Disabled
@@ -17976,6 +18025,9 @@ module Aws::S3
17976
18025
  # },
17977
18026
  # encryption_configuration: {
17978
18027
  # replica_kms_key_id: "ReplicaKmsKeyID",
18028
+ # use_source_multi_region_key: {
18029
+ # status: "Enabled", # required, accepts Enabled, Disabled
18030
+ # },
17979
18031
  # },
17980
18032
  # replication_time: {
17981
18033
  # status: "Enabled", # required, accepts Enabled, Disabled
@@ -24226,7 +24278,7 @@ module Aws::S3
24226
24278
  tracer: tracer
24227
24279
  )
24228
24280
  context[:gem_name] = 'aws-sdk-s3'
24229
- context[:gem_version] = '1.244.0'
24281
+ context[:gem_version] = '1.245.1'
24230
24282
  Seahorse::Client::Request.new(handlers, context)
24231
24283
  end
24232
24284
 
@@ -607,9 +607,12 @@ module Aws::S3
607
607
  ReplicaModifications = Shapes::StructureShape.new(name: 'ReplicaModifications')
608
608
  ReplicaModificationsStatus = Shapes::StringShape.new(name: 'ReplicaModificationsStatus')
609
609
  ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
610
+ ReplicationPrefixList = Shapes::ListShape.new(name: 'ReplicationPrefixList')
610
611
  ReplicationRule = Shapes::StructureShape.new(name: 'ReplicationRule')
611
612
  ReplicationRuleAndOperator = Shapes::StructureShape.new(name: 'ReplicationRuleAndOperator')
612
613
  ReplicationRuleFilter = Shapes::StructureShape.new(name: 'ReplicationRuleFilter')
614
+ ReplicationRuleNotOperator = Shapes::StructureShape.new(name: 'ReplicationRuleNotOperator')
615
+ ReplicationRuleOrOperator = Shapes::StructureShape.new(name: 'ReplicationRuleOrOperator')
613
616
  ReplicationRuleStatus = Shapes::StringShape.new(name: 'ReplicationRuleStatus')
614
617
  ReplicationRules = Shapes::ListShape.new(name: 'ReplicationRules', flattened: true)
615
618
  ReplicationStatus = Shapes::StringShape.new(name: 'ReplicationStatus')
@@ -727,6 +730,8 @@ module Aws::S3
727
730
  UploadPartCopyRequest = Shapes::StructureShape.new(name: 'UploadPartCopyRequest')
728
731
  UploadPartOutput = Shapes::StructureShape.new(name: 'UploadPartOutput')
729
732
  UploadPartRequest = Shapes::StructureShape.new(name: 'UploadPartRequest')
733
+ UseSourceMultiRegionKey = Shapes::StructureShape.new(name: 'UseSourceMultiRegionKey')
734
+ UseSourceMultiRegionKeyStatus = Shapes::StringShape.new(name: 'UseSourceMultiRegionKeyStatus')
730
735
  UserMetadata = Shapes::ListShape.new(name: 'UserMetadata')
731
736
  Value = Shapes::StringShape.new(name: 'Value')
732
737
  VersionCount = Shapes::IntegerShape.new(name: 'VersionCount')
@@ -1364,6 +1369,7 @@ module Aws::S3
1364
1369
  Encryption.struct_class = Types::Encryption
1365
1370
 
1366
1371
  EncryptionConfiguration.add_member(:replica_kms_key_id, Shapes::ShapeRef.new(shape: ReplicaKmsKeyID, location_name: "ReplicaKmsKeyID"))
1372
+ EncryptionConfiguration.add_member(:use_source_multi_region_key, Shapes::ShapeRef.new(shape: UseSourceMultiRegionKey, location_name: "UseSourceMultiRegionKey"))
1367
1373
  EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
1368
1374
 
1369
1375
  EncryptionTypeList.member = Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType")
@@ -3013,6 +3019,8 @@ module Aws::S3
3013
3019
  ReplicationConfiguration.add_member(:rules, Shapes::ShapeRef.new(shape: ReplicationRules, required: true, location_name: "Rule"))
3014
3020
  ReplicationConfiguration.struct_class = Types::ReplicationConfiguration
3015
3021
 
3022
+ ReplicationPrefixList.member = Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix")
3023
+
3016
3024
  ReplicationRule.add_member(:id, Shapes::ShapeRef.new(shape: ID, location_name: "ID"))
3017
3025
  ReplicationRule.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, location_name: "Priority"))
3018
3026
  ReplicationRule.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, deprecated: true, location_name: "Prefix"))
@@ -3026,13 +3034,24 @@ module Aws::S3
3026
3034
 
3027
3035
  ReplicationRuleAndOperator.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
3028
3036
  ReplicationRuleAndOperator.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, location_name: "Tag", metadata: {"flattened" => true}))
3037
+ ReplicationRuleAndOperator.add_member(:not, Shapes::ShapeRef.new(shape: ReplicationRuleNotOperator, location_name: "Not"))
3029
3038
  ReplicationRuleAndOperator.struct_class = Types::ReplicationRuleAndOperator
3030
3039
 
3031
3040
  ReplicationRuleFilter.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
3032
3041
  ReplicationRuleFilter.add_member(:tag, Shapes::ShapeRef.new(shape: Tag, location_name: "Tag"))
3033
3042
  ReplicationRuleFilter.add_member(:and, Shapes::ShapeRef.new(shape: ReplicationRuleAndOperator, location_name: "And"))
3043
+ ReplicationRuleFilter.add_member(:not, Shapes::ShapeRef.new(shape: ReplicationRuleNotOperator, location_name: "Not"))
3034
3044
  ReplicationRuleFilter.struct_class = Types::ReplicationRuleFilter
3035
3045
 
3046
+ ReplicationRuleNotOperator.add_member(:prefix, Shapes::ShapeRef.new(shape: Prefix, location_name: "Prefix"))
3047
+ ReplicationRuleNotOperator.add_member(:tag, Shapes::ShapeRef.new(shape: Tag, location_name: "Tag"))
3048
+ ReplicationRuleNotOperator.add_member(:or, Shapes::ShapeRef.new(shape: ReplicationRuleOrOperator, location_name: "Or"))
3049
+ ReplicationRuleNotOperator.struct_class = Types::ReplicationRuleNotOperator
3050
+
3051
+ ReplicationRuleOrOperator.add_member(:prefixes, Shapes::ShapeRef.new(shape: ReplicationPrefixList, location_name: "Prefix", metadata: {"flattened" => true}))
3052
+ ReplicationRuleOrOperator.add_member(:tags, Shapes::ShapeRef.new(shape: TagSet, location_name: "Tag", metadata: {"flattened" => true}))
3053
+ ReplicationRuleOrOperator.struct_class = Types::ReplicationRuleOrOperator
3054
+
3036
3055
  ReplicationRules.member = Shapes::ShapeRef.new(shape: ReplicationRule)
3037
3056
 
3038
3057
  ReplicationTime.add_member(:status, Shapes::ShapeRef.new(shape: ReplicationTimeStatus, required: true, location_name: "Status"))
@@ -3379,6 +3398,9 @@ module Aws::S3
3379
3398
  UploadPartRequest[:payload] = :body
3380
3399
  UploadPartRequest[:payload_member] = UploadPartRequest.member(:body)
3381
3400
 
3401
+ UseSourceMultiRegionKey.add_member(:status, Shapes::ShapeRef.new(shape: UseSourceMultiRegionKeyStatus, required: true, location_name: "Status"))
3402
+ UseSourceMultiRegionKey.struct_class = Types::UseSourceMultiRegionKey
3403
+
3382
3404
  UserMetadata.member = Shapes::ShapeRef.new(shape: MetadataEntry, location_name: "MetadataEntry")
3383
3405
 
3384
3406
  VersioningConfiguration.add_member(:mfa_delete, Shapes::ShapeRef.new(shape: MFADelete, location_name: "MfaDelete"))
@@ -144,6 +144,7 @@ module Aws
144
144
  completion_queue = Queue.new
145
145
  abort_upload = false
146
146
  errors = []
147
+ mutex = Mutex.new
147
148
  progress = MultipartProgress.new(pending, options[:progress_callback])
148
149
 
149
150
  while (part = pending.shift)
@@ -160,7 +161,7 @@ module Aws
160
161
  # Any error, or the upload completes without this part.
161
162
  rescue Exception => e # rubocop:disable Lint/RescueException
162
163
  abort_upload = true
163
- errors << e
164
+ mutex.synchronize { errors << e }
164
165
  ensure
165
166
  p[:body].close
166
167
  Thread.current[:net_http_override_body_stream_chunk] = nil if @http_chunk_size
@@ -169,7 +170,7 @@ module Aws
169
170
  queued_parts += 1
170
171
  rescue StandardError => e
171
172
  # Rejected by the executor; abort rather than orphan the upload.
172
- errors << e
173
+ mutex.synchronize { errors << e }
173
174
  break
174
175
  end
175
176
  end
@@ -5329,10 +5329,11 @@ module Aws::S3
5329
5329
  # Specifies whether Amazon S3 replicates delete markers. If you specify
5330
5330
  # a `Filter` in your replication configuration, you must also include a
5331
5331
  # `DeleteMarkerReplication` element. If your `Filter` includes a `Tag`
5332
- # element, the `DeleteMarkerReplication` `Status` must be set to
5333
- # Disabled, because Amazon S3 does not support replicating delete
5334
- # markers for tag-based rules. For an example configuration, see [Basic
5335
- # Rule Configuration][1].
5332
+ # element, including within a `Not` or `Or` element, the
5333
+ # `DeleteMarkerReplication` `Status` must be set to Disabled, because
5334
+ # Amazon S3 does not support replicating delete markers for tag-based
5335
+ # rules. For an example configuration, see [Basic Rule
5336
+ # Configuration][1].
5336
5337
  #
5337
5338
  # For more information about delete marker replication, see [Basic Rule
5338
5339
  # Configuration][2].
@@ -6196,10 +6197,16 @@ module Aws::S3
6196
6197
  # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
6197
6198
  # @return [String]
6198
6199
  #
6200
+ # @!attribute [rw] use_source_multi_region_key
6201
+ # Specifies whether Amazon S3 uses the related multi-Region KMS key in
6202
+ # the destination Amazon Web Services Region to encrypt the replica.
6203
+ # @return [Types::UseSourceMultiRegionKey]
6204
+ #
6199
6205
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionConfiguration AWS API Documentation
6200
6206
  #
6201
6207
  class EncryptionConfiguration < Struct.new(
6202
- :replica_kms_key_id)
6208
+ :replica_kms_key_id,
6209
+ :use_source_multi_region_key)
6203
6210
  SENSITIVE = []
6204
6211
  include Aws::Structure
6205
6212
  end
@@ -19586,7 +19593,7 @@ module Aws::S3
19586
19593
  # @!attribute [rw] filter
19587
19594
  # A filter that identifies the subset of objects to which the
19588
19595
  # replication rule applies. A `Filter` must specify exactly one
19589
- # `Prefix`, `Tag`, or an `And` child element.
19596
+ # `Prefix`, `Tag`, `And`, or `Not` child element.
19590
19597
  # @return [Types::ReplicationRuleFilter]
19591
19598
  #
19592
19599
  # @!attribute [rw] status
@@ -19626,10 +19633,11 @@ module Aws::S3
19626
19633
  # Specifies whether Amazon S3 replicates delete markers. If you
19627
19634
  # specify a `Filter` in your replication configuration, you must also
19628
19635
  # include a `DeleteMarkerReplication` element. If your `Filter`
19629
- # includes a `Tag` element, the `DeleteMarkerReplication` `Status`
19630
- # must be set to Disabled, because Amazon S3 does not support
19631
- # replicating delete markers for tag-based rules. For an example
19632
- # configuration, see [Basic Rule Configuration][1].
19636
+ # includes a `Tag` element, including within a `Not` or `Or` element,
19637
+ # the `DeleteMarkerReplication` `Status` must be set to Disabled,
19638
+ # because Amazon S3 does not support replicating delete markers for
19639
+ # tag-based rules. For an example configuration, see [Basic Rule
19640
+ # Configuration][1].
19633
19641
  #
19634
19642
  # For more information about delete marker replication, see [Basic
19635
19643
  # Rule Configuration][2].
@@ -19684,18 +19692,24 @@ module Aws::S3
19684
19692
  # An array of tags containing key and value pairs.
19685
19693
  # @return [Array<Types::Tag>]
19686
19694
  #
19695
+ # @!attribute [rw] not
19696
+ # A container for specifying filters that exclude matching objects
19697
+ # from the replication rule.
19698
+ # @return [Types::ReplicationRuleNotOperator]
19699
+ #
19687
19700
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleAndOperator AWS API Documentation
19688
19701
  #
19689
19702
  class ReplicationRuleAndOperator < Struct.new(
19690
19703
  :prefix,
19691
- :tags)
19704
+ :tags,
19705
+ :not)
19692
19706
  SENSITIVE = []
19693
19707
  include Aws::Structure
19694
19708
  end
19695
19709
 
19696
19710
  # A filter that identifies the subset of objects to which the
19697
19711
  # replication rule applies. A `Filter` must specify exactly one
19698
- # `Prefix`, `Tag`, or an `And` child element.
19712
+ # `Prefix`, `Tag`, `And`, or `Not` child element.
19699
19713
  #
19700
19714
  # @!attribute [rw] prefix
19701
19715
  # An object key name prefix that identifies the subset of objects to
@@ -19728,12 +19742,67 @@ module Aws::S3
19728
19742
  # elements in an `And` tag.
19729
19743
  # @return [Types::ReplicationRuleAndOperator]
19730
19744
  #
19745
+ # @!attribute [rw] not
19746
+ # A container for specifying filters that exclude matching objects
19747
+ # from the replication rule.
19748
+ # @return [Types::ReplicationRuleNotOperator]
19749
+ #
19731
19750
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleFilter AWS API Documentation
19732
19751
  #
19733
19752
  class ReplicationRuleFilter < Struct.new(
19734
19753
  :prefix,
19735
19754
  :tag,
19736
- :and)
19755
+ :and,
19756
+ :not)
19757
+ SENSITIVE = []
19758
+ include Aws::Structure
19759
+ end
19760
+
19761
+ # A container for specifying a filter that excludes matching objects
19762
+ # from the replication rule. Specify exactly one `Prefix`, `Tag`, or
19763
+ # `Or` child element.
19764
+ #
19765
+ # @!attribute [rw] prefix
19766
+ # An object key name prefix that identifies objects to exclude from
19767
+ # the replication rule.
19768
+ # @return [String]
19769
+ #
19770
+ # @!attribute [rw] tag
19771
+ # A tag key and value that identify objects to exclude from the
19772
+ # replication rule.
19773
+ # @return [Types::Tag]
19774
+ #
19775
+ # @!attribute [rw] or
19776
+ # A container for specifying prefixes and tags. An object is excluded
19777
+ # from the replication rule if it matches any of the specified
19778
+ # filters.
19779
+ # @return [Types::ReplicationRuleOrOperator]
19780
+ #
19781
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleNotOperator AWS API Documentation
19782
+ #
19783
+ class ReplicationRuleNotOperator < Struct.new(
19784
+ :prefix,
19785
+ :tag,
19786
+ :or)
19787
+ SENSITIVE = []
19788
+ include Aws::Structure
19789
+ end
19790
+
19791
+ # A container for specifying one or more prefix or tag filters.
19792
+ #
19793
+ # @!attribute [rw] prefixes
19794
+ # An array of object key name prefixes.
19795
+ # @return [Array<String>]
19796
+ #
19797
+ # @!attribute [rw] tags
19798
+ # An array of tags containing key and value pairs.
19799
+ # @return [Array<Types::Tag>]
19800
+ #
19801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleOrOperator AWS API Documentation
19802
+ #
19803
+ class ReplicationRuleOrOperator < Struct.new(
19804
+ :prefixes,
19805
+ :tags)
19737
19806
  SENSITIVE = []
19738
19807
  include Aws::Structure
19739
19808
  end
@@ -22460,6 +22529,22 @@ module Aws::S3
22460
22529
  include Aws::Structure
22461
22530
  end
22462
22531
 
22532
+ # A container for configuring the use of the related multi-Region KMS
22533
+ # key in the destination Amazon Web Services Region for replication.
22534
+ #
22535
+ # @!attribute [rw] status
22536
+ # Specifies whether Amazon S3 uses the related multi-Region KMS key in
22537
+ # the destination Amazon Web Services Region to encrypt the replica.
22538
+ # @return [String]
22539
+ #
22540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UseSourceMultiRegionKey AWS API Documentation
22541
+ #
22542
+ class UseSourceMultiRegionKey < Struct.new(
22543
+ :status)
22544
+ SENSITIVE = []
22545
+ include Aws::Structure
22546
+ end
22547
+
22463
22548
  # Describes the versioning state of an Amazon S3 bucket. For more
22464
22549
  # information, see [PUT Bucket versioning][1] in the *Amazon S3 API
22465
22550
  # Reference*.
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.244.0'
78
+ GEM_VERSION = '1.245.1'
79
79
 
80
80
  end
81
81
 
data/sig/client.rbs CHANGED
@@ -1973,8 +1973,10 @@ module Aws
1973
1973
  key: ::String,
1974
1974
  value: ::String
1975
1975
  }
1976
- ]?
1977
- }?
1976
+ ]?,
1977
+ not: Params::replication_rule_not_operator?
1978
+ }?,
1979
+ not: Params::replication_rule_not_operator?
1978
1980
  }?,
1979
1981
  status: ("Enabled" | "Disabled"),
1980
1982
  source_selection_criteria: {
@@ -1996,7 +1998,10 @@ module Aws
1996
1998
  owner: ("Destination")
1997
1999
  }?,
1998
2000
  encryption_configuration: {
1999
- replica_kms_key_id: ::String?
2001
+ replica_kms_key_id: ::String?,
2002
+ use_source_multi_region_key: {
2003
+ status: ("Enabled" | "Disabled")
2004
+ }?
2000
2005
  }?,
2001
2006
  replication_time: {
2002
2007
  status: ("Enabled" | "Disabled"),
data/sig/params.rbs CHANGED
@@ -40,6 +40,23 @@ module Aws
40
40
  }?
41
41
  }
42
42
 
43
+ type replication_rule_not_operator = {
44
+ prefix: ::String?,
45
+ tag: {
46
+ key: ::String,
47
+ value: ::String
48
+ }?,
49
+ or: {
50
+ prefixes: Array[::String]?,
51
+ tags: Array[
52
+ {
53
+ key: ::String,
54
+ value: ::String
55
+ }
56
+ ]?
57
+ }?
58
+ }
59
+
43
60
  type csv_input = {
44
61
  file_header_info: ("USE" | "IGNORE" | "NONE")?,
45
62
  comments: ::String?,
data/sig/types.rbs CHANGED
@@ -763,6 +763,7 @@ module Aws::S3
763
763
 
764
764
  class EncryptionConfiguration
765
765
  attr_accessor replica_kms_key_id: ::String
766
+ attr_accessor use_source_multi_region_key: Types::UseSourceMultiRegionKey
766
767
  SENSITIVE: []
767
768
  end
768
769
 
@@ -2743,6 +2744,7 @@ module Aws::S3
2743
2744
  class ReplicationRuleAndOperator
2744
2745
  attr_accessor prefix: ::String
2745
2746
  attr_accessor tags: ::Array[Types::Tag]
2747
+ attr_accessor not: Types::ReplicationRuleNotOperator
2746
2748
  SENSITIVE: []
2747
2749
  end
2748
2750
 
@@ -2750,6 +2752,20 @@ module Aws::S3
2750
2752
  attr_accessor prefix: ::String
2751
2753
  attr_accessor tag: Types::Tag
2752
2754
  attr_accessor and: Types::ReplicationRuleAndOperator
2755
+ attr_accessor not: Types::ReplicationRuleNotOperator
2756
+ SENSITIVE: []
2757
+ end
2758
+
2759
+ class ReplicationRuleNotOperator
2760
+ attr_accessor prefix: ::String
2761
+ attr_accessor tag: Types::Tag
2762
+ attr_accessor or: Types::ReplicationRuleOrOperator
2763
+ SENSITIVE: []
2764
+ end
2765
+
2766
+ class ReplicationRuleOrOperator
2767
+ attr_accessor prefixes: ::Array[::String]
2768
+ attr_accessor tags: ::Array[Types::Tag]
2753
2769
  SENSITIVE: []
2754
2770
  end
2755
2771
 
@@ -3157,6 +3173,11 @@ module Aws::S3
3157
3173
  SENSITIVE: [:sse_customer_key]
3158
3174
  end
3159
3175
 
3176
+ class UseSourceMultiRegionKey
3177
+ attr_accessor status: ("Enabled" | "Disabled")
3178
+ SENSITIVE: []
3179
+ end
3180
+
3160
3181
  class VersioningConfiguration
3161
3182
  attr_accessor mfa_delete: ("Enabled" | "Disabled")
3162
3183
  attr_accessor status: ("Enabled" | "Suspended")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.244.0
4
+ version: 1.245.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services