aws-sdk-s3 1.36.1 → 1.56.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aws-sdk-s3/bucket.rb +158 -34
  3. data/lib/aws-sdk-s3/bucket_acl.rb +10 -1
  4. data/lib/aws-sdk-s3/bucket_cors.rb +17 -1
  5. data/lib/aws-sdk-s3/bucket_lifecycle.rb +1 -1
  6. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -1
  7. data/lib/aws-sdk-s3/bucket_logging.rb +10 -3
  8. data/lib/aws-sdk-s3/bucket_notification.rb +6 -3
  9. data/lib/aws-sdk-s3/bucket_policy.rb +1 -0
  10. data/lib/aws-sdk-s3/bucket_request_payment.rb +9 -0
  11. data/lib/aws-sdk-s3/bucket_tagging.rb +9 -1
  12. data/lib/aws-sdk-s3/bucket_versioning.rb +25 -0
  13. data/lib/aws-sdk-s3/bucket_website.rb +14 -4
  14. data/lib/aws-sdk-s3/client.rb +4636 -301
  15. data/lib/aws-sdk-s3/client_api.rb +22 -0
  16. data/lib/aws-sdk-s3/customizations/bucket.rb +4 -0
  17. data/lib/aws-sdk-s3/customizations/object.rb +65 -43
  18. data/lib/aws-sdk-s3/encryption/client.rb +4 -0
  19. data/lib/aws-sdk-s3/event_streams.rb +7 -7
  20. data/lib/aws-sdk-s3/file_part.rb +9 -6
  21. data/lib/aws-sdk-s3/file_uploader.rb +13 -12
  22. data/lib/aws-sdk-s3/multipart_file_uploader.rb +14 -11
  23. data/lib/aws-sdk-s3/multipart_upload.rb +3 -1
  24. data/lib/aws-sdk-s3/multipart_upload_part.rb +3 -1
  25. data/lib/aws-sdk-s3/object.rb +205 -32
  26. data/lib/aws-sdk-s3/object_acl.rb +17 -2
  27. data/lib/aws-sdk-s3/object_summary.rb +125 -25
  28. data/lib/aws-sdk-s3/object_version.rb +6 -2
  29. data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +59 -0
  30. data/lib/aws-sdk-s3/plugins/md5s.rb +3 -4
  31. data/lib/aws-sdk-s3/plugins/s3_signer.rb +2 -0
  32. data/lib/aws-sdk-s3/presigned_post.rb +4 -0
  33. data/lib/aws-sdk-s3/presigner.rb +44 -30
  34. data/lib/aws-sdk-s3/resource.rb +2 -0
  35. data/lib/aws-sdk-s3/types.rb +2460 -430
  36. data/lib/aws-sdk-s3.rb +1 -1
  37. metadata +7 -6
@@ -46,7 +46,7 @@ module Aws::S3
46
46
  data[:delete_marker]
47
47
  end
48
48
 
49
-
49
+ # Indicates that a range of bytes was specifed.
50
50
  # @return [String]
51
51
  def accept_ranges
52
52
  data[:accept_ranges]
@@ -61,8 +61,26 @@ module Aws::S3
61
61
  data[:expiration]
62
62
  end
63
63
 
64
- # Provides information about object restoration operation and expiration
65
- # time of the restored object copy.
64
+ # If the object is an archived object (an object whose storage class is
65
+ # GLACIER), the response includes this header if either the archive
66
+ # restoration is in progress (see RestoreObject or an archive copy is
67
+ # already restored.
68
+ #
69
+ # If an archive copy is already restored, the header value indicates
70
+ # when Amazon S3 is scheduled to delete the object copy. For example:
71
+ #
72
+ # `x-amz-restore: ongoing-request="false", expiry-date="Fri, 23 Dec 2012
73
+ # 00:00:00 GMT"`
74
+ #
75
+ # If the object restoration is in progress, the header returns the value
76
+ # `ongoing-request="true"`.
77
+ #
78
+ # For more information about archiving objects, see [Transitioning
79
+ # Objects: General Considerations][1].
80
+ #
81
+ #
82
+ #
83
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-transition-general-considerations
66
84
  # @return [String]
67
85
  def restore
68
86
  data[:restore]
@@ -154,8 +172,11 @@ module Aws::S3
154
172
  data[:website_redirect_location]
155
173
  end
156
174
 
