aws-sdk-s3 1.172.0 → 1.173.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.
@@ -128,6 +128,19 @@ module Aws::S3
128
128
  # denied).
129
129
  # @return [String]
130
130
  #
131
+ # @!attribute [rw] if_match_initiated_time
132
+ # If present, this header aborts an in progress multipart upload only
133
+ # if it was initiated on the provided timestamp. If the initiated
134
+ # timestamp of the multipart upload does not match the provided value,
135
+ # the operation returns a `412 Precondition Failed` error. If the
136
+ # initiated timestamp matches or if the multipart upload doesn’t
137
+ # exist, the operation returns a `204 Success (No Content)` response.
138
+ #
139
+ # <note markdown="1"> This functionality is only supported for directory buckets.
140
+ #
141
+ # </note>
142
+ # @return [Time]
143
+ #
131
144
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadRequest AWS API Documentation
132
145
  #
133
146
  class AbortMultipartUploadRequest < Struct.new(
@@ -135,7 +148,8 @@ module Aws::S3
135
148
  :key,
136
149
  :upload_id,
137
150
  :request_payer,
138
- :expected_bucket_owner)
151
+ :expected_bucket_owner,
152
+ :if_match_initiated_time)
139
153
  SENSITIVE = []
140
154
  include Aws::Structure
141
155
  end
@@ -3782,6 +3796,11 @@ module Aws::S3
3782
3796
  # you provide does not match the actual owner of the bucket, the
3783
3797
  # request fails with the HTTP status code `403 Forbidden` (access
3784
3798
  # denied).
3799
+ #
3800
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
3801
+ # supported for directory bucket lifecycle configurations.
3802
+ #
3803
+ # </note>
3785
3804
  # @return [String]
3786
3805
  #
3787
3806
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest AWS API Documentation
@@ -4199,6 +4218,52 @@ module Aws::S3
4199
4218
  # denied).
4200
4219
  # @return [String]
4201
4220
  #
4221
+ # @!attribute [rw] if_match
4222
+ # The `If-Match` header field makes the request method conditional on
4223
+ # ETags. If the ETag value does not match, the operation returns a
4224
+ # `412 Precondition Failed` error. If the ETag matches or if the
4225
+ # object doesn't exist, the operation will return a `204 Success (No
4226
+ # Content) response`.
4227
+ #
4228
+ # For more information about conditional requests, see [RFC 7232][1].
4229
+ #
4230
+ # <note markdown="1"> This functionality is only supported for directory buckets.
4231
+ #
4232
+ # </note>
4233
+ #
4234
+ #
4235
+ #
4236
+ # [1]: https://docs.aws.amazon.com/https:/tools.ietf.org/html/rfc7232
4237
+ # @return [String]
4238
+ #
4239
+ # @!attribute [rw] if_match_last_modified_time
4240
+ # If present, the object is deleted only if its modification times
4241
+ # matches the provided `Timestamp`. If the `Timestamp` values do not
4242
+ # match, the operation returns a `412 Precondition Failed` error. If
4243
+ # the `Timestamp` matches or if the object doesn’t exist, the
4244
+ # operation returns a `204 Success (No Content)` response.
4245
+ #
4246
+ # <note markdown="1"> This functionality is only supported for directory buckets.
4247
+ #
4248
+ # </note>
4249
+ # @return [Time]
4250
+ #
4251
+ # @!attribute [rw] if_match_size
4252
+ # If present, the object is deleted only if its size matches the
4253
+ # provided size in bytes. If the `Size` value does not match, the
4254
+ # operation returns a `412 Precondition Failed` error. If the `Size`
4255
+ # matches or if the object doesn’t exist, the operation returns a `204
4256
+ # Success (No Content)` response.
4257
+ #
4258
+ # <note markdown="1"> This functionality is only supported for directory buckets.
4259
+ #
4260
+ # </note>
4261
+ #
4262
+ # You can use the `If-Match`, `x-amz-if-match-last-modified-time` and
4263
+ # `x-amz-if-match-size` conditional headers in conjunction with
4264
+ # each-other or individually.
4265
+ # @return [Integer]
4266
+ #
4202
4267
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest AWS API Documentation
4203
4268
  #
4204
4269
  class DeleteObjectRequest < Struct.new(
@@ -4208,7 +4273,10 @@ module Aws::S3
4208
4273
  :version_id,
4209
4274
  :request_payer,
4210
4275
  :bypass_governance_retention,
4211
- :expected_bucket_owner)
4276
+ :expected_bucket_owner,
4277
+ :if_match,
4278
+ :if_match_last_modified_time,
4279
+ :if_match_size)
4212
4280
  SENSITIVE = []
