aws-sdk-s3 1.172.0 → 1.174.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1054,6 +1068,28 @@ module Aws::S3
1054
1068
  # denied).
1055
1069
  # @return [String]
1056
1070
  #
1071
+ # @!attribute [rw] if_match
1072
+ # Uploads the object only if the ETag (entity tag) value provided
1073
+ # during the WRITE operation matches the ETag of the object in S3. If
1074
+ # the ETag values do not match, the operation returns a `412
1075
+ # Precondition Failed` error.
1076
+ #
1077
+ # If a conflicting operation occurs during the upload S3 returns a
1078
+ # `409 ConditionalRequestConflict` response. On a 409 failure you
1079
+ # should fetch the object's ETag, re-initiate the multipart upload
1080
+ # with `CreateMultipartUpload`, and re-upload each part.
1081
+ #
1082
+ # Expects the ETag value as a string.
1083
+ #
1084
+ # For more information about conditional requests, see [RFC 7232][1],
1085
+ # or [Conditional requests][2] in the *Amazon S3 User Guide*.
1086
+ #
1087
+ #
1088
+ #
1089
+ # [1]: https://tools.ietf.org/html/rfc7232
1090
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
1091
+ # @return [String]
1092
+ #
1057
1093
  # @!attribute [rw] if_none_match
1058
1094
  # Uploads the object only if the object key name does not already
1059
1095
  # exist in the bucket specified. Otherwise, Amazon S3 returns a `412
@@ -1134,6 +1170,7 @@ module Aws::S3
1134
1170
  :checksum_sha256,
1135
1171
  :request_payer,
1136
1172
  :expected_bucket_owner,
1173
+ :if_match,
1137
1174
  :if_none_match,
1138
1175
  :sse_customer_algorithm,
1139
1176
  :sse_customer_key,
@@ -3782,6 +3819,11 @@ module Aws::S3
3782
3819
  # you provide does not match the actual owner of the bucket, the
3783
3820
  # request fails with the HTTP status code `403 Forbidden` (access
3784
3821
  # denied).
3822
+ #
3823
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
3824
+ # supported for directory bucket lifecycle configurations.
3825
+ #
3826
+ # </note>
3785
3827
  # @return [String]
3786
3828
  #
3787
3829
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest AWS API Documentation
@@ -4199,6 +4241,52 @@ module Aws::S3
4199
4241
  # denied).
4200
4242
  # @return [String]
4201
4243
  #
4244
+ # @!attribute [rw] if_match
4245
+ # The `If-Match` header field makes the request method conditional on
4246
+ # ETags. If the ETag value does not match, the operation returns a
4247
+ # `412 Precondition Failed` error. If the ETag matches or if the
4248
+ # object doesn't exist, the operation will return a `204 Success (No
4249
+ # Content) response`.
4250
+ #
4251
+ # For more information about conditional requests, see [RFC 7232][1].
4252
+ #
4253
+ # <note markdown="1"> This functionality is only supported for directory buckets.
4254
+ #
4255
+ # </note>
4256
+ #
4257
+ #
4258
+ #
4259
+ # [1]: https://docs.aws.amazon.com/https:/tools.ietf.org/html/rfc7232
4260
+ # @return [String]
4261
+ #
4262
+ # @!attribute [rw] if_match_last_modified_time
4263
+ # If present, the object is deleted only if its modification times
4264
+ # matches the provided `Timestamp`. If the `Timestamp` values do not
4265
+ # match, the operation returns a `412 Precondition Failed` error. If
4266
+ # the `Timestamp` matches or if the object doesn’t exist, the
4267
+ # operation returns a `204 Success (No Content)` response.
4268
+ #
4269
+ # <note markdown="1"> This functionality is only supported for directory buckets.
4270
+ #
4271
+ # </note>
4272
+ # @return [Time]
4273
+ #
4274
+ # @!attribute [rw] if_match_size
4275
+ # If present, the object is deleted only if its size matches the
4276
+ # provided size in bytes. If the `Size` value does not match, the
4277
+ # operation returns a `412 Precondition Failed` error. If the `Size`
4278
+ # matches or if the object doesn’t exist, the operation returns a `204
4279
+ # Success (No Content)` response.
4280
+ #
4281
+ # <note markdown="1"> This functionality is only supported for directory buckets.
4282
+ #
4283
+ # </note>
4284
+ #
4285
+ # You can use the `If-Match`, `x-amz-if-match-last-modified-time` and
4286
+ # `x-amz-if-match-size` conditional headers in conjunction with
4287
+ # each-other or individually.
4288
+ # @return [Integer]
4289
+ #
4202
4290
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest AWS API Documentation
4203
4291
  #
