aws-sdk-s3 1.48.0 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 319056c94ca960081c35e30f55762087e95c5513
4
- data.tar.gz: 30d3ed780e81e52a362aa3b22defe075f2fdf1b7
3
+ metadata.gz: 405e7f5e7a8427ca6cc93230e12617a824d6e5bb
4
+ data.tar.gz: c126a861f72e68802c44ec099d2116668d044a89
5
5
  SHA512:
6
- metadata.gz: c3b1e34a59439b184b63a3e8cb104bb192193c1a455bcacc1fed2f23b389fa68e2383e7ed5072c95e2851ecb2e0c9f67c2a78831e7a885202be2280801764f89
7
- data.tar.gz: 7bf411cd7dac2b1e3dc3089fdebd1487f8e64c571707314d5de24b6d169bc591e74101e0542a463abf6500629679aac932f615127bb5b9e36b953ac51b451603
6
+ metadata.gz: c5de3b39b07f4aebdcbcd5303960c35d5df0cb4c317b5e45a818c0e45db47bac37bb970750508ce8fcb796fcf0206b651dc46c864ac8bf419ae00538cfdf8977
7
+ data.tar.gz: 3606c43636bb1ca8f629fe35481d080f44ba353610afe8de2bed1094b42f11cccd7f4c417a653f4e537cdff7193025831b02257dad4a039b4f8f7dac9d025f29
@@ -596,29 +596,34 @@ module Aws::S3
596
596
  # delimiter: "Delimiter",
597
597
  # encoding_type: "url", # accepts url
598
598
  # prefix: "Prefix",
599
+ # fetch_owner: false,
600
+ # start_after: "StartAfter",
599
601
  # request_payer: "requester", # accepts requester
600
602
  # })
601
603
  # @param [Hash] options ({})
602
604
  # @option options [String] :delimiter
603
605
  # A delimiter is a character you use to group keys.
604
606
  # @option options [String] :encoding_type
605
- # Requests Amazon S3 to encode the object keys in the response and
606
- # specifies the encoding method to use. An object key may contain any
607
- # Unicode character; however, XML 1.0 parser cannot parse some
608
- # characters, such as characters with an ASCII value from 0 to 10. For
609
- # characters that are not supported in XML 1.0, you can add this
610
- # parameter to request that Amazon S3 encode the keys in the response.
607
+ # Encoding type used by Amazon S3 to encode object keys in the response.
611
608
  # @option options [String] :prefix
612
609
  # Limits the response to keys that begin with the specified prefix.
610
+ # @option options [Boolean] :fetch_owner
611
+ # The owner field is not present in listV2 by default, if you want to
612
+ # return owner field with each key in the result then set the fetch
613
+ # owner field to true
614
+ # @option options [String] :start_after
615
+ # StartAfter is where you want Amazon S3 to start listing from. Amazon
616
+ # S3 starts listing after this specified key. StartAfter can be any key
617
+ # in the bucket
613
618
  # @option options [String] :request_payer
614
619
  # Confirms that the requester knows that she or he will be charged for
615
- # the list objects request. Bucket owners need not specify this
616
- # parameter in their requests.
620
+ # the list objects request in V2 style. Bucket owners need not specify
621
+ # this parameter in their requests.
617
622
  # @return [ObjectSummary::Collection]
618
623
  def objects(options = {})
619
624
  batches = Enumerator.new do |y|
620
625
  options = options.merge(bucket: @name)
621
- resp = @client.list_objects(options)
626
+ resp = @client.list_objects_v2(options)
622
627
  resp.each_page do |page|
623
628
  batch = []
624
629
  page.data.contents.each do |c|