157
- # The Server-side encryption algorithm used when storing this object in
158
- # S3 (e.g., AES256, aws:kms).
175
+ # If the object is stored using server-side encryption either with an
176
+ # AWS KMS customer master key (CMK) or an Amazon S3-managed encryption
177
+ # key, the response includes this header with the value of the
178
+ # Server-side encryption algorithm used when storing this object in S3
179
+ # (e.g., AES256, aws:kms).
159
180
  # @return [String]
160
181
  def server_side_encryption
161
182
  data[:server_side_encryption]
@@ -185,13 +206,20 @@ module Aws::S3
185
206
  end
186
207
 
187
208
  # If present, specifies the ID of the AWS Key Management Service (KMS)
188
- # master encryption key that was used for the object.
209
+ # customer master key (CMK) that was used for the object.
189
210
  # @return [String]
190
211
  def ssekms_key_id
191
212
  data[:ssekms_key_id]
192
213
  end
193
214
 
194
-
215
+ # Provides storage class information of the object. Amazon S3 returns
216
+ # this header for all objects except for Standard storage class objects.
217
+ #
218
+ # For more information, see [Storage Classes][1].
219
+ #
220
+ #
221
+ #
222
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
195
223
  # @return [String]
196
224
  def storage_class
197
225
  data[:storage_class]
@@ -204,7 +232,36 @@ module Aws::S3
204
232
  data[:request_charged]
205
233
  end
206
234
 
207
-
235
+ # Amazon S3 can return this header if your request involves a bucket
236
+ # that is either a source or destination in a replication rule.
237
+ #
238
+ # In replication you have a source bucket on which you configure
239
+ # replication and destination bucket where Amazon S3 stores object
240
+ # replicas. When you request an object (GetObject) or object metadata
241
+ # (HeadObject) from these buckets, Amazon S3 will return the
242
+ # x-amz-replication-status header in the response as follows:
243
+ #
244
+ # * If requesting object from the source bucket — Amazon S3 will return
245
+ # the x-amz-replication-status header if object in your request is
246
+ # eligible for replication.
247
+ #
248
+ # For example, suppose in your replication configuration you specify
249
+ # object prefix "TaxDocs" requesting Amazon S3 to replicate objects
250
+ # with key prefix "TaxDocs". Then any objects you upload with this
251
+ # key name prefix, for example "TaxDocs/document1.pdf", is eligible
252
+ # for replication. For any object request with this key name prefix
253
+ # Amazon S3 will return the x-amz-replication-status header with value
254
+ # PENDING, COMPLETED or FAILED indicating object replication status.
255
+ #
256
+ # * If requesting object from the destination bucket — Amazon S3 will
257
+ # return the x-amz-replication-status header with value REPLICA if
258
+ # object in your request is a replica that Amazon S3 created.
259
+ #
260
+ # For more information, see [Replication][1].
261
+ #
262
+ #
263
+ #
264
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
208
265
  # @return [String]
209
266
  def replication_status
210
267
  data[:replication_status]
@@ -216,19 +273,36 @@ module Aws::S3
216
273
  data[:parts_count]
217
274
  end
218
275
 
219
- # The Object Lock mode currently in place for this object.
276
+ # The Object Lock mode, if any, that's in effect for this object. This
277
+ # header is only returned if the requester has the
278
+ # `s3:GetObjectRetention` permission. For more information about S3
279
+ # Object Lock, see [Object Lock][1].
280
+ #
281
+ #
282
+ #
283
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
220
284
  # @return [String]
221
285
  def object_lock_mode
222
286
  data[:object_lock_mode]
223
287
  end
224
288
 
225
- # The date and time when this object's Object Lock will expire.
289
+ # The date and time when the Object Lock retention period expires. This
290
+ # header is only returned if the requester has the
291
+ # `s3:GetObjectRetention` permission.
226
292
  # @return [Time]
227
293
  def object_lock_retain_until_date
228
294
  data[:object_lock_retain_until_date]
229
295
  end
230
296
 
231
- # The Legal Hold status for the specified object.
297
+ # Specifies whether a legal hold is in effect for this object. This
298
+ # header is only returned if the requester has the
299
+ # `s3:GetObjectLegalHold` permission. This header is not returned if the
300
+ # specified version of this object has never had a legal hold applied.
301
+ # For more information about S3 Object Lock, see [Object Lock][1].
302
+ #
303
+ #
304
+ #
305
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
232
306
  # @return [String]
233
307
  def object_lock_legal_hold_status
234
308
  data[:object_lock_legal_hold_status]
@@ -292,10 +366,10 @@ module Aws::S3
292
366
  # @option options [Proc] :before_attempt
293
367
  # @option options [Proc] :before_wait
294
368
  # @return [Object]