4204
4292
  class DeleteObjectRequest < Struct.new(
@@ -4208,7 +4296,10 @@ module Aws::S3
4208
4296
  :version_id,
4209
4297
  :request_payer,
4210
4298
  :bypass_governance_retention,
4211
- :expected_bucket_owner)
4299
+ :expected_bucket_owner,
4300
+ :if_match,
4301
+ :if_match_last_modified_time,
4302
+ :if_match_size)
4212
4303
  SENSITIVE = []
4213
4304
  include Aws::Structure
4214
4305
  end
@@ -4684,6 +4775,14 @@ module Aws::S3
4684
4775
  include Aws::Structure
4685
4776
  end
4686
4777
 
4778
+ # The existing object was created with a different encryption type.
4779
+ # Subsequent write requests must include the appropriate encryption
4780
+ # parameters in the request or while creating the session.
4781
+ #
4782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionTypeMismatch AWS API Documentation
4783
+ #
4784
+ class EncryptionTypeMismatch < Aws::EmptyStructure; end
4785
+
4687
4786
  # A message that indicates the request is complete and no more messages
4688
4787
  # will be sent. You should not assume that the request is complete until
4689
4788
  # the client receives an `EndEvent`.
@@ -5867,6 +5966,11 @@ module Aws::S3
5867
5966
  # Indicates which default minimum object size behavior is applied to
5868
5967
  # the lifecycle configuration.
5869
5968
  #
5969
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
5970
+ # supported for directory bucket lifecycle configurations.
5971
+ #
5972
+ # </note>
5973
+ #
5870
5974
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
5871
5975
  # transition to any storage class by default.
5872
5976
  #
@@ -5899,6 +6003,11 @@ module Aws::S3
5899
6003
  # you provide does not match the actual owner of the bucket, the
5900
6004
  # request fails with the HTTP status code `403 Forbidden` (access
5901
6005
  # denied).
6006
+ #
6007
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
6008
+ # supported for directory bucket lifecycle configurations.
6009
+ #
6010
+ # </note>
5902
6011
  # @return [String]
5903
6012
  #
5904
6013
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest AWS API Documentation
@@ -6540,7 +6649,7 @@ module Aws::S3
6540
6649
  # @return [Boolean]
6541
6650
  #
6542
6651
  # @!attribute [rw] last_modified
6543
- # The creation date of the object.
6652
+ # Date and time when the object was last modified.
6544
6653
  # @return [Time]
6545
6654
  #
6546
6655
  # @!attribute [rw] version_id
@@ -9018,6 +9127,28 @@ module Aws::S3
9018
9127
  include Aws::Structure
9019
9128
  end
9020
9129
 
9130
+ # You may receive this error in multiple cases. Depending on the reason
9131
+ # for the error, you may receive one of the messages below:
9132
+ #
9133
+ # * Cannot specify both a write offset value and user-defined object
9134
+ # metadata for existing objects.
9135
+ #
9136
+ # * Checksum Type mismatch occurred, expected checksum Type: sha1,
9137
+ # actual checksum Type: crc32c.
9138
+ #
9139
+ # * Request body cannot be empty when 'write offset' is specified.
9140
+ #
9141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidRequest AWS API Documentation
9142
+ #
9143
+ class InvalidRequest < Aws::EmptyStructure; end
9144
+
9145
+ # The write offset value that you specified does not match the current
9146
+ # object size.
9147
+ #
9148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InvalidWriteOffset AWS API Documentation
9149
+ #
9150
+ class InvalidWriteOffset < Aws::EmptyStructure; end
9151
+
9021
9152
  # Specifies the inventory configuration for an Amazon S3 bucket. For
9022
9153
  # more information, see [GET Bucket inventory][1] in the *Amazon S3 API
9023
9154
  # Reference*.
