aws-sdk-s3 1.112.0 → 1.113.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -98,7 +98,7 @@ module Aws
98
98
  # or call the associated method.
99
99
  #
100
100
  # ```ruby
101
- # post = Aws::S3::PresignedPost.new(creds, region, bucket).
101
+ # post = Aws::S3::PresignedPost.new(creds, region, bucket)
102
102
  # post.content_type('text/plain')
103
103
  # ```
104
104
  #
@@ -182,6 +182,11 @@ module Aws
182
182
  # the post policy.
183
183
  # @param [String] bucket_region Region of the target bucket.
184
184
  # @param [String] bucket_name Name of the target bucket.
185
+ # @option options [Boolean] :use_accelerate_endpoint (false) When `true`,
186
+ # PresignedPost will attempt to use accelerated endpoint.
187
+ # @option options [String] :url See {PresignedPost#url}.
188
+ # @option options [Sting, Array<String>] :allow_any
189
+ # See {PresignedPost#allow_any}.
185
190
  # @option options [Time] :signature_expiration Specify when the signature on
186
191
  # the post will expire. Defaults to one hour from creation of the
187
192
  # presigned post. May not exceed one week from creation time.
@@ -206,7 +211,7 @@ module Aws
206
211
  # See {PresignedPost#content_encoding}.
207
212
  # @option options [String] :content_encoding_starts_with
208
213
  # See {PresignedPost#content_encoding_starts_with}.
209
- # @option options [String] :expires See {PresignedPost#expires}.
214
+ # @option options [Time] :expires See {PresignedPost#expires}.
210
215
  # @option options [String] :expires_starts_with
211
216
  # See {PresignedPost#expires_starts_with}.
212
217
  # @option options [Range<Integer>] :content_length_range
@@ -233,6 +238,8 @@ module Aws
233
238
  # See {PresignedPost#server_side_encryption_customer_algorithm}.
234
239
  # @option options [String] :server_side_encryption_customer_key
235
240
  # See {PresignedPost#server_side_encryption_customer_key}.
241
+ # @option options [String] :server_side_encryption_customer_key_starts_with
242
+ # See {PresignedPost#server_side_encryption_customer_key_starts_with}.
236
243
  def initialize(credentials, bucket_region, bucket_name, options = {})
237
244
  @credentials = credentials.credentials
238
245
  @bucket_region = bucket_region