295
- def wait_until_exists(options = {})
369
+ def wait_until_exists(options = {}, &block)
296
370
  options, params = separate_params_and_options(options)
297
371
  waiter = Waiters::ObjectExists.new(options)
298
- yield_waiter_and_warn(waiter, &Proc.new) if block_given?
372
+ yield_waiter_and_warn(waiter, &block) if block_given?
299
373
  waiter.wait(params.merge(bucket: @bucket_name,
300
374
  key: @key))
301
375
  Object.new({
@@ -311,10 +385,10 @@ module Aws::S3
311
385
  # @option options [Proc] :before_attempt
312
386
  # @option options [Proc] :before_wait
313
387
  # @return [Object]
314
- def wait_until_not_exists(options = {})
388
+ def wait_until_not_exists(options = {}, &block)
315
389
  options, params = separate_params_and_options(options)
316
390
  waiter = Waiters::ObjectNotExists.new(options)
317
- yield_waiter_and_warn(waiter, &Proc.new) if block_given?
391
+ yield_waiter_and_warn(waiter, &block) if block_given?
318
392
  waiter.wait(params.merge(bucket: @bucket_name,
319
393
  key: @key))
320
394
  Object.new({
@@ -452,6 +526,7 @@ module Aws::S3
452
526
  # sse_customer_key: "SSECustomerKey",
453
527
  # sse_customer_key_md5: "SSECustomerKeyMD5",
454
528
  # ssekms_key_id: "SSEKMSKeyId",
529
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
455
530
  # copy_source_sse_customer_algorithm: "CopySourceSSECustomerAlgorithm",
456
531
  # copy_source_sse_customer_key: "CopySourceSSECustomerKey",
457
532
  # copy_source_sse_customer_key_md5: "CopySourceSSECustomerKeyMD5",
@@ -536,6 +611,10 @@ module Aws::S3
536
611
  # via SSL or using SigV4. Documentation on configuring any of the
537
612
  # officially supported AWS SDKs and CLI can be found at
538
613
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
614
+ # @option options [String] :ssekms_encryption_context
615
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
616
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
617
+ # with the encryption context key-value pairs.
539
618
  # @option options [String] :copy_source_sse_customer_algorithm
540
619
  # Specifies the algorithm to use when decrypting the source object
541
620
  # (e.g., AES256).
@@ -586,6 +665,8 @@ module Aws::S3
586
665
  # @option options [String] :mfa
587
666
  # The concatenation of the authentication device's serial number, a
588
667
  # space, and the value that is displayed on your authentication device.
668
+ # Required to permanently delete a versionedobject if versioning is
669
+ # configured with MFA Deleteenabled.
589
670
  # @option options [String] :version_id
590
671
  # VersionId used to reference a specific version of the object.
591
672
  # @option options [String] :request_payer
@@ -717,6 +798,7 @@ module Aws::S3
717
798
  # sse_customer_key: "SSECustomerKey",
718
799
  # sse_customer_key_md5: "SSECustomerKeyMD5",
719
800
  # ssekms_key_id: "SSEKMSKeyId",
801
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
720
802
  # request_payer: "requester", # accepts requester
721
803
  # tagging: "TaggingHeader",
722
804
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -779,6 +861,10 @@ module Aws::S3
779
861
  # via SSL or using SigV4. Documentation on configuring any of the
780
862
  # officially supported AWS SDKs and CLI can be found at
781
863
  # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
864
+ # @option options [String] :ssekms_encryption_context
865
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
866
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
867
+ # with the encryption context key-value pairs.
782
868
  # @option options [String] :request_payer
783
869
  # Confirms that the requester knows that she or he will be charged for
784
870
  # the request. Bucket owners need not specify this parameter in their
@@ -838,6 +924,7 @@ module Aws::S3
838
924
  # sse_customer_key: "SSECustomerKey",
839
925
  # sse_customer_key_md5: "SSECustomerKeyMD5",
840
926
  # ssekms_key_id: "SSEKMSKeyId",
927
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
841
928
  # request_payer: "requester", # accepts requester
842
929
  # tagging: "TaggingHeader",
843
930
  # object_lock_mode: "GOVERNANCE", # accepts GOVERNANCE, COMPLIANCE
@@ -846,29 +933,77 @@ module Aws::S3
846
933
  # })
847
934
  # @param [Hash] options ({})
848
935
  # @option options [String] :acl
849
- # The canned ACL to apply to the object.
936
+ # The canned ACL to apply to the object. For more information, see
937
+ # [Canned ACL][1].
938
+ #
939
+ #
940
+ #
941
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
850
942
  # @option options [String, IO] :body
851
943
  # Object data.
852
944
  # @option options [String] :cache_control
853
- # Specifies caching behavior along the request/reply chain.
945
+ # Can be used to specify caching behavior along the request/reply chain.
946
+ # For more information, see
947
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9][1].
948
+ #
949
+ #
950
+ #
951
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
854
952
  # @option options [String] :content_disposition
855
- # Specifies presentational information for the object.
953
+ # Specifies presentational information for the object. For more
954
+ # information, see
955
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1][1].
956
+ #
957
+ #
958
+ #
959
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
856
960
  # @option options [String] :content_encoding
857
961
  # Specifies what content encodings have been applied to the object and
858
962
  # thus what decoding mechanisms must be applied to obtain the media-type
859
- # referenced by the Content-Type header field.
963
+ # referenced by the Content-Type header field. For more information, see
964
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11][1].
965
+ #
966
+ #
967
+ #
968
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11
860
969
  # @option options [String] :content_language
861
970
  # The language the content is in.
862
971
  # @option options [Integer] :content_length
863
972
  # Size of the body in bytes. This parameter is useful when the size of
864
- # the body cannot be determined automatically.
973
+ # the body cannot be determined automatically. For more information, see
974
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13][1].
975
+ #
976
+ #
977
+ #
978
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13
865
979
  # @option options [String] :content_md5