@@ -9292,6 +9423,11 @@ module Aws::S3
9292
9423
  # Indicates at what date the object is to be moved or deleted. The
9293
9424
  # date value must conform to the ISO 8601 format. The time is always
9294
9425
  # midnight UTC.
9426
+ #
9427
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9428
+ # supported for directory bucket lifecycle configurations.
9429
+ #
9430
+ # </note>
9295
9431
  # @return [Time]
9296
9432
  #
9297
9433
  # @!attribute [rw] days
@@ -9304,6 +9440,11 @@ module Aws::S3
9304
9440
  # noncurrent versions. If set to true, the delete marker will be
9305
9441
  # expired; if set to false the policy takes no action. This cannot be
9306
9442
  # specified with Days or Date in a Lifecycle Expiration Policy.
9443
+ #
9444
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9445
+ # supported for directory bucket lifecycle configurations.
9446
+ #
9447
+ # </note>
9307
9448
  # @return [Boolean]
9308
9449
  #
9309
9450
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration AWS API Documentation
@@ -9353,6 +9494,10 @@ module Aws::S3
9353
9494
  # applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
9354
9495
  # `And` specified. `Filter` is required if the `LifecycleRule` does
9355
9496
  # not contain a `Prefix` element.
9497
+ #
9498
+ # <note markdown="1"> `Tag` filters are not supported for directory buckets.
9499
+ #
9500
+ # </note>
9356
9501
  # @return [Types::LifecycleRuleFilter]
9357
9502
  #
9358
9503
  # @!attribute [rw] status
@@ -9363,6 +9508,11 @@ module Aws::S3
9363
9508
  # @!attribute [rw] transitions
9364
9509
  # Specifies when an Amazon S3 object transitions to a specified
9365
9510
  # storage class.
9511
+ #
9512
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9513
+ # supported for directory bucket lifecycle configurations.
9514
+ #
9515
+ # </note>
9366
9516
  # @return [Array<Types::Transition>]
9367
9517
  #
9368
9518
  # @!attribute [rw] noncurrent_version_transitions
@@ -9372,6 +9522,11 @@ module Aws::S3
9372
9522
  # can set this action to request that Amazon S3 transition noncurrent
9373
9523
  # object versions to a specific storage class at a set period in the
9374
9524
  # object's lifetime.
9525
+ #
9526
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9527
+ # supported for directory bucket lifecycle configurations.
9528
+ #
9529
+ # </note>
9375
9530
  # @return [Array<Types::NoncurrentVersionTransition>]
9376
9531
  #
9377
9532
  # @!attribute [rw] noncurrent_version_expiration
@@ -9381,6 +9536,11 @@ module Aws::S3
9381
9536
  # versioning enabled (or suspended) to request that Amazon S3 delete
9382
9537
  # noncurrent object versions at a specific period in the object's
9383
9538
  # lifetime.
9539
+ #
9540
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9541
+ # supported for directory bucket lifecycle configurations.
9542
+ #
9543
+ # </note>
9384
9544
  # @return [Types::NoncurrentVersionExpiration]
9385
9545
  #
9386
9546
  # @!attribute [rw] abort_incomplete_multipart_upload
@@ -9464,6 +9624,11 @@ module Aws::S3
9464
9624
  # @!attribute [rw] tag
9465
9625
  # This tag must exist in the object's tag set in order for the rule
9466
9626
  # to apply.
9627
+ #
9628
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
9629
+ # supported for directory bucket lifecycle configurations.
9630
+ #
9631
+ # </note>
9467
9632
  # @return [Types::Tag]
9468
9633
  #
9469
9634
  # @!attribute [rw] object_size_greater_than
@@ -11559,6 +11724,11 @@ module Aws::S3
11559
11724
  # enabled (or suspended) to request that Amazon S3 delete noncurrent
11560
11725
  # object versions at a specific period in the object's lifetime.
11561
11726
  #
11727
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
11728
+ # supported for directory bucket lifecycle configurations.
11729
+ #
11730
+ # </note>
11731
+ #
11562
11732
  # @!attribute [rw] noncurrent_days
11563
11733
  # Specifies the number of days an object is noncurrent before Amazon
11564
11734
  # S3 can perform the associated action. The value must be a non-zero