4213
4281
  include Aws::Structure
4214
4282
  end
@@ -4684,6 +4752,14 @@ module Aws::S3
4684
4752
  include Aws::Structure
4685
4753
  end
4686
4754
 
4755
+ # The existing object was created with a different encryption type.
4756
+ # Subsequent write requests must include the appropriate encryption
4757
+ # parameters in the request or while creating the session.
4758
+ #
4759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionTypeMismatch AWS API Documentation
4760
+ #
4761
+ class EncryptionTypeMismatch < Aws::EmptyStructure; end
4762
+
4687
4763
  # A message that indicates the request is complete and no more messages
4688
4764
  # will be sent. You should not assume that the request is complete until
4689
4765
  # the client receives an `EndEvent`.
@@ -5867,6 +5943,11 @@ module Aws::S3
5867
5943
  # Indicates which default minimum object size behavior is applied to
5868
5944
  # the lifecycle configuration.
5869
5945
  #
5946
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
5947
+ # supported for directory bucket lifecycle configurations.
5948
+ #
5949
+ # </note>
5950
+ #
5870
5951
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
5871
5952
  # transition to any storage class by default.
5872
5953
  #
@@ -5899,6 +5980,11 @@ module Aws::S3
5899
5980
  # you provide does not match the actual owner of the bucket, the
5900
5981
  # request fails with the HTTP status code `403 Forbidden` (access
5901
5982
  # denied).
5983
+ #
5984
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
5985
+ # supported for directory bucket lifecycle configurations.
5986
+ #
5987
+ # </note>
5902
5988
  # @return [String]
5903
5989
  #
5904
5990
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest AWS API Documentation
@@ -6540,7 +6626,7 @@ module Aws::S3
6540
6626
  # @return [Boolean]
6541
6627
  #
6542
6628
  # @!attribute [rw] last_modified
6543
- # The creation date of the object.
6629
+ # Date and time when the object was last modified.
6544
6630
  # @return [Time]
6545
6631
  #
6546
6632
  # @!attribute [rw] version_id
@@ -9018,6 +9104,28 @@ module Aws::S3
9018
9104
  include Aws::Structure
9019
9105
  end
9020
9106
 
9107
+ # You may receive this error in multiple cases. Depending on the reason
9108
+ # for the error, you may receive one of the messages below:
9109
+ #
9110
+ # * Cannot specify both a write offset value and user-defined object
9111
+ # metadata for existing objects.
9112
+ #
9113
+ # * Checksum Type mismatch occurred, expected checksum Type: sha1,
9114
+ # actual checksum Type: crc32c.
9115
+ #
9116
+ # * Request body cannot be empty when 'write offset' is specified.
9117
+ #
9118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidRequest AWS API Documentation
9119
+ #
9120
+ class InvalidRequest < Aws::EmptyStructure; end
9121
+
9122
+ # The write offset value that you specified does not match the current
9123
+ # object size.
9124
+ #
9125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidWriteOffset AWS API Documentation
9126
+ #
9127
+ class InvalidWriteOffset < Aws::EmptyStructure; end
9128
+
9021
9129
  # Specifies the inventory configuration for an Amazon S3 bucket. For
9022
9130
  # more information, see [GET Bucket inventory][1] in the *Amazon S3 API
9023
9131
  # Reference*.
@@ -9292,6 +9400,11 @@ module Aws::S3
9292
9400
  # Indicates at what date the object is to be moved or deleted. The
9293
9401
  # date value must conform to the ISO 8601 format. The time is always
9294
9402
  # midnight UTC.
9403
+ #
9404
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9405
+ # supported for directory bucket lifecycle configurations.
9406
+ #
9407
+ # </note>
9295
9408
  # @return [Time]
9296
9409
  #
9297
9410
  # @!attribute [rw] days
@@ -9304,6 +9417,11 @@ module Aws::S3
9304
9417
  # noncurrent versions. If set to true, the delete marker will be
9305
9418
  # expired; if set to false the policy takes no action. This cannot be
9306
9419
  # specified with Days or Date in a Lifecycle Expiration Policy.
9420
+ #
9421
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9422
+ # supported for directory bucket lifecycle configurations.
9423
+ #
9424
+ # </note>
9307
9425
  # @return [Boolean]
9308
9426
  #