866
- # The base64-encoded 128-bit MD5 digest of the part data. This parameter
867
- # is auto-populated when using the command from the CLI
980
+ # The base64-encoded 128-bit MD5 digest of the message (without the
981
+ # headers) according to RFC 1864. This header can be used as a message
982
+ # integrity check to verify that the data is the same data that was
983
+ # originally sent. Although it is optional, we recommend using the
984
+ # Content-MD5 mechanism as an end-to-end integrity check. For more
985
+ # information about REST request authentication, see [REST
986
+ # Authentication][1].
987
+ #
988
+ #
989
+ #
990
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
868
991
  # @option options [String] :content_type
869
- # A standard MIME type describing the format of the object data.
992
+ # A standard MIME type describing the format of the contents. For more
993
+ # information, see
994
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17][1].
995
+ #
996
+ #
997
+ #
998
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
870
999
  # @option options [Time,DateTime,Date,Integer,String] :expires
871
- # The date and time at which the object is no longer cacheable.
1000
+ # The date and time at which the object is no longer cacheable. For more
1001
+ # information, see
1002
+ # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21][1].
1003
+ #
1004
+ #
1005
+ #
1006
+ # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21
872
1007
  # @option options [String] :grant_full_control
873
1008
  # Gives the grantee READ, READ\_ACP, and WRITE\_ACP permissions on the
874
1009
  # object.
@@ -884,11 +1019,32 @@ module Aws::S3
884
1019
  # The Server-side encryption algorithm used when storing this object in
885
1020
  # S3 (e.g., AES256, aws:kms).
886
1021
  # @option options [String] :storage_class
887
- # The type of storage to use for the object. Defaults to 'STANDARD'.
1022
+ # If you don't specify, Standard is the default storage class. Amazon
1023
+ # S3 supports other storage classes.
888
1024
  # @option options [String] :website_redirect_location
889
1025
  # If the bucket is configured as a website, redirects requests for this
890
1026
  # object to another object in the same bucket or to an external URL.
891
- # Amazon S3 stores the value of this header in the object metadata.
1027
+ # Amazon S3 stores the value of this header in the object metadata. For
1028
+ # information about object metadata, see .
1029
+ #
1030
+ # In the following example, the request header sets the redirect to an
1031
+ # object (anotherPage.html) in the same bucket:
1032
+ #
1033
+ # `x-amz-website-redirect-location: /anotherPage.html`
1034
+ #
1035
+ # In the following example, the request header sets the object redirect
1036
+ # to another website:
1037
+ #
1038
+ # `x-amz-website-redirect-location: http://www.example.com/`
1039
+ #
1040
+ # For more information about website hosting in Amazon S3, see [Hosting
1041
+ # Websites on Amazon S3][1] and [How to Configure Website Page
1042
+ # Redirects][2].
1043
+ #
1044
+ #
1045
+ #
1046
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html
1047
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html
892
1048
  # @option options [String] :sse_customer_algorithm
893
1049
  # Specifies the algorithm to use to when encrypting the object (e.g.,
894
1050
  # AES256).
@@ -903,11 +1059,20 @@ module Aws::S3
903
1059
  # RFC 1321. Amazon S3 uses this header for a message integrity check to