@@ -11566,6 +11736,11 @@ module Aws::S3
11566
11736
  # calculations, see [How Amazon S3 Calculates When an Object Became
11567
11737
  # Noncurrent][1] in the *Amazon S3 User Guide*.
11568
11738
  #
11739
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
11740
+ # supported for directory bucket lifecycle configurations.
11741
+ #
11742
+ # </note>
11743
+ #
11569
11744
  #
11570
11745
  #
11571
11746
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations
@@ -11579,6 +11754,11 @@ module Aws::S3
11579
11754
  # versions, see [Lifecycle configuration elements][1] in the *Amazon
11580
11755
  # S3 User Guide*.
11581
11756
  #
11757
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
11758
+ # supported for directory bucket lifecycle configurations.
11759
+ #
11760
+ # </note>
11761
+ #
11582
11762
  #
11583
11763
  #
11584
11764
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
@@ -11849,11 +12029,43 @@ module Aws::S3
11849
12029
  # </note>
11850
12030
  # @return [String]
11851
12031
  #
12032
+ # @!attribute [rw] etag
12033
+ # An entity tag (ETag) is an identifier assigned by a web server to a
12034
+ # specific version of a resource found at a URL. This header field
12035
+ # makes the request method conditional on `ETags`.
12036
+ #
12037
+ # <note markdown="1"> Entity tags (ETags) for S3 Express One Zone are random alphanumeric
12038
+ # strings unique to the object.
12039
+ #
12040
+ # </note>
12041
+ # @return [String]
12042
+ #
12043
+ # @!attribute [rw] last_modified_time
12044
+ # If present, the objects are deleted only if its modification times
12045
+ # matches the provided `Timestamp`.
12046
+ #
12047
+ # <note markdown="1"> This functionality is only supported for directory buckets.
12048
+ #
12049
+ # </note>
12050
+ # @return [Time]
12051
+ #
12052
+ # @!attribute [rw] size
12053
+ # If present, the objects are deleted only if its size matches the
12054
+ # provided size in bytes.
12055
+ #
12056
+ # <note markdown="1"> This functionality is only supported for directory buckets.
12057
+ #
12058
+ # </note>
12059
+ # @return [Integer]
12060
+ #
11852
12061
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier AWS API Documentation
11853
12062
  #
11854
12063
  class ObjectIdentifier < Struct.new(
11855
12064
  :key,
11856
- :version_id)
12065
+ :version_id,
12066
+ :etag,
12067
+ :last_modified_time,
12068
+ :size)
11857
12069
  SENSITIVE = []
11858
12070
  include Aws::Structure
11859
12071
  end
@@ -12849,6 +13061,11 @@ module Aws::S3
12849
13061
  # Indicates which default minimum object size behavior is applied to
12850
13062
  # the lifecycle configuration.
12851
13063
  #
13064
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
13065
+ # supported for directory bucket lifecycle configurations.
13066
+ #
13067
+ # </note>
13068
+ #
12852
13069
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
12853
13070
  # transition to any storage class by default.
12854
13071
  #
@@ -12901,12 +13118,22 @@ module Aws::S3
12901
13118
  # you provide does not match the actual owner of the bucket, the
12902
13119
  # request fails with the HTTP status code `403 Forbidden` (access
12903
13120
  # denied).
13121
+ #
13122
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
13123
+ # supported for directory bucket lifecycle configurations.
13124
+ #
13125
+ # </note>
12904
13126
  # @return [String]
12905
13127
  #
12906
13128
  # @!attribute [rw] transition_default_minimum_object_size
12907
13129
  # Indicates which default minimum object size behavior is applied to
12908
13130
  # the lifecycle configuration.
12909
13131
  #
13132
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
13133
+ # supported for directory bucket lifecycle configurations.
13134
+ #
13135
+ # </note>
13136
+ #
12910
13137
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
12911
13138
  # transition to any storage class by default.
12912
13139
  #
@@ -14157,6 +14384,16 @@ module Aws::S3
14157
14384
  # (SSE-KMS).
14158
14385
  # @return [Boolean]
14159
14386
  #