9309
9427
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration AWS API Documentation
@@ -9353,6 +9471,10 @@ module Aws::S3
9353
9471
  # applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
9354
9472
  # `And` specified. `Filter` is required if the `LifecycleRule` does
9355
9473
  # not contain a `Prefix` element.
9474
+ #
9475
+ # <note markdown="1"> `Tag` filters are not supported for directory buckets.
9476
+ #
9477
+ # </note>
9356
9478
  # @return [Types::LifecycleRuleFilter]
9357
9479
  #
9358
9480
  # @!attribute [rw] status
@@ -9363,6 +9485,11 @@ module Aws::S3
9363
9485
  # @!attribute [rw] transitions
9364
9486
  # Specifies when an Amazon S3 object transitions to a specified
9365
9487
  # storage class.
9488
+ #
9489
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9490
+ # supported for directory bucket lifecycle configurations.
9491
+ #
9492
+ # </note>
9366
9493
  # @return [Array<Types::Transition>]
9367
9494
  #
9368
9495
  # @!attribute [rw] noncurrent_version_transitions
@@ -9372,6 +9499,11 @@ module Aws::S3
9372
9499
  # can set this action to request that Amazon S3 transition noncurrent
9373
9500
  # object versions to a specific storage class at a set period in the
9374
9501
  # object's lifetime.
9502
+ #
9503
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9504
+ # supported for directory bucket lifecycle configurations.
9505
+ #
9506
+ # </note>
9375
9507
  # @return [Array<Types::NoncurrentVersionTransition>]
9376
9508
  #
9377
9509
  # @!attribute [rw] noncurrent_version_expiration
@@ -9381,6 +9513,11 @@ module Aws::S3
9381
9513
  # versioning enabled (or suspended) to request that Amazon S3 delete
9382
9514
  # noncurrent object versions at a specific period in the object's
9383
9515
  # lifetime.
9516
+ #
9517
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9518
+ # supported for directory bucket lifecycle configurations.
9519
+ #
9520
+ # </note>
9384
9521
  # @return [Types::NoncurrentVersionExpiration]
9385
9522
  #
9386
9523
  # @!attribute [rw] abort_incomplete_multipart_upload
@@ -9464,6 +9601,11 @@ module Aws::S3
9464
9601
  # @!attribute [rw] tag
9465
9602
  # This tag must exist in the object's tag set in order for the rule
9466
9603
  # to apply.
9604
+ #
9605
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9606
+ # supported for directory bucket lifecycle configurations.
9607
+ #
9608
+ # </note>
9467
9609
  # @return [Types::Tag]
9468
9610
  #
9469
9611
  # @!attribute [rw] object_size_greater_than
@@ -11559,6 +11701,11 @@ module Aws::S3
11559
11701
  # enabled (or suspended) to request that Amazon S3 delete noncurrent
11560
11702
  # object versions at a specific period in the object's lifetime.
11561
11703
  #
11704
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
11705
+ # supported for directory bucket lifecycle configurations.
11706
+ #
11707
+ # </note>
11708
+ #
11562
11709
  # @!attribute [rw] noncurrent_days
11563
11710
  # Specifies the number of days an object is noncurrent before Amazon
11564
11711
  # S3 can perform the associated action. The value must be a non-zero
@@ -11566,6 +11713,11 @@ module Aws::S3
11566
11713
  # calculations, see [How Amazon S3 Calculates When an Object Became
11567
11714
  # Noncurrent][1] in the *Amazon S3 User Guide*.
11568
11715
  #
11716
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
11717
+ # supported for directory bucket lifecycle configurations.
11718
+ #
11719
+ # </note>
11720
+ #
11569
11721
  #
11570
11722
  #
11571
11723
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations
@@ -11579,6 +11731,11 @@ module Aws::S3
11579
11731
  # versions, see [Lifecycle configuration elements][1] in the *Amazon
11580
11732
  # S3 User Guide*.
11581
11733
  #
11734
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
11735
+ # supported for directory bucket lifecycle configurations.
11736
+ #
11737
+ # </note>
11738
+ #
11582
11739
  #
11583
11740
  #
11584
11741
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
@@ -11849,11 +12006,43 @@ module Aws::S3
11849
12006
  # </note>
11850
12007
  # @return [String]
11851
12008
  #