904
1060
  # ensure the encryption key was transmitted without error.
905
1061
  # @option options [String] :ssekms_key_id
906
- # Specifies the AWS KMS key ID to use for object encryption. All GET and
907
- # PUT requests for an object protected by AWS KMS will fail if not made
908
- # via SSL or using SigV4. Documentation on configuring any of the
909
- # officially supported AWS SDKs and CLI can be found at
910
- # http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
1062
+ # If the x-amz-server-side-encryption is present and has the value of
1063
+ # aws:kms, this header specifies the ID of the AWS Key Management
1064
+ # Service (AWS KMS) customer master key (CMK) that was used for the
1065
+ # object.
1066
+ #
1067
+ # If the value of x-amz-server-side-encryption is aws:kms, this header
1068
+ # specifies the ID of the AWS KMS CMK that will be used for the object.
1069
+ # If you specify x-amz-server-side-encryption:aws:kms, but do not
1070
+ # provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses
1071
+ # the AWS managed CMK in AWS to protect the data.
1072
+ # @option options [String] :ssekms_encryption_context
1073
+ # Specifies the AWS KMS Encryption Context to use for object encryption.
1074
+ # The value of this header is a base64-encoded UTF-8 string holding JSON
1075
+ # with the encryption context key-value pairs.
911
1076
  # @option options [String] :request_payer
912
1077
  # Confirms that the requester knows that she or he will be charged for
913
1078
  # the request. Bucket owners need not specify this parameter in their
@@ -922,7 +1087,12 @@ module Aws::S3
922
1087
  # @option options [Time,DateTime,Date,Integer,String] :object_lock_retain_until_date
923
1088
  # The date and time when you want this object's Object Lock to expire.
924
1089
  # @option options [String] :object_lock_legal_hold_status
925
- # The Legal Hold status that you want to apply to the specified object.
1090
+ # Specifies whether a legal hold will be applied to this object. For
1091
+ # more information about S3 Object Lock, see [Object Lock][1].
1092
+ #
1093
+ #
1094
+ #
1095
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html
926
1096
  # @return [Types::PutObjectOutput]
927
1097
  def put(options = {})
928
1098
  options = options.merge(
@@ -1022,6 +1192,7 @@ module Aws::S3
1022
1192
  # })
1023
1193
  # @param [Hash] options ({})
1024
1194
  # @option options [String] :version_id
1195
+ # VersionId used to reference a specific version of the object.
1025
1196
  # @option options [Types::RestoreRequest] :restore_request
1026
1197
  # Container for restore job parameters.
1027
1198
  # @option options [String] :request_payer
@@ -1155,6 +1326,8 @@ module Aws::S3
1155
1326
  # @option options [String] :mfa
1156
1327
  # The concatenation of the authentication device's serial number, a
1157
1328
  # space, and the value that is displayed on your authentication device.
1329
+ # Required to permanently delete a versioned object if versioning is
1330
+ # configured with MFA Delete enabled.
1158
1331
  # @option options [String] :request_payer
1159
1332
  # Confirms that the requester knows that she or he will be charged for
1160
1333
  # the request. Bucket owners need not specify this parameter in their
@@ -38,7 +38,7 @@ module Aws::S3
38
38
  @object_key
39
39
  end
40
40
 
41
-
41
+ # Container for the bucket owner's display name and ID.
42
42
  # @return [Types::Owner]
43
43
  def owner
44
44
  data[:owner]
@@ -225,9 +225,24 @@ module Aws::S3
225
225
  # })
226
226
  # @param [Hash] options ({})
227
227
  # @option options [String] :acl
228
- # The canned ACL to apply to the object.
228
+ # The canned ACL to apply to the object. For more information, see
229
+ # [Canned ACL][1]
230
+ #
231
+ #
232
+ #
233
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL
229
234
  # @option options [Types::AccessControlPolicy] :access_control_policy
235
+ # Contains the elements that set the ACL permissions for an object per
236
+ # grantee.
230
237
  # @option options [String] :content_md5
238
+ # The base64-encoded 128-bit MD5 digest of the data. This header must be
239
+ # used as a message integrity check to verify that the request body was
240
+ # not corrupted in transit. For more information, go to [RFC
241
+ # 1864.>][1]
242
+ #
243
+ #
244
+ #
245
+ # [1]: http://www.ietf.org/rfc/rfc1864.txt
231
246
  # @option options [String] :grant_full_control
232
247
  # Allows grantee the read, write, read ACP, and write ACP permissions on
233
248
  # the bucket.