14387
+ # @!attribute [rw] size
14388
+ # The size of the object in bytes. This will only be present if you
14389
+ # append to an object.
14390
+ #
14391
+ # <note markdown="1"> This functionality is only supported for objects in the Amazon S3
14392
+ # Express One Zone storage class in directory buckets.
14393
+ #
14394
+ # </note>
14395
+ # @return [Integer]
14396
+ #
14160
14397
  # @!attribute [rw] request_charged
14161
14398
  # If present, indicates that the requester was successfully charged
14162
14399
  # for the request.
@@ -14182,6 +14419,7 @@ module Aws::S3
14182
14419
  :ssekms_key_id,
14183
14420
  :ssekms_encryption_context,
14184
14421
  :bucket_key_enabled,
14422
+ :size,
14185
14423
  :request_charged)
14186
14424
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
14187
14425
  include Aws::Structure
@@ -14464,6 +14702,27 @@ module Aws::S3
14464
14702
  # [1]: https://www.rfc-editor.org/rfc/rfc7234#section-5.3
14465
14703
  # @return [Time]
14466
14704
  #
14705
+ # @!attribute [rw] if_match
14706
+ # Uploads the object only if the ETag (entity tag) value provided
14707
+ # during the WRITE operation matches the ETag of the object in S3. If
14708
+ # the ETag values do not match, the operation returns a `412
14709
+ # Precondition Failed` error.
14710
+ #
14711
+ # If a conflicting operation occurs during the upload S3 returns a
14712
+ # `409 ConditionalRequestConflict` response. On a 409 failure you
14713
+ # should fetch the object's ETag and retry the upload.
14714
+ #
14715
+ # Expects the ETag value as a string.
14716
+ #
14717
+ # For more information about conditional requests, see [RFC 7232][1],
14718
+ # or [Conditional requests][2] in the *Amazon S3 User Guide*.
14719
+ #
14720
+ #
14721
+ #
14722
+ # [1]: https://tools.ietf.org/html/rfc7232
14723
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html
14724
+ # @return [String]
14725
+ #
14467
14726
  # @!attribute [rw] if_none_match
14468
14727
  # Uploads the object only if the object key name does not already
14469
14728
  # exist in the bucket specified. Otherwise, Amazon S3 returns a `412
@@ -14529,6 +14788,18 @@ module Aws::S3
14529
14788
  # Object key for which the PUT action was initiated.
14530
14789
  # @return [String]
14531
14790
  #
14791
+ # @!attribute [rw] write_offset_bytes
14792
+ # Specifies the offset for appending data to existing objects in
14793
+ # bytes. The offset must be equal to the size of the existing object
14794
+ # being appended to. If no object exists, setting this header to 0
14795
+ # will create a new object.
14796
+ #
14797
+ # <note markdown="1"> This functionality is only supported for objects in the Amazon S3
14798
+ # Express One Zone storage class in directory buckets.
14799
+ #
14800
+ # </note>
14801
+ # @return [Integer]
14802
+ #
14532
14803
  # @!attribute [rw] metadata
14533
14804
  # A map of metadata to store with the object in S3.
14534
14805
  # @return [Hash<String,String>]
@@ -14855,12 +15126,14 @@ module Aws::S3
14855
15126
  :checksum_sha1,
14856
15127
  :checksum_sha256,
14857
15128
  :expires,
15129
+ :if_match,
14858
15130
  :if_none_match,
14859
15131
  :grant_full_control,
14860
15132
  :grant_read,
14861
15133
  :grant_read_acp,
14862
15134
  :grant_write_acp,
14863
15135
  :key,
15136
+ :write_offset_bytes,
14864
15137
  :metadata,
14865
15138
  :server_side_encryption,
14866
15139
  :storage_class,
@@ -16002,6 +16275,11 @@ module Aws::S3
16002
16275
  # versioning enabled (or suspended) to request that Amazon S3 delete
16003
16276
  # noncurrent object versions at a specific period in the object's
16004
16277
  # lifetime.
16278
+ #
16279
+ # <note markdown="1"> This parameter applies to general purpose buckets only. It is not
16280
+ # supported for directory bucket lifecycle configurations.
16281
+ #
16282
+ # </note>
16005
16283
  # @return [Types::NoncurrentVersionExpiration]
16006
16284
  #
16007
16285
  # @!attribute [rw] abort_incomplete_multipart_upload