12009
+ # @!attribute [rw] etag
12010
+ # An entity tag (ETag) is an identifier assigned by a web server to a
12011
+ # specific version of a resource found at a URL. This header field
12012
+ # makes the request method conditional on `ETags`.
12013
+ #
12014
+ # <note markdown="1"> Entity tags (ETags) for S3 Express One Zone are random alphanumeric
12015
+ # strings unique to the object.
12016
+ #
12017
+ # </note>
12018
+ # @return [String]
12019
+ #
12020
+ # @!attribute [rw] last_modified_time
12021
+ # If present, the objects are deleted only if its modification times
12022
+ # matches the provided `Timestamp`.
12023
+ #
12024
+ # <note markdown="1"> This functionality is only supported for directory buckets.
12025
+ #
12026
+ # </note>
12027
+ # @return [Time]
12028
+ #
12029
+ # @!attribute [rw] size
12030
+ # If present, the objects are deleted only if its size matches the
12031
+ # provided size in bytes.
12032
+ #
12033
+ # <note markdown="1"> This functionality is only supported for directory buckets.
12034
+ #
12035
+ # </note>
12036
+ # @return [Integer]
12037
+ #
11852
12038
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier AWS API Documentation
11853
12039
  #
11854
12040
  class ObjectIdentifier < Struct.new(
11855
12041
  :key,
11856
- :version_id)
12042
+ :version_id,
12043
+ :etag,
12044
+ :last_modified_time,
12045
+ :size)
11857
12046
  SENSITIVE = []
11858
12047
  include Aws::Structure
11859
12048
  end
@@ -12849,6 +13038,11 @@ module Aws::S3
12849
13038
  # Indicates which default minimum object size behavior is applied to
12850
13039
  # the lifecycle configuration.
12851
13040
  #
13041
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
13042
+ # supported for directory bucket lifecycle configurations.
13043
+ #
13044
+ # </note>
13045
+ #
12852
13046
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
12853
13047
  # transition to any storage class by default.
12854
13048
  #
@@ -12901,12 +13095,22 @@ module Aws::S3
12901
13095
  # you provide does not match the actual owner of the bucket, the
12902
13096
  # request fails with the HTTP status code `403 Forbidden` (access
12903
13097
  # denied).
13098
+ #
13099
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
13100
+ # supported for directory bucket lifecycle configurations.
13101
+ #
13102
+ # </note>
12904
13103
  # @return [String]
12905
13104
  #
12906
13105
  # @!attribute [rw] transition_default_minimum_object_size
12907
13106
  # Indicates which default minimum object size behavior is applied to
12908
13107
  # the lifecycle configuration.
12909
13108
  #
13109
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
13110
+ # supported for directory bucket lifecycle configurations.
13111
+ #
13112
+ # </note>
13113
+ #
12910
13114
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
12911
13115
  # transition to any storage class by default.
12912
13116
  #
@@ -14157,6 +14361,16 @@ module Aws::S3
14157
14361
  # (SSE-KMS).
14158
14362
  # @return [Boolean]
14159
14363
  #
14364
+ # @!attribute [rw] size
14365
+ # The size of the object in bytes. This will only be present if you
14366
+ # append to an object.
14367
+ #
14368
+ # <note markdown="1"> This functionality is only supported for objects in the Amazon S3
14369
+ # Express One Zone storage class in directory buckets.
14370
+ #
14371
+ # </note>
14372
+ # @return [Integer]
14373
+ #
14160
14374
  # @!attribute [rw] request_charged
14161
14375
  # If present, indicates that the requester was successfully charged
14162
14376
  # for the request.
@@ -14182,6 +14396,7 @@ module Aws::S3
14182
14396
  :ssekms_key_id,
14183
14397
  :ssekms_encryption_context,
14184
14398
  :bucket_key_enabled,
14399
+ :size,
14185
14400
  :request_charged)
14186
14401
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
14187
14402
  include Aws::Structure
@@ -14529,6 +14744,18 @@ module Aws::S3
14529
14744
  # Object key for which the PUT action was initiated.
14530
14745
  # @return [String]
14531
14746
  #
14747
+ # @!attribute [rw] write_offset_bytes
14748
+ # Specifies the offset for appending data to existing objects in
14749
+ # bytes. The offset must be equal to the size of the existing object
14750
+ # being appended to. If no object exists, setting this header to 0
14751
+ # will create a new object.
14752
+ #
14753
+ # <note markdown="1"> This functionality is only supported for objects in the Amazon S3
14754
+ # Express One Zone storage class in directory buckets.
14755
+ #
14756
+ # </note>
14757
+ # @return [Integer]
14758
+ #
14532
14759
  # @!attribute [rw] metadata
