aws-sdk-s3 1.171.0 → 1.173.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
@@ -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`.
@@ -4723,7 +4799,6 @@ module Aws::S3
4723
4799
  # * *HTTP Status Code:* 403 Forbidden
4724
4800
  #
4725
4801
  # * *SOAP Fault Code Prefix:* Client
4726
- #
4727
4802
  # * * *Code:* AccountProblem
4728
4803
  #
4729
4804
  # * *Description:* There is a problem with your Amazon Web Services
@@ -4733,7 +4808,6 @@ module Aws::S3
4733
4808
  # * *HTTP Status Code:* 403 Forbidden
4734
4809
  #
4735
4810
  # * *SOAP Fault Code Prefix:* Client
4736
- #
4737
4811
  # * * *Code:* AllAccessDisabled
4738
4812
  #
4739
4813
  # * *Description:* All access to this Amazon S3 resource has been
@@ -4743,7 +4817,6 @@ module Aws::S3
4743
4817
  # * *HTTP Status Code:* 403 Forbidden
4744
4818
  #
4745
4819
  # * *SOAP Fault Code Prefix:* Client
4746
- #
4747
4820
  # * * *Code:* AmbiguousGrantByEmailAddress
4748
4821
  #
4749
4822
  # * *Description:* The email address you provided is associated with
@@ -4752,7 +4825,6 @@ module Aws::S3
4752
4825
  # * *HTTP Status Code:* 400 Bad Request
4753
4826
  #
4754
4827
  # * *SOAP Fault Code Prefix:* Client
4755
- #
4756
4828
  # * * *Code:* AuthorizationHeaderMalformed
4757
4829
  #
4758
4830
  # * *Description:* The authorization header you provided is invalid.
@@ -4760,7 +4832,6 @@ module Aws::S3
4760
4832
  # * *HTTP Status Code:* 400 Bad Request
4761
4833
  #
4762
4834
  # * *HTTP Status Code:* N/A
4763
- #
4764
4835
  # * * *Code:* BadDigest
4765
4836
  #
4766
4837
  # * *Description:* The Content-MD5 you specified did not match what
@@ -4769,7 +4840,6 @@ module Aws::S3
4769
4840
  # * *HTTP Status Code:* 400 Bad Request
4770
4841
  #
4771
4842
  # * *SOAP Fault Code Prefix:* Client
4772
- #
4773
4843
  # * * *Code:* BucketAlreadyExists
4774
4844
  #
4775
4845
  # * *Description:* The requested bucket name is not available. The
@@ -4779,7 +4849,6 @@ module Aws::S3
4779
4849
  # * *HTTP Status Code:* 409 Conflict
4780
4850
  #
4781
4851
  # * *SOAP Fault Code Prefix:* Client
4782
- #
4783
4852
  # * * *Code:* BucketAlreadyOwnedByYou
4784
4853
  #
4785
4854
  # * *Description:* The bucket you tried to create already exists,
@@ -4793,7 +4862,6 @@ module Aws::S3
4793
4862
  # Region)
4794
4863
  #
4795
4864
  # * *SOAP Fault Code Prefix:* Client
4796
- #
4797
4865
  # * * *Code:* BucketNotEmpty
4798
4866
  #
4799
4867
  # * *Description:* The bucket you tried to delete is not empty.
@@ -4801,7 +4869,6 @@ module Aws::S3
4801
4869
  # * *HTTP Status Code:* 409 Conflict
4802
4870
  #
4803
4871
  # * *SOAP Fault Code Prefix:* Client
4804
- #
4805
4872
  # * * *Code:* CredentialsNotSupported
4806
4873
  #
4807
4874
  # * *Description:* This request does not support credentials.
@@ -4809,7 +4876,6 @@ module Aws::S3
4809
4876
  # * *HTTP Status Code:* 400 Bad Request
4810
4877
  #
4811
4878
  # * *SOAP Fault Code Prefix:* Client
4812
- #
4813
4879
  # * * *Code:* CrossLocationLoggingProhibited
4814
4880
  #
4815
4881
  # * *Description:* Cross-location logging not allowed. Buckets in
@@ -4819,7 +4885,6 @@ module Aws::S3
4819
4885
  # * *HTTP Status Code:* 403 Forbidden
4820
4886
  #
4821
4887
  # * *SOAP Fault Code Prefix:* Client
4822
- #
4823
4888
  # * * *Code:* EntityTooSmall
4824
4889
  #
4825
4890
  # * *Description:* Your proposed upload is smaller than the minimum
@@ -4828,7 +4893,6 @@ module Aws::S3
4828
4893
  # * *HTTP Status Code:* 400 Bad Request
4829
4894
  #
4830
4895
  # * *SOAP Fault Code Prefix:* Client
4831
- #
4832
4896
  # * * *Code:* EntityTooLarge
4833
4897
  #
4834
4898
  # * *Description:* Your proposed upload exceeds the maximum allowed
@@ -4837,7 +4901,6 @@ module Aws::S3
4837
4901
  # * *HTTP Status Code:* 400 Bad Request
4838
4902
  #
4839
4903
  # * *SOAP Fault Code Prefix:* Client
4840
- #
4841
4904
  # * * *Code:* ExpiredToken
4842
4905
  #
4843
4906
  # * *Description:* The provided token has expired.
@@ -4845,7 +4908,6 @@ module Aws::S3
4845
4908
  # * *HTTP Status Code:* 400 Bad Request
4846
4909
  #
4847
4910
  # * *SOAP Fault Code Prefix:* Client
4848
- #
4849
4911
  # * * *Code:* IllegalVersioningConfigurationException
4850
4912
  #
4851
4913
  # * *Description:* Indicates that the versioning configuration
@@ -4854,7 +4916,6 @@ module Aws::S3
4854
4916
  # * *HTTP Status Code:* 400 Bad Request
4855
4917
  #
4856
4918
  # * *SOAP Fault Code Prefix:* Client
4857
- #
4858
4919
  # * * *Code:* IncompleteBody
4859
4920
  #
4860
4921
  # * *Description:* You did not provide the number of bytes specified
@@ -4863,7 +4924,6 @@ module Aws::S3
4863
4924
  # * *HTTP Status Code:* 400 Bad Request
4864
4925
  #
4865
4926
  # * *SOAP Fault Code Prefix:* Client
4866
- #
4867
4927
  # * * *Code:* IncorrectNumberOfFilesInPostRequest
4868
4928
  #
4869
4929
  # * *Description:* POST requires exactly one file upload per
@@ -4872,7 +4932,6 @@ module Aws::S3
4872
4932
  # * *HTTP Status Code:* 400 Bad Request
4873
4933
  #
4874
4934
  # * *SOAP Fault Code Prefix:* Client
4875
- #
4876
4935
  # * * *Code:* InlineDataTooLarge
4877
4936
  #
4878
4937
  # * *Description:* Inline data exceeds the maximum allowed size.
@@ -4880,7 +4939,6 @@ module Aws::S3
4880
4939
  # * *HTTP Status Code:* 400 Bad Request
4881
4940
  #
4882
4941
  # * *SOAP Fault Code Prefix:* Client
4883
- #
4884
4942
  # * * *Code:* InternalError
4885
4943
  #
4886
4944
  # * *Description:* We encountered an internal error. Please try
@@ -4889,7 +4947,6 @@ module Aws::S3
4889
4947
  # * *HTTP Status Code:* 500 Internal Server Error
4890
4948
  #
4891
4949
  # * *SOAP Fault Code Prefix:* Server
4892
- #
4893
4950
  # * * *Code:* InvalidAccessKeyId
4894
4951
  #
4895
4952
  # * *Description:* The Amazon Web Services access key ID you
@@ -4898,7 +4955,6 @@ module Aws::S3
4898
4955
  # * *HTTP Status Code:* 403 Forbidden
4899
4956
  #
4900
4957
  # * *SOAP Fault Code Prefix:* Client
4901
- #
4902
4958
  # * * *Code:* InvalidAddressingHeader
4903
4959
  #
4904
4960
  # * *Description:* You must specify the Anonymous role.
@@ -4906,7 +4962,6 @@ module Aws::S3
4906
4962
  # * *HTTP Status Code:* N/A
4907
4963
  #
4908
4964
  # * *SOAP Fault Code Prefix:* Client
4909
- #
4910
4965
  # * * *Code:* InvalidArgument
4911
4966
  #
4912
4967
  # * *Description:* Invalid Argument
@@ -4914,7 +4969,6 @@ module Aws::S3
4914
4969
  # * *HTTP Status Code:* 400 Bad Request
4915
4970
  #
4916
4971
  # * *SOAP Fault Code Prefix:* Client
4917
- #
4918
4972
  # * * *Code:* InvalidBucketName
4919
4973
  #
4920
4974
  # * *Description:* The specified bucket is not valid.
@@ -4922,7 +4976,6 @@ module Aws::S3
4922
4976
  # * *HTTP Status Code:* 400 Bad Request
4923
4977
  #
4924
4978
  # * *SOAP Fault Code Prefix:* Client
4925
- #
4926
4979
  # * * *Code:* InvalidBucketState
4927
4980
  #
4928
4981
  # * *Description:* The request is not valid with the current state
@@ -4931,7 +4984,6 @@ module Aws::S3
4931
4984
  # * *HTTP Status Code:* 409 Conflict
4932
4985
  #
4933
4986
  # * *SOAP Fault Code Prefix:* Client
4934
- #
4935
4987
  # * * *Code:* InvalidDigest
4936
4988
  #
4937
4989
  # * *Description:* The Content-MD5 you specified is not valid.
@@ -4939,7 +4991,6 @@ module Aws::S3
4939
4991
  # * *HTTP Status Code:* 400 Bad Request
4940
4992
  #
4941
4993
  # * *SOAP Fault Code Prefix:* Client
4942
- #
4943
4994
  # * * *Code:* InvalidEncryptionAlgorithmError
4944
4995
  #
4945
4996
  # * *Description:* The encryption request you specified is not
@@ -4948,7 +4999,6 @@ module Aws::S3
4948
4999
  # * *HTTP Status Code:* 400 Bad Request
4949
5000
  #
4950
5001
  # * *SOAP Fault Code Prefix:* Client
4951
- #
4952
5002
  # * * *Code:* InvalidLocationConstraint
4953
5003
  #
4954
5004
  # * *Description:* The specified location constraint is not valid.
@@ -4958,7 +5008,6 @@ module Aws::S3
4958
5008
  # * *HTTP Status Code:* 400 Bad Request
4959
5009
  #
4960
5010
  # * *SOAP Fault Code Prefix:* Client
4961
- #
4962
5011
  # * * *Code:* InvalidObjectState
4963
5012
  #
4964
5013
  # * *Description:* The action is not valid for the current state of
@@ -4967,7 +5016,6 @@ module Aws::S3
4967
5016
  # * *HTTP Status Code:* 403 Forbidden
4968
5017
  #
4969
5018
  # * *SOAP Fault Code Prefix:* Client
4970
- #
4971
5019
  # * * *Code:* InvalidPart
4972
5020
  #
4973
5021
  # * *Description:* One or more of the specified parts could not be
@@ -4977,7 +5025,6 @@ module Aws::S3
4977
5025
  # * *HTTP Status Code:* 400 Bad Request
4978
5026
  #
4979
5027
  # * *SOAP Fault Code Prefix:* Client
4980
- #
4981
5028
  # * * *Code:* InvalidPartOrder
4982
5029
  #
4983
5030
  # * *Description:* The list of parts was not in ascending order.
@@ -4986,7 +5033,6 @@ module Aws::S3
4986
5033
  # * *HTTP Status Code:* 400 Bad Request
4987
5034
  #
4988
5035
  # * *SOAP Fault Code Prefix:* Client
4989
- #
4990
5036
  # * * *Code:* InvalidPayer
4991
5037
  #
4992
5038
  # * *Description:* All access to this object has been disabled.
@@ -4996,7 +5042,6 @@ module Aws::S3
4996
5042
  # * *HTTP Status Code:* 403 Forbidden
4997
5043
  #
4998
5044
  # * *SOAP Fault Code Prefix:* Client
4999
- #
5000
5045
  # * * *Code:* InvalidPolicyDocument
5001
5046
  #
5002
5047
  # * *Description:* The content of the form does not meet the
@@ -5005,7 +5050,6 @@ module Aws::S3
5005
5050
  # * *HTTP Status Code:* 400 Bad Request
5006
5051
  #
5007
5052
  # * *SOAP Fault Code Prefix:* Client
5008
- #
5009
5053
  # * * *Code:* InvalidRange
5010
5054
  #
5011
5055
  # * *Description:* The requested range cannot be satisfied.
@@ -5013,7 +5057,6 @@ module Aws::S3
5013
5057
  # * *HTTP Status Code:* 416 Requested Range Not Satisfiable
5014
5058
  #
5015
5059
  # * *SOAP Fault Code Prefix:* Client
5016
- #
5017
5060
  # * * *Code:* InvalidRequest
5018
5061
  #
5019
5062
  # * *Description:* Please use `AWS4-HMAC-SHA256`.
@@ -5021,7 +5064,6 @@ module Aws::S3
5021
5064
  # * *HTTP Status Code:* 400 Bad Request
5022
5065
  #
5023
5066
  # * *Code:* N/A
5024
- #
5025
5067
  # * * *Code:* InvalidRequest
5026
5068
  #
5027
5069
  # * *Description:* SOAP requests must be made over an HTTPS
@@ -5030,7 +5072,6 @@ module Aws::S3
5030
5072
  # * *HTTP Status Code:* 400 Bad Request
5031
5073
  #
5032
5074
  # * *SOAP Fault Code Prefix:* Client
5033
- #
5034
5075
  # * * *Code:* InvalidRequest
5035
5076
  #
5036
5077
  # * *Description:* Amazon S3 Transfer Acceleration is not supported
@@ -5039,7 +5080,6 @@ module Aws::S3
5039
5080
  # * *HTTP Status Code:* 400 Bad Request
5040
5081
  #
5041
5082
  # * *Code:* N/A
5042
- #
5043
5083
  # * * *Code:* InvalidRequest
5044
5084
  #
5045
5085
  # * *Description:* Amazon S3 Transfer Acceleration is not supported
@@ -5048,7 +5088,6 @@ module Aws::S3
5048
5088
  # * *HTTP Status Code:* 400 Bad Request
5049
5089
  #
5050
5090
  # * *Code:* N/A
5051
- #
5052
5091
  # * * *Code:* InvalidRequest
5053
5092
  #
5054
5093
  # * *Description:* Amazon S3 Transfer Accelerate endpoint only
@@ -5057,7 +5096,6 @@ module Aws::S3
5057
5096
  # * *HTTP Status Code:* 400 Bad Request
5058
5097
  #
5059
5098
  # * *Code:* N/A
5060
- #
5061
5099
  # * * *Code:* InvalidRequest
5062
5100
  #
5063
5101
  # * *Description:* Amazon S3 Transfer Accelerate is not configured
@@ -5066,7 +5104,6 @@ module Aws::S3
5066
5104
  # * *HTTP Status Code:* 400 Bad Request
5067
5105
  #
5068
5106
  # * *Code:* N/A
5069
- #
5070
5107
  # * * *Code:* InvalidRequest
5071
5108
  #
5072
5109
  # * *Description:* Amazon S3 Transfer Accelerate is disabled on this
@@ -5075,7 +5112,6 @@ module Aws::S3
5075
5112
  # * *HTTP Status Code:* 400 Bad Request
5076
5113
  #
5077
5114
  # * *Code:* N/A
5078
- #
5079
5115
  # * * *Code:* InvalidRequest
5080
5116
  #
5081
5117
  # * *Description:* Amazon S3 Transfer Acceleration is not supported
@@ -5085,7 +5121,6 @@ module Aws::S3
5085
5121
  # * *HTTP Status Code:* 400 Bad Request
5086
5122
  #
5087
5123
  # * *Code:* N/A
5088
- #
5089
5124
  # * * *Code:* InvalidRequest
5090
5125
  #
5091
5126
  # * *Description:* Amazon S3 Transfer Acceleration cannot be enabled
@@ -5095,7 +5130,6 @@ module Aws::S3
5095
5130
  # * *HTTP Status Code:* 400 Bad Request
5096
5131
  #
5097
5132
  # * *Code:* N/A
5098
- #
5099
5133
  # * * *Code:* InvalidSecurity
5100
5134
  #
5101
5135
  # * *Description:* The provided security credentials are not valid.
@@ -5103,7 +5137,6 @@ module Aws::S3
5103
5137
  # * *HTTP Status Code:* 403 Forbidden
5104
5138
  #
5105
5139
  # * *SOAP Fault Code Prefix:* Client
5106
- #
5107
5140
  # * * *Code:* InvalidSOAPRequest
5108
5141
  #
5109
5142
  # * *Description:* The SOAP request body is invalid.
@@ -5111,7 +5144,6 @@ module Aws::S3
5111
5144
  # * *HTTP Status Code:* 400 Bad Request
5112
5145
  #
5113
5146
  # * *SOAP Fault Code Prefix:* Client
5114
- #
5115
5147
  # * * *Code:* InvalidStorageClass
5116
5148
  #
5117
5149
  # * *Description:* The storage class you specified is not valid.
@@ -5119,7 +5151,6 @@ module Aws::S3
5119
5151
  # * *HTTP Status Code:* 400 Bad Request
5120
5152
  #
5121
5153
  # * *SOAP Fault Code Prefix:* Client
5122
- #
5123
5154
  # * * *Code:* InvalidTargetBucketForLogging
5124
5155
  #
5125
5156
  # * *Description:* The target bucket for logging does not exist, is
@@ -5129,7 +5160,6 @@ module Aws::S3
5129
5160
  # * *HTTP Status Code:* 400 Bad Request
5130
5161
  #
5131
5162
  # * *SOAP Fault Code Prefix:* Client
5132
- #
5133
5163
  # * * *Code:* InvalidToken
5134
5164
  #
5135
5165
  # * *Description:* The provided token is malformed or otherwise
@@ -5138,7 +5168,6 @@ module Aws::S3
5138
5168
  # * *HTTP Status Code:* 400 Bad Request
5139
5169
  #
5140
5170
  # * *SOAP Fault Code Prefix:* Client
5141
- #
5142
5171
  # * * *Code:* InvalidURI
5143
5172
  #
5144
5173
  # * *Description:* Couldn't parse the specified URI.
@@ -5146,7 +5175,6 @@ module Aws::S3
5146
5175
  # * *HTTP Status Code:* 400 Bad Request
5147
5176
  #
5148
5177
  # * *SOAP Fault Code Prefix:* Client
5149
- #
5150
5178
  # * * *Code:* KeyTooLongError
5151
5179
  #
5152
5180
  # * *Description:* Your key is too long.
@@ -5154,7 +5182,6 @@ module Aws::S3
5154
5182
  # * *HTTP Status Code:* 400 Bad Request
5155
5183
  #
5156
5184
  # * *SOAP Fault Code Prefix:* Client
5157
- #
5158
5185
  # * * *Code:* MalformedACLError
5159
5186
  #
5160
5187
  # * *Description:* The XML you provided was not well-formed or did
@@ -5163,7 +5190,6 @@ module Aws::S3
5163
5190
  # * *HTTP Status Code:* 400 Bad Request
5164
5191
  #
5165
5192
  # * *SOAP Fault Code Prefix:* Client
5166
- #
5167
5193
  # * * *Code:* MalformedPOSTRequest
5168
5194
  #
5169
5195
  # * *Description:* The body of your POST request is not well-formed
@@ -5172,7 +5198,6 @@ module Aws::S3
5172
5198
  # * *HTTP Status Code:* 400 Bad Request
5173
5199
  #
5174
5200
  # * *SOAP Fault Code Prefix:* Client
5175
- #
5176
5201
  # * * *Code:* MalformedXML
5177
5202
  #
5178
5203
  # * *Description:* This happens when the user sends malformed XML
@@ -5184,7 +5209,6 @@ module Aws::S3
5184
5209
  # * *HTTP Status Code:* 400 Bad Request
5185
5210
  #
5186
5211
  # * *SOAP Fault Code Prefix:* Client
5187
- #
5188
5212
  # * * *Code:* MaxMessageLengthExceeded
5189
5213
  #
5190
5214
  # * *Description:* Your request was too big.
@@ -5192,7 +5216,6 @@ module Aws::S3
5192
5216
  # * *HTTP Status Code:* 400 Bad Request
5193
5217
  #
5194
5218
  # * *SOAP Fault Code Prefix:* Client
5195
- #
5196
5219
  # * * *Code:* MaxPostPreDataLengthExceededError
5197
5220
  #
5198
5221
  # * *Description:* Your POST request fields preceding the upload
@@ -5201,7 +5224,6 @@ module Aws::S3
5201
5224
  # * *HTTP Status Code:* 400 Bad Request
5202
5225
  #
5203
5226
  # * *SOAP Fault Code Prefix:* Client
5204
- #
5205
5227
  # * * *Code:* MetadataTooLarge
5206
5228
  #
5207
5229
  # * *Description:* Your metadata headers exceed the maximum allowed
@@ -5210,7 +5232,6 @@ module Aws::S3
5210
5232
  # * *HTTP Status Code:* 400 Bad Request
5211
5233
  #
5212
5234
  # * *SOAP Fault Code Prefix:* Client
5213
- #
5214
5235
  # * * *Code:* MethodNotAllowed
5215
5236
  #
5216
5237
  # * *Description:* The specified method is not allowed against this
@@ -5219,7 +5240,6 @@ module Aws::S3
5219
5240
  # * *HTTP Status Code:* 405 Method Not Allowed
5220
5241
  #
5221
5242
  # * *SOAP Fault Code Prefix:* Client
5222
- #
5223
5243
  # * * *Code:* MissingAttachment
5224
5244
  #
5225
5245
  # * *Description:* A SOAP attachment was expected, but none were
@@ -5228,7 +5248,6 @@ module Aws::S3
5228
5248
  # * *HTTP Status Code:* N/A
5229
5249
  #
5230
5250
  # * *SOAP Fault Code Prefix:* Client
5231
- #
5232
5251
  # * * *Code:* MissingContentLength
5233
5252
  #
5234
5253
  # * *Description:* You must provide the Content-Length HTTP header.
@@ -5236,7 +5255,6 @@ module Aws::S3
5236
5255
  # * *HTTP Status Code:* 411 Length Required
5237
5256
  #
5238
5257
  # * *SOAP Fault Code Prefix:* Client
5239
- #
5240
5258
  # * * *Code:* MissingRequestBodyError
5241
5259
  #
5242
5260
  # * *Description:* This happens when the user sends an empty XML
@@ -5246,7 +5264,6 @@ module Aws::S3
5246
5264
  # * *HTTP Status Code:* 400 Bad Request
5247
5265
  #
5248
5266
  # * *SOAP Fault Code Prefix:* Client
5249
- #
5250
5267
  # * * *Code:* MissingSecurityElement
5251
5268
  #
5252
5269
  # * *Description:* The SOAP 1.1 request is missing a security
@@ -5255,7 +5272,6 @@ module Aws::S3
5255
5272
  # * *HTTP Status Code:* 400 Bad Request
5256
5273
  #
5257
5274
  # * *SOAP Fault Code Prefix:* Client
5258
- #
5259
5275
  # * * *Code:* MissingSecurityHeader
5260
5276
  #
5261
5277
  # * *Description:* Your request is missing a required header.
@@ -5263,7 +5279,6 @@ module Aws::S3
5263
5279
  # * *HTTP Status Code:* 400 Bad Request
5264
5280
  #
5265
5281
  # * *SOAP Fault Code Prefix:* Client
5266
- #
5267
5282
  # * * *Code:* NoLoggingStatusForKey
5268
5283
  #
5269
5284
  # * *Description:* There is no such thing as a logging status
@@ -5272,7 +5287,6 @@ module Aws::S3
5272
5287
  # * *HTTP Status Code:* 400 Bad Request
5273
5288
  #
5274
5289
  # * *SOAP Fault Code Prefix:* Client
5275
- #
5276
5290
  # * * *Code:* NoSuchBucket
5277
5291
  #
5278
5292
  # * *Description:* The specified bucket does not exist.
@@ -5280,7 +5294,6 @@ module Aws::S3
5280
5294
  # * *HTTP Status Code:* 404 Not Found
5281
5295
  #
5282
5296
  # * *SOAP Fault Code Prefix:* Client
5283
- #
5284
5297
  # * * *Code:* NoSuchBucketPolicy
5285
5298
  #
5286
5299
  # * *Description:* The specified bucket does not have a bucket
@@ -5289,7 +5302,6 @@ module Aws::S3
5289
5302
  # * *HTTP Status Code:* 404 Not Found
5290
5303
  #
5291
5304
  # * *SOAP Fault Code Prefix:* Client
5292
- #
5293
5305
  # * * *Code:* NoSuchKey
5294
5306
  #
5295
5307
  # * *Description:* The specified key does not exist.
@@ -5297,7 +5309,6 @@ module Aws::S3
5297
5309
  # * *HTTP Status Code:* 404 Not Found
5298
5310
  #
5299
5311
  # * *SOAP Fault Code Prefix:* Client
5300
- #
5301
5312
  # * * *Code:* NoSuchLifecycleConfiguration
5302
5313
  #
5303
5314
  # * *Description:* The lifecycle configuration does not exist.
@@ -5305,7 +5316,6 @@ module Aws::S3
5305
5316
  # * *HTTP Status Code:* 404 Not Found
5306
5317
  #
5307
5318
  # * *SOAP Fault Code Prefix:* Client
5308
- #
5309
5319
  # * * *Code:* NoSuchUpload
5310
5320
  #
5311
5321
  # * *Description:* The specified multipart upload does not exist.
@@ -5315,7 +5325,6 @@ module Aws::S3
5315
5325
  # * *HTTP Status Code:* 404 Not Found
5316
5326
  #
5317
5327
  # * *SOAP Fault Code Prefix:* Client
5318
- #
5319
5328
  # * * *Code:* NoSuchVersion
5320
5329
  #
5321
5330
  # * *Description:* Indicates that the version ID specified in the
@@ -5324,7 +5333,6 @@ module Aws::S3
5324
5333
  # * *HTTP Status Code:* 404 Not Found
5325
5334
  #
5326
5335
  # * *SOAP Fault Code Prefix:* Client
5327
- #
5328
5336
  # * * *Code:* NotImplemented
5329
5337
  #
5330
5338
  # * *Description:* A header you provided implies functionality that
@@ -5333,7 +5341,6 @@ module Aws::S3
5333
5341
  # * *HTTP Status Code:* 501 Not Implemented
5334
5342
  #
5335
5343
  # * *SOAP Fault Code Prefix:* Server
5336
- #
5337
5344
  # * * *Code:* NotSignedUp
5338
5345
  #
5339
5346
  # * *Description:* Your account is not signed up for the Amazon S3
@@ -5343,7 +5350,6 @@ module Aws::S3
5343
5350
  # * *HTTP Status Code:* 403 Forbidden
5344
5351
  #
5345
5352
  # * *SOAP Fault Code Prefix:* Client
5346
- #
5347
5353
  # * * *Code:* OperationAborted
5348
5354
  #
5349
5355
  # * *Description:* A conflicting conditional action is currently in
@@ -5352,7 +5358,6 @@ module Aws::S3
5352
5358
  # * *HTTP Status Code:* 409 Conflict
5353
5359
  #
5354
5360
  # * *SOAP Fault Code Prefix:* Client
5355
- #
5356
5361
  # * * *Code:* PermanentRedirect
5357
5362
  #
5358
5363
  # * *Description:* The bucket you are attempting to access must be
@@ -5362,7 +5367,6 @@ module Aws::S3
5362
5367
  # * *HTTP Status Code:* 301 Moved Permanently
5363
5368
  #
5364
5369
  # * *SOAP Fault Code Prefix:* Client
5365
- #
5366
5370
  # * * *Code:* PreconditionFailed
5367
5371
  #
5368
5372
  # * *Description:* At least one of the preconditions you specified
@@ -5371,7 +5375,6 @@ module Aws::S3
5371
5375
  # * *HTTP Status Code:* 412 Precondition Failed
5372
5376
  #
5373
5377
  # * *SOAP Fault Code Prefix:* Client
5374
- #
5375
5378
  # * * *Code:* Redirect
5376
5379
  #
5377
5380
  # * *Description:* Temporary redirect.
@@ -5379,7 +5382,6 @@ module Aws::S3
5379
5382
  # * *HTTP Status Code:* 307 Moved Temporarily
5380
5383
  #
5381
5384
  # * *SOAP Fault Code Prefix:* Client
5382
- #
5383
5385
  # * * *Code:* RestoreAlreadyInProgress
5384
5386
  #
5385
5387
  # * *Description:* Object restore is already in progress.
@@ -5387,7 +5389,6 @@ module Aws::S3
5387
5389
  # * *HTTP Status Code:* 409 Conflict
5388
5390
  #
5389
5391
  # * *SOAP Fault Code Prefix:* Client
5390
- #
5391
5392
  # * * *Code:* RequestIsNotMultiPartContent
5392
5393
  #
5393
5394
  # * *Description:* Bucket POST must be of the enclosure-type
@@ -5396,7 +5397,6 @@ module Aws::S3
5396
5397
  # * *HTTP Status Code:* 400 Bad Request
5397
5398
  #
5398
5399
  # * *SOAP Fault Code Prefix:* Client
5399
- #
5400
5400
  # * * *Code:* RequestTimeout
5401
5401
  #
5402
5402
  # * *Description:* Your socket connection to the server was not read
@@ -5405,7 +5405,6 @@ module Aws::S3
5405
5405
  # * *HTTP Status Code:* 400 Bad Request
5406
5406
  #
5407
5407
  # * *SOAP Fault Code Prefix:* Client
5408
- #
5409
5408
  # * * *Code:* RequestTimeTooSkewed
5410
5409
  #
5411
5410
  # * *Description:* The difference between the request time and the
@@ -5414,7 +5413,6 @@ module Aws::S3
5414
5413
  # * *HTTP Status Code:* 403 Forbidden
5415
5414
  #
5416
5415
  # * *SOAP Fault Code Prefix:* Client
5417
- #
5418
5416
  # * * *Code:* RequestTorrentOfBucketError
5419
5417
  #
5420
5418
  # * *Description:* Requesting the torrent file of a bucket is not
@@ -5423,7 +5421,6 @@ module Aws::S3
5423
5421
  # * *HTTP Status Code:* 400 Bad Request
5424
5422
  #
5425
5423
  # * *SOAP Fault Code Prefix:* Client
5426
- #
5427
5424
  # * * *Code:* SignatureDoesNotMatch
5428
5425
  #
5429
5426
  # * *Description:* The request signature we calculated does not
@@ -5435,7 +5432,6 @@ module Aws::S3
5435
5432
  # * *HTTP Status Code:* 403 Forbidden
5436
5433
  #
5437
5434
  # * *SOAP Fault Code Prefix:* Client
5438
- #
5439
5435
  # * * *Code:* ServiceUnavailable
5440
5436
  #
5441
5437
  # * *Description:* Service is unable to handle request.
@@ -5443,7 +5439,6 @@ module Aws::S3
5443
5439
  # * *HTTP Status Code:* 503 Service Unavailable
5444
5440
  #
5445
5441
  # * *SOAP Fault Code Prefix:* Server
5446
- #
5447
5442
  # * * *Code:* SlowDown
5448
5443
  #
5449
5444
  # * *Description:* Reduce your request rate.
@@ -5451,7 +5446,6 @@ module Aws::S3
5451
5446
  # * *HTTP Status Code:* 503 Slow Down
5452
5447
  #
5453
5448
  # * *SOAP Fault Code Prefix:* Server
5454
- #
5455
5449
  # * * *Code:* TemporaryRedirect
5456
5450
  #
5457
5451
  # * *Description:* You are being redirected to the bucket while DNS
@@ -5460,7 +5454,6 @@ module Aws::S3
5460
5454
  # * *HTTP Status Code:* 307 Moved Temporarily
5461
5455
  #
5462
5456
  # * *SOAP Fault Code Prefix:* Client
5463
- #
5464
5457
  # * * *Code:* TokenRefreshRequired
5465
5458
  #
5466
5459
  # * *Description:* The provided token must be refreshed.
@@ -5468,7 +5461,6 @@ module Aws::S3
5468
5461
  # * *HTTP Status Code:* 400 Bad Request
5469
5462
  #
5470
5463
  # * *SOAP Fault Code Prefix:* Client
5471
- #
5472
5464
  # * * *Code:* TooManyBuckets
5473
5465
  #
5474
5466
  # * *Description:* You have attempted to create more buckets than
@@ -5477,7 +5469,6 @@ module Aws::S3
5477
5469
  # * *HTTP Status Code:* 400 Bad Request
5478
5470
  #
5479
5471
  # * *SOAP Fault Code Prefix:* Client
5480
- #
5481
5472
  # * * *Code:* UnexpectedContent
5482
5473
  #
5483
5474
  # * *Description:* This request does not support content.
@@ -5485,7 +5476,6 @@ module Aws::S3
5485
5476
  # * *HTTP Status Code:* 400 Bad Request
5486
5477
  #
5487
5478
  # * *SOAP Fault Code Prefix:* Client
5488
- #
5489
5479
  # * * *Code:* UnresolvableGrantByEmailAddress
5490
5480
  #
5491
5481
  # * *Description:* The email address you provided does not match any
@@ -5494,7 +5484,6 @@ module Aws::S3
5494
5484
  # * *HTTP Status Code:* 400 Bad Request
5495
5485
  #
5496
5486
  # * *SOAP Fault Code Prefix:* Client
5497
- #
5498
5487
  # * * *Code:* UserKeyMustBeSpecified
5499
5488
  #
5500
5489
  # * *Description:* The bucket POST must contain the specified field
@@ -5954,6 +5943,11 @@ module Aws::S3
5954
5943
  # Indicates which default minimum object size behavior is applied to
5955
5944
  # the lifecycle configuration.
5956
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
+ #
5957
5951
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
5958
5952
  # transition to any storage class by default.
5959
5953
  #
@@ -5986,6 +5980,11 @@ module Aws::S3
5986
5980
  # you provide does not match the actual owner of the bucket, the
5987
5981
  # request fails with the HTTP status code `403 Forbidden` (access
5988
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>
5989
5988
  # @return [String]
5990
5989
  #
5991
5990
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest AWS API Documentation
@@ -6627,7 +6626,7 @@ module Aws::S3
6627
6626
  # @return [Boolean]
6628
6627
  #
6629
6628
  # @!attribute [rw] last_modified
6630
- # The creation date of the object.
6629
+ # Date and time when the object was last modified.
6631
6630
  # @return [Time]
6632
6631
  #
6633
6632
  # @!attribute [rw] version_id
@@ -9105,6 +9104,28 @@ module Aws::S3
9105
9104
  include Aws::Structure
9106
9105
  end
9107
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
+
9108
9129
  # Specifies the inventory configuration for an Amazon S3 bucket. For
9109
9130
  # more information, see [GET Bucket inventory][1] in the *Amazon S3 API
9110
9131
  # Reference*.
@@ -9379,6 +9400,11 @@ module Aws::S3
9379
9400
  # Indicates at what date the object is to be moved or deleted. The
9380
9401
  # date value must conform to the ISO 8601 format. The time is always
9381
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>
9382
9408
  # @return [Time]
9383
9409
  #
9384
9410
  # @!attribute [rw] days
@@ -9391,6 +9417,11 @@ module Aws::S3
9391
9417
  # noncurrent versions. If set to true, the delete marker will be
9392
9418
  # expired; if set to false the policy takes no action. This cannot be
9393
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>
9394
9425
  # @return [Boolean]
9395
9426
  #
9396
9427
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration AWS API Documentation
@@ -9440,6 +9471,10 @@ module Aws::S3
9440
9471
  # applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
9441
9472
  # `And` specified. `Filter` is required if the `LifecycleRule` does
9442
9473
  # not contain a `Prefix` element.
9474
+ #
9475
+ # <note markdown="1"> `Tag` filters are not supported for directory buckets.
9476
+ #
9477
+ # </note>
9443
9478
  # @return [Types::LifecycleRuleFilter]
9444
9479
  #
9445
9480
  # @!attribute [rw] status
@@ -9450,6 +9485,11 @@ module Aws::S3
9450
9485
  # @!attribute [rw] transitions
9451
9486
  # Specifies when an Amazon S3 object transitions to a specified
9452
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>
9453
9493
  # @return [Array<Types::Transition>]
9454
9494
  #
9455
9495
  # @!attribute [rw] noncurrent_version_transitions
@@ -9459,6 +9499,11 @@ module Aws::S3
9459
9499
  # can set this action to request that Amazon S3 transition noncurrent
9460
9500
  # object versions to a specific storage class at a set period in the
9461
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>
9462
9507
  # @return [Array<Types::NoncurrentVersionTransition>]
9463
9508
  #
9464
9509
  # @!attribute [rw] noncurrent_version_expiration
@@ -9468,6 +9513,11 @@ module Aws::S3
9468
9513
  # versioning enabled (or suspended) to request that Amazon S3 delete
9469
9514
  # noncurrent object versions at a specific period in the object's
9470
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>
9471
9521
  # @return [Types::NoncurrentVersionExpiration]
9472
9522
  #
9473
9523
  # @!attribute [rw] abort_incomplete_multipart_upload
@@ -9551,6 +9601,11 @@ module Aws::S3
9551
9601
  # @!attribute [rw] tag
9552
9602
  # This tag must exist in the object's tag set in order for the rule
9553
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>
9554
9609
  # @return [Types::Tag]
9555
9610
  #
9556
9611
  # @!attribute [rw] object_size_greater_than
@@ -11646,6 +11701,11 @@ module Aws::S3
11646
11701
  # enabled (or suspended) to request that Amazon S3 delete noncurrent
11647
11702
  # object versions at a specific period in the object's lifetime.
11648
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
+ #
11649
11709
  # @!attribute [rw] noncurrent_days
11650
11710
  # Specifies the number of days an object is noncurrent before Amazon
11651
11711
  # S3 can perform the associated action. The value must be a non-zero
@@ -11653,6 +11713,11 @@ module Aws::S3
11653
11713
  # calculations, see [How Amazon S3 Calculates When an Object Became
11654
11714
  # Noncurrent][1] in the *Amazon S3 User Guide*.
11655
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
+ #
11656
11721
  #
11657
11722
  #
11658
11723
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations
@@ -11666,6 +11731,11 @@ module Aws::S3
11666
11731
  # versions, see [Lifecycle configuration elements][1] in the *Amazon
11667
11732
  # S3 User Guide*.
11668
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
+ #
11669
11739
  #
11670
11740
  #
11671
11741
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html
@@ -11936,11 +12006,43 @@ module Aws::S3
11936
12006
  # </note>
11937
12007
  # @return [String]
11938
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
+ #
11939
12038
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier AWS API Documentation
11940
12039
  #
11941
12040
  class ObjectIdentifier < Struct.new(
11942
12041
  :key,
11943
- :version_id)
12042
+ :version_id,
12043
+ :etag,
12044
+ :last_modified_time,
12045
+ :size)
11944
12046
  SENSITIVE = []
11945
12047
  include Aws::Structure
11946
12048
  end
@@ -12936,6 +13038,11 @@ module Aws::S3
12936
13038
  # Indicates which default minimum object size behavior is applied to
12937
13039
  # the lifecycle configuration.
12938
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
+ #
12939
13046
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
12940
13047
  # transition to any storage class by default.
12941
13048
  #
@@ -12988,12 +13095,22 @@ module Aws::S3
12988
13095
  # you provide does not match the actual owner of the bucket, the
12989
13096
  # request fails with the HTTP status code `403 Forbidden` (access
12990
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>
12991
13103
  # @return [String]
12992
13104
  #
12993
13105
  # @!attribute [rw] transition_default_minimum_object_size
12994
13106
  # Indicates which default minimum object size behavior is applied to
12995
13107
  # the lifecycle configuration.
12996
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
+ #
12997
13114
  # * `all_storage_classes_128K` - Objects smaller than 128 KB will not
12998
13115
  # transition to any storage class by default.
12999
13116
  #
@@ -14244,6 +14361,16 @@ module Aws::S3
14244
14361
  # (SSE-KMS).
14245
14362
  # @return [Boolean]
14246
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
+ #
14247
14374
  # @!attribute [rw] request_charged
14248
14375
  # If present, indicates that the requester was successfully charged
14249
14376
  # for the request.
@@ -14269,6 +14396,7 @@ module Aws::S3
14269
14396
  :ssekms_key_id,
14270
14397
  :ssekms_encryption_context,
14271
14398
  :bucket_key_enabled,
14399
+ :size,
14272
14400
  :request_charged)
14273
14401
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
14274
14402
  include Aws::Structure
@@ -14616,6 +14744,18 @@ module Aws::S3
14616
14744
  # Object key for which the PUT action was initiated.
14617
14745
  # @return [String]
14618
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
+ #
14619
14759
  # @!attribute [rw] metadata
14620
14760
  # A map of metadata to store with the object in S3.
14621
14761
  # @return [Hash<String,String>]
@@ -14948,6 +15088,7 @@ module Aws::S3
14948
15088
  :grant_read_acp,
14949
15089
  :grant_write_acp,
14950
15090
  :key,
15091
+ :write_offset_bytes,
14951
15092
  :metadata,
14952
15093
  :server_side_encryption,
14953
15094
  :storage_class,
@@ -16089,6 +16230,11 @@ module Aws::S3
16089
16230
  # versioning enabled (or suspended) to request that Amazon S3 delete
16090
16231
  # noncurrent object versions at a specific period in the object's
16091
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>
16092
16238
  # @return [Types::NoncurrentVersionExpiration]
16093
16239
  #
16094
16240
  # @!attribute [rw] abort_incomplete_multipart_upload
@@ -16884,6 +17030,15 @@ module Aws::S3
16884
17030
  include Aws::Structure
16885
17031
  end
16886
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
+
16887
17042
  # A container for specifying the configuration for publication of
16888
17043
  # messages to an Amazon Simple Notification Service (Amazon SNS) topic
16889
17044
  # when Amazon S3 detects specified events.