@@ -16797,6 +17075,15 @@ module Aws::S3
16797
17075
  include Aws::Structure
16798
17076
  end
16799
17077
 
17078
+ # You have attempted to add more parts than the maximum of 10000 that
17079
+ # are allowed for this object. You can use the CopyObject operation to
17080
+ # copy this object to another and then add more data to the newly copied
17081
+ # object.
17082
+ #
17083
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TooManyParts AWS API Documentation
17084
+ #
17085
+ class TooManyParts < Aws::EmptyStructure; end
17086
+
16800
17087
  # A container for specifying the configuration for publication of
16801
17088
  # messages to an Amazon Simple Notification Service (Amazon SNS) topic
16802
17089
  # 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.174.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?
@@ -110,12 +113,14 @@ module Aws
110
113
  ?checksum_sha1: ::String,
111
114
  ?checksum_sha256: ::String,
112
115
  ?expires: ::Time,
116
+ ?if_match: ::String,
113
117
  ?if_none_match: ::String,
114
118
  ?grant_full_control: ::String,
115
119
  ?grant_read: ::String,
116
120
  ?grant_read_acp: ::String,
117
121
  ?grant_write_acp: ::String,
118
122
  key: ::String,
123
+ ?write_offset_bytes: ::Integer,
119
124
  ?metadata: Hash[::String, ::String],
120
125
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
121
126
  ?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
 
@@ -144,6 +145,7 @@ module Aws
144
145
  ?checksum_sha256: ::String,
145
146
  ?request_payer: ("requester"),
146
147
  ?expected_bucket_owner: ::String,
148
+ ?if_match: ::String,
147
149
  ?if_none_match: ::String,
148
150
  ?sse_customer_algorithm: ::String,
149
151
  ?sse_customer_key: ::String,
@@ -418,7 +420,10 @@ module Aws
418
420
  ?version_id: ::String,
419
421
  ?request_payer: ("requester"),
420
422
  ?bypass_governance_retention: bool,
421
- ?expected_bucket_owner: ::String
423
+ ?expected_bucket_owner: ::String,
424
+ ?if_match: ::String,
425
+ ?if_match_last_modified_time: ::Time,
426
+ ?if_match_size: ::Integer
422
427
  ) -> _DeleteObjectResponseSuccess
423
428
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectResponseSuccess
424
429
 
@@ -448,7 +453,10 @@ module Aws
448
453
  objects: Array[
449
454
  {
450
455
  key: ::String,
451
- version_id: ::String?
456
+ version_id: ::String?,
457
+ etag: ::String?,
458
+ last_modified_time: ::Time?,
459
+ size: ::Integer?
452
460
  },
453
461
  ],
454
462
  quiet: bool?
@@ -1886,6 +1894,7 @@ module Aws
1886
1894
  def ssekms_key_id: () -> ::String
1887
1895
  def ssekms_encryption_context: () -> ::String
1888
1896
  def bucket_key_enabled: () -> bool
1897
+ def size: () -> ::Integer
1889
1898
  def request_charged: () -> ("requester")
1890
1899
  end
1891
1900
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_object-instance_method
@@ -1906,12 +1915,14 @@ module Aws
1906
1915
  ?checksum_sha1: ::String,
1907
1916
  ?checksum_sha256: ::String,
1908
1917
  ?expires: ::Time,
1918
+ ?if_match: ::String,
1909
1919
  ?if_none_match: ::String,
1910
1920
  ?grant_full_control: ::String,
1911
1921
  ?grant_read: ::String,
1912
1922
  ?grant_read_acp: ::String,
1913
1923
  ?grant_write_acp: ::String,
1914
1924
  key: ::String,
1925
+ ?write_offset_bytes: ::Integer,
1915
1926
  ?metadata: Hash[::String, ::String],
1916
1927
  ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
1917
1928
  ?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
 
@@ -81,6 +82,7 @@ module Aws
81
82
  ?checksum_sha256: ::String,
82
83
  ?request_payer: ("requester"),
83
84
  ?expected_bucket_owner: ::String,
85
+ ?if_match: ::String,
84
86
  ?if_none_match: ::String,
85
87
  ?sse_customer_algorithm: ::String,
86
88
  ?sse_customer_key: ::String,