14533
14760
  # A map of metadata to store with the object in S3.
14534
14761
  # @return [Hash<String,String>]
@@ -14861,6 +15088,7 @@ module Aws::S3
14861
15088
  :grant_read_acp,
14862
15089
  :grant_write_acp,
14863
15090
  :key,
15091
+ :write_offset_bytes,
14864
15092
  :metadata,
14865
15093
  :server_side_encryption,
14866
15094
  :storage_class,
@@ -16002,6 +16230,11 @@ module Aws::S3
16002
16230
  # versioning enabled (or suspended) to request that Amazon S3 delete
16003
16231
  # noncurrent object versions at a specific period in the object's
16004
16232
  # lifetime.
16233
+ #
16234
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
16235
+ # supported for directory bucket lifecycle configurations.
16236
+ #
16237
+ # </note>
16005
16238
  # @return [Types::NoncurrentVersionExpiration]
16006
16239
  #
16007
16240
  # @!attribute [rw] abort_incomplete_multipart_upload
@@ -16797,6 +17030,15 @@ module Aws::S3
16797
17030
  include Aws::Structure
16798
17031
  end
16799
17032
 
17033
+ # You have attempted to add more parts than the maximum of 10000 that
17034
+ # are allowed for this object. You can use the CopyObject operation to
17035
+ # copy this object to another and then add more data to the newly copied
17036
+ # object.
17037
+ #
17038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TooManyParts AWS API Documentation
17039
+ #
17040
+ class TooManyParts < Aws::EmptyStructure; end
17041
+
16800
17042
  # A container for specifying the configuration for publication of
16801
17043
  # messages to an Amazon Simple Notification Service (Amazon SNS) topic
16802
17044
  # when Amazon S3 detects specified events.
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.172.0'
78
+ GEM_VERSION = '1.173.0'
79
79
 
80
80
  end
81
81
 
data/sig/bucket.rbs CHANGED
@@ -80,7 +80,10 @@ module Aws
80
80
  objects: Array[
81
81
  {
82
82
  key: ::String,
83
- version_id: ::String?
83
+ version_id: ::String?,
84
+ etag: ::String?,
85
+ last_modified_time: ::Time?,
86
+ size: ::Integer?
84
87
  },
85
88
  ],
86
89
  quiet: bool?
@@ -116,6 +119,7 @@ module Aws
116
119
  ?grant_read_acp: ::String,
117
120
  ?grant_write_acp: ::String,
118
121
  key: ::String,
122
+ ?write_offset_bytes: ::Integer,
119
123
  ?metadata: Hash[::String, ::String],
120
124
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
121
125
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
data/sig/client.rbs CHANGED
@@ -100,7 +100,8 @@ module Aws
100
100
  key: ::String,
101
101
  upload_id: ::String,
102
102
  ?request_payer: ("requester"),
103
- ?expected_bucket_owner: ::String
103
+ ?expected_bucket_owner: ::String,
104
+ ?if_match_initiated_time: ::Time
104
105
  ) -> _AbortMultipartUploadResponseSuccess
105
106
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AbortMultipartUploadResponseSuccess
106
107
 
@@ -418,7 +419,10 @@ module Aws
418
419
  ?version_id: ::String,
419
420
  ?request_payer: ("requester"),
420
421
  ?bypass_governance_retention: bool,
421
- ?expected_bucket_owner: ::String
422
+ ?expected_bucket_owner: ::String,
423
+ ?if_match: ::String,
424
+ ?if_match_last_modified_time: ::Time,
425
+ ?if_match_size: ::Integer
422
426
  ) -> _DeleteObjectResponseSuccess
423
427
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectResponseSuccess
424
428
 
@@ -448,7 +452,10 @@ module Aws
448
452
  objects: Array[
449
453
  {
450
454
  key: ::String,
451
- version_id: ::String?
455
+ version_id: ::String?,
456
+ etag: ::String?,
457
+ last_modified_time: ::Time?,
458
+ size: ::Integer?
452
459
  },
453
460
  ],
454
461
  quiet: bool?
@@ -1886,6 +1893,7 @@ module Aws
1886
1893
  def ssekms_key_id: () -> ::String
1887
1894
  def ssekms_encryption_context: () -> ::String
1888
1895
  def bucket_key_enabled: () -> bool
1896
+ def size: () -> ::Integer
1889
1897
  def request_charged: () -> ("requester")
1890
1898
  end
1891
1899
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
@@ -1912,6 +1920,7 @@ module Aws
1912
1920
  ?grant_read_acp: ::String,
1913
1921
  ?grant_write_acp: ::String,
1914
1922
  key: ::String,
1923
+ ?write_offset_bytes: ::Integer,
1915
1924
  ?metadata: Hash[::String, ::String],
1916
1925
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1917
1926
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
data/sig/errors.rbs CHANGED
@@ -15,10 +15,16 @@ module Aws
15
15
  end
16
16
  class BucketAlreadyOwnedByYou < ::Aws::Errors::ServiceError
17
17
  end
18
+ class EncryptionTypeMismatch < ::Aws::Errors::ServiceError
19
+ end
18
20
  class InvalidObjectState < ::Aws::Errors::ServiceError
19
21
  def storage_class: () -> ::String
20
22
  def access_tier: () -> ::String
21
23
  end
24
+ class InvalidRequest < ::Aws::Errors::ServiceError
25
+ end
26
+ class InvalidWriteOffset < ::Aws::Errors::ServiceError
27
+ end
22
28
  class NoSuchBucket < ::Aws::Errors::ServiceError
23
29
  end
24
30
  class NoSuchKey < ::Aws::Errors::ServiceError
@@ -29,6 +35,8 @@ module Aws
29
35
  end
30
36
  class ObjectNotInActiveTierError < ::Aws::Errors::ServiceError
31
37
  end
38
+ class TooManyParts < ::Aws::Errors::ServiceError
39
+ end
32
40
  end
33
41
  end
34
42
  end
@@ -57,7 +57,8 @@ module Aws
57
57
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#abort-instance_method
58
58
  def abort: (
59
59
  ?request_payer: ("requester"),
60
- ?expected_bucket_owner: ::String
60
+ ?expected_bucket_owner: ::String,
61
+ ?if_match_initiated_time: ::Time
61
62
  ) -> Types::AbortMultipartUploadOutput
62
63
  | (?Hash[Symbol, untyped]) -> Types::AbortMultipartUploadOutput
63
64
 
data/sig/object.rbs CHANGED
@@ -199,7 +199,10 @@ module Aws
199
199
  ?version_id: ::String,
200
200
  ?request_payer: ("requester"),
201
201
  ?bypass_governance_retention: bool,
202
- ?expected_bucket_owner: ::String
202
+ ?expected_bucket_owner: ::String,
203
+ ?if_match: ::String,
204
+ ?if_match_last_modified_time: ::Time,
205
+ ?if_match_size: ::Integer
203
206
  ) -> Types::DeleteObjectOutput
204
207
  | (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
205
208
 
@@ -282,6 +285,7 @@ module Aws
282
285
  ?grant_read: ::String,
283
286
  ?grant_read_acp: ::String,
284
287
  ?grant_write_acp: ::String,
288
+ ?write_offset_bytes: ::Integer,
285
289
  ?metadata: Hash[::String, ::String],
286
290
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
287
291
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
@@ -112,7 +112,10 @@ module Aws
112
112
  ?version_id: ::String,
113
113
  ?request_payer: ("requester"),
114
114
  ?bypass_governance_retention: bool,
115
- ?expected_bucket_owner: ::String
115
+ ?expected_bucket_owner: ::String,
116
+ ?if_match: ::String,
117
+ ?if_match_last_modified_time: ::Time,
118
+ ?if_match_size: ::Integer
116
119
  ) -> Types::DeleteObjectOutput
117
120
  | (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
118
121
 
@@ -195,6 +198,7 @@ module Aws
195
198
  ?grant_read: ::String,
196
199
  ?grant_read_acp: ::String,
197
200
  ?grant_write_acp: ::String,
201
+ ?write_offset_bytes: ::Integer,
198
202
  ?metadata: Hash[::String, ::String],
199
203
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
200
204
  ?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE"),
@@ -68,7 +68,10 @@ module Aws
68
68
  ?mfa: ::String,
69
69
  ?request_payer: ("requester"),
70
70
  ?bypass_governance_retention: bool,
71
- ?expected_bucket_owner: ::String
71
+ ?expected_bucket_owner: ::String,
72
+ ?if_match: ::String,
73
+ ?if_match_last_modified_time: ::Time,
74
+ ?if_match_size: ::Integer
72
75
  ) -> Types::DeleteObjectOutput
73
76
  | (?Hash[Symbol, untyped]) -> Types::DeleteObjectOutput
74
77