aws-sdk-s3 1.114.0 → 1.136.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 +4 -4
 - data/CHANGELOG.md +163 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-s3/bucket.rb +123 -61
 - data/lib/aws-sdk-s3/bucket_acl.rb +9 -3
 - data/lib/aws-sdk-s3/bucket_cors.rb +12 -4
 - data/lib/aws-sdk-s3/bucket_lifecycle.rb +12 -4
 - data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +12 -4
 - data/lib/aws-sdk-s3/bucket_logging.rb +9 -3
 - data/lib/aws-sdk-s3/bucket_notification.rb +9 -3
 - data/lib/aws-sdk-s3/bucket_policy.rb +12 -4
 - data/lib/aws-sdk-s3/bucket_request_payment.rb +9 -3
 - data/lib/aws-sdk-s3/bucket_tagging.rb +12 -4
 - data/lib/aws-sdk-s3/bucket_versioning.rb +15 -5
 - data/lib/aws-sdk-s3/bucket_website.rb +12 -4
 - data/lib/aws-sdk-s3/client.rb +2084 -1724
 - data/lib/aws-sdk-s3/client_api.rb +213 -189
 - data/lib/aws-sdk-s3/customizations/bucket.rb +23 -47
 - data/lib/aws-sdk-s3/customizations/errors.rb +27 -0
 - data/lib/aws-sdk-s3/customizations/object.rb +95 -19
 - data/lib/aws-sdk-s3/customizations/types/permanent_redirect.rb +26 -0
 - data/lib/aws-sdk-s3/customizations.rb +2 -0
 - data/lib/aws-sdk-s3/encryption/client.rb +6 -2
 - data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +13 -9
 - data/lib/aws-sdk-s3/encryptionV2/client.rb +6 -2
 - data/lib/aws-sdk-s3/encryptionV2/decrypt_handler.rb +1 -0
 - data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +10 -6
 - data/lib/aws-sdk-s3/endpoint_parameters.rb +146 -0
 - data/lib/aws-sdk-s3/endpoint_provider.rb +509 -0
 - data/lib/aws-sdk-s3/endpoints.rb +2150 -0
 - data/lib/aws-sdk-s3/file_downloader.rb +170 -44
 - data/lib/aws-sdk-s3/file_uploader.rb +8 -6
 - data/lib/aws-sdk-s3/multipart_stream_uploader.rb +41 -13
 - data/lib/aws-sdk-s3/multipart_upload.rb +27 -13
 - data/lib/aws-sdk-s3/multipart_upload_part.rb +20 -10
 - data/lib/aws-sdk-s3/object.rb +156 -110
 - data/lib/aws-sdk-s3/object_acl.rb +14 -6
 - data/lib/aws-sdk-s3/object_copier.rb +7 -5
 - data/lib/aws-sdk-s3/object_multipart_copier.rb +41 -19
 - data/lib/aws-sdk-s3/object_summary.rb +149 -94
 - data/lib/aws-sdk-s3/object_version.rb +55 -21
 - data/lib/aws-sdk-s3/plugins/accelerate.rb +3 -50
 - data/lib/aws-sdk-s3/plugins/arn.rb +0 -184
 - data/lib/aws-sdk-s3/plugins/bucket_dns.rb +3 -39
 - data/lib/aws-sdk-s3/plugins/bucket_name_restrictions.rb +1 -6
 - data/lib/aws-sdk-s3/plugins/dualstack.rb +1 -49
 - data/lib/aws-sdk-s3/plugins/endpoints.rb +262 -0
 - data/lib/aws-sdk-s3/plugins/expect_100_continue.rb +2 -1
 - data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +0 -29
 - data/lib/aws-sdk-s3/plugins/s3_signer.rb +32 -126
 - data/lib/aws-sdk-s3/presigned_post.rb +61 -59
 - data/lib/aws-sdk-s3/presigner.rb +24 -35
 - data/lib/aws-sdk-s3/resource.rb +7 -3
 - data/lib/aws-sdk-s3/types.rb +858 -4125
 - data/lib/aws-sdk-s3.rb +5 -1
 - metadata +12 -11
 - data/lib/aws-sdk-s3/arn/access_point_arn.rb +0 -69
 - data/lib/aws-sdk-s3/arn/multi_region_access_point_arn.rb +0 -68
 - data/lib/aws-sdk-s3/arn/object_lambda_arn.rb +0 -69
 - data/lib/aws-sdk-s3/arn/outpost_access_point_arn.rb +0 -74
 - data/lib/aws-sdk-s3/plugins/object_lambda_endpoint.rb +0 -25
 
| 
         @@ -55,7 +55,9 @@ module Aws::S3 
     | 
|
| 
       55 
55 
     | 
    
         
             
                #
         
     | 
| 
       56 
56 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       57 
57 
     | 
    
         
             
                def load
         
     | 
| 
       58 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 58 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 59 
     | 
    
         
            +
                    @client.get_bucket_cors(bucket: @bucket_name)
         
     | 
| 
      
 60 
     | 
    
         
            +
                  end
         
     | 
| 
       59 
61 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       60 
62 
     | 
    
         
             
                  self
         
     | 
| 
       61 
63 
     | 
    
         
             
                end
         
     | 
| 
         @@ -170,7 +172,9 @@ module Aws::S3 
     | 
|
| 
       170 
172 
     | 
    
         
             
                      :retry
         
     | 
| 
       171 
173 
     | 
    
         
             
                    end
         
     | 
| 
       172 
174 
     | 
    
         
             
                  end
         
     | 
| 
       173 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 175 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 176 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 177 
     | 
    
         
            +
                  end
         
     | 
| 
       174 
178 
     | 
    
         
             
                end
         
     | 
| 
       175 
179 
     | 
    
         | 
| 
       176 
180 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -188,7 +192,9 @@ module Aws::S3 
     | 
|
| 
       188 
192 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       189 
193 
     | 
    
         
             
                def delete(options = {})
         
     | 
| 
       190 
194 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       191 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 195 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 196 
     | 
    
         
            +
                    @client.delete_bucket_cors(options)
         
     | 
| 
      
 197 
     | 
    
         
            +
                  end
         
     | 
| 
       192 
198 
     | 
    
         
             
                  resp.data
         
     | 
| 
       193 
199 
     | 
    
         
             
                end
         
     | 
| 
       194 
200 
     | 
    
         | 
| 
         @@ -254,7 +260,9 @@ module Aws::S3 
     | 
|
| 
       254 
260 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       255 
261 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       256 
262 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       257 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 263 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 264 
     | 
    
         
            +
                    @client.put_bucket_cors(options)
         
     | 
| 
      
 265 
     | 
    
         
            +
                  end
         
     | 
| 
       258 
266 
     | 
    
         
             
                  resp.data
         
     | 
| 
       259 
267 
     | 
    
         
             
                end
         
     | 
| 
       260 
268 
     | 
    
         | 
| 
         @@ -54,7 +54,9 @@ module Aws::S3 
     | 
|
| 
       54 
54 
     | 
    
         
             
                #
         
     | 
| 
       55 
55 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       56 
56 
     | 
    
         
             
                def load
         
     | 
| 
       57 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 57 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 58 
     | 
    
         
            +
                    @client.get_bucket_lifecycle(bucket: @bucket_name)
         
     | 
| 
      
 59 
     | 
    
         
            +
                  end
         
     | 
| 
       58 
60 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       59 
61 
     | 
    
         
             
                  self
         
     | 
| 
       60 
62 
     | 
    
         
             
                end
         
     | 
| 
         @@ -169,7 +171,9 @@ module Aws::S3 
     | 
|
| 
       169 
171 
     | 
    
         
             
                      :retry
         
     | 
| 
       170 
172 
     | 
    
         
             
                    end
         
     | 
| 
       171 
173 
     | 
    
         
             
                  end
         
     | 
| 
       172 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 174 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 175 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 176 
     | 
    
         
            +
                  end
         
     | 
| 
       173 
177 
     | 
    
         
             
                end
         
     | 
| 
       174 
178 
     | 
    
         | 
| 
       175 
179 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -187,7 +191,9 @@ module Aws::S3 
     | 
|
| 
       187 
191 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       188 
192 
     | 
    
         
             
                def delete(options = {})
         
     | 
| 
       189 
193 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       190 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 194 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 195 
     | 
    
         
            +
                    @client.delete_bucket_lifecycle(options)
         
     | 
| 
      
 196 
     | 
    
         
            +
                  end
         
     | 
| 
       191 
197 
     | 
    
         
             
                  resp.data
         
     | 
| 
       192 
198 
     | 
    
         
             
                end
         
     | 
| 
       193 
199 
     | 
    
         | 
| 
         @@ -257,7 +263,9 @@ module Aws::S3 
     | 
|
| 
       257 
263 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       258 
264 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       259 
265 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       260 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 266 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 267 
     | 
    
         
            +
                    @client.put_bucket_lifecycle(options)
         
     | 
| 
      
 268 
     | 
    
         
            +
                  end
         
     | 
| 
       261 
269 
     | 
    
         
             
                  resp.data
         
     | 
| 
       262 
270 
     | 
    
         
             
                end
         
     | 
| 
       263 
271 
     | 
    
         | 
| 
         @@ -54,7 +54,9 @@ module Aws::S3 
     | 
|
| 
       54 
54 
     | 
    
         
             
                #
         
     | 
| 
       55 
55 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       56 
56 
     | 
    
         
             
                def load
         
     | 
| 
       57 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 57 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 58 
     | 
    
         
            +
                    @client.get_bucket_lifecycle_configuration(bucket: @bucket_name)
         
     | 
| 
      
 59 
     | 
    
         
            +
                  end
         
     | 
| 
       58 
60 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       59 
61 
     | 
    
         
             
                  self
         
     | 
| 
       60 
62 
     | 
    
         
             
                end
         
     | 
| 
         @@ -169,7 +171,9 @@ module Aws::S3 
     | 
|
| 
       169 
171 
     | 
    
         
             
                      :retry
         
     | 
| 
       170 
172 
     | 
    
         
             
                    end
         
     | 
| 
       171 
173 
     | 
    
         
             
                  end
         
     | 
| 
       172 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 174 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 175 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 176 
     | 
    
         
            +
                  end
         
     | 
| 
       173 
177 
     | 
    
         
             
                end
         
     | 
| 
       174 
178 
     | 
    
         | 
| 
       175 
179 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -187,7 +191,9 @@ module Aws::S3 
     | 
|
| 
       187 
191 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       188 
192 
     | 
    
         
             
                def delete(options = {})
         
     | 
| 
       189 
193 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       190 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 194 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 195 
     | 
    
         
            +
                    @client.delete_bucket_lifecycle(options)
         
     | 
| 
      
 196 
     | 
    
         
            +
                  end
         
     | 
| 
       191 
197 
     | 
    
         
             
                  resp.data
         
     | 
| 
       192 
198 
     | 
    
         
             
                end
         
     | 
| 
       193 
199 
     | 
    
         | 
| 
         @@ -277,7 +283,9 @@ module Aws::S3 
     | 
|
| 
       277 
283 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       278 
284 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       279 
285 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       280 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 286 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 287 
     | 
    
         
            +
                    @client.put_bucket_lifecycle_configuration(options)
         
     | 
| 
      
 288 
     | 
    
         
            +
                  end
         
     | 
| 
       281 
289 
     | 
    
         
             
                  resp.data
         
     | 
| 
       282 
290 
     | 
    
         
             
                end
         
     | 
| 
       283 
291 
     | 
    
         | 
| 
         @@ -60,7 +60,9 @@ module Aws::S3 
     | 
|
| 
       60 
60 
     | 
    
         
             
                #
         
     | 
| 
       61 
61 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       62 
62 
     | 
    
         
             
                def load
         
     | 
| 
       63 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 63 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 64 
     | 
    
         
            +
                    @client.get_bucket_logging(bucket: @bucket_name)
         
     | 
| 
      
 65 
     | 
    
         
            +
                  end
         
     | 
| 
       64 
66 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       65 
67 
     | 
    
         
             
                  self
         
     | 
| 
       66 
68 
     | 
    
         
             
                end
         
     | 
| 
         @@ -175,7 +177,9 @@ module Aws::S3 
     | 
|
| 
       175 
177 
     | 
    
         
             
                      :retry
         
     | 
| 
       176 
178 
     | 
    
         
             
                    end
         
     | 
| 
       177 
179 
     | 
    
         
             
                  end
         
     | 
| 
       178 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 180 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 181 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 182 
     | 
    
         
            +
                  end
         
     | 
| 
       179 
183 
     | 
    
         
             
                end
         
     | 
| 
       180 
184 
     | 
    
         | 
| 
       181 
185 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -236,7 +240,9 @@ module Aws::S3 
     | 
|
| 
       236 
240 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       237 
241 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       238 
242 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       239 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 243 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 244 
     | 
    
         
            +
                    @client.put_bucket_logging(options)
         
     | 
| 
      
 245 
     | 
    
         
            +
                  end
         
     | 
| 
       240 
246 
     | 
    
         
             
                  resp.data
         
     | 
| 
       241 
247 
     | 
    
         
             
                end
         
     | 
| 
       242 
248 
     | 
    
         | 
| 
         @@ -75,7 +75,9 @@ module Aws::S3 
     | 
|
| 
       75 
75 
     | 
    
         
             
                #
         
     | 
| 
       76 
76 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       77 
77 
     | 
    
         
             
                def load
         
     | 
| 
       78 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 78 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 79 
     | 
    
         
            +
                    @client.get_bucket_notification_configuration(bucket: @bucket_name)
         
     | 
| 
      
 80 
     | 
    
         
            +
                  end
         
     | 
| 
       79 
81 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       80 
82 
     | 
    
         
             
                  self
         
     | 
| 
       81 
83 
     | 
    
         
             
                end
         
     | 
| 
         @@ -190,7 +192,9 @@ module Aws::S3 
     | 
|
| 
       190 
192 
     | 
    
         
             
                      :retry
         
     | 
| 
       191 
193 
     | 
    
         
             
                    end
         
     | 
| 
       192 
194 
     | 
    
         
             
                  end
         
     | 
| 
       193 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 195 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 196 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 197 
     | 
    
         
            +
                  end
         
     | 
| 
       194 
198 
     | 
    
         
             
                end
         
     | 
| 
       195 
199 
     | 
    
         | 
| 
       196 
200 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -271,7 +275,9 @@ module Aws::S3 
     | 
|
| 
       271 
275 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       272 
276 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       273 
277 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       274 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 278 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 279 
     | 
    
         
            +
                    @client.put_bucket_notification_configuration(options)
         
     | 
| 
      
 280 
     | 
    
         
            +
                  end
         
     | 
| 
       275 
281 
     | 
    
         
             
                  resp.data
         
     | 
| 
       276 
282 
     | 
    
         
             
                end
         
     | 
| 
       277 
283 
     | 
    
         | 
| 
         @@ -54,7 +54,9 @@ module Aws::S3 
     | 
|
| 
       54 
54 
     | 
    
         
             
                #
         
     | 
| 
       55 
55 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       56 
56 
     | 
    
         
             
                def load
         
     | 
| 
       57 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 57 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 58 
     | 
    
         
            +
                    @client.get_bucket_policy(bucket: @bucket_name)
         
     | 
| 
      
 59 
     | 
    
         
            +
                  end
         
     | 
| 
       58 
60 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       59 
61 
     | 
    
         
             
                  self
         
     | 
| 
       60 
62 
     | 
    
         
             
                end
         
     | 
| 
         @@ -169,7 +171,9 @@ module Aws::S3 
     | 
|
| 
       169 
171 
     | 
    
         
             
                      :retry
         
     | 
| 
       170 
172 
     | 
    
         
             
                    end
         
     | 
| 
       171 
173 
     | 
    
         
             
                  end
         
     | 
| 
       172 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 174 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 175 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 176 
     | 
    
         
            +
                  end
         
     | 
| 
       173 
177 
     | 
    
         
             
                end
         
     | 
| 
       174 
178 
     | 
    
         | 
| 
       175 
179 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -187,7 +191,9 @@ module Aws::S3 
     | 
|
| 
       187 
191 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       188 
192 
     | 
    
         
             
                def delete(options = {})
         
     | 
| 
       189 
193 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       190 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 194 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 195 
     | 
    
         
            +
                    @client.delete_bucket_policy(options)
         
     | 
| 
      
 196 
     | 
    
         
            +
                  end
         
     | 
| 
       191 
197 
     | 
    
         
             
                  resp.data
         
     | 
| 
       192 
198 
     | 
    
         
             
                end
         
     | 
| 
       193 
199 
     | 
    
         | 
| 
         @@ -234,7 +240,9 @@ module Aws::S3 
     | 
|
| 
       234 
240 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       235 
241 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       236 
242 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       237 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 243 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 244 
     | 
    
         
            +
                    @client.put_bucket_policy(options)
         
     | 
| 
      
 245 
     | 
    
         
            +
                  end
         
     | 
| 
       238 
246 
     | 
    
         
             
                  resp.data
         
     | 
| 
       239 
247 
     | 
    
         
             
                end
         
     | 
| 
       240 
248 
     | 
    
         | 
| 
         @@ -54,7 +54,9 @@ module Aws::S3 
     | 
|
| 
       54 
54 
     | 
    
         
             
                #
         
     | 
| 
       55 
55 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       56 
56 
     | 
    
         
             
                def load
         
     | 
| 
       57 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 57 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 58 
     | 
    
         
            +
                    @client.get_bucket_request_payment(bucket: @bucket_name)
         
     | 
| 
      
 59 
     | 
    
         
            +
                  end
         
     | 
| 
       58 
60 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       59 
61 
     | 
    
         
             
                  self
         
     | 
| 
       60 
62 
     | 
    
         
             
                end
         
     | 
| 
         @@ -169,7 +171,9 @@ module Aws::S3 
     | 
|
| 
       169 
171 
     | 
    
         
             
                      :retry
         
     | 
| 
       170 
172 
     | 
    
         
             
                    end
         
     | 
| 
       171 
173 
     | 
    
         
             
                  end
         
     | 
| 
       172 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 174 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 175 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 176 
     | 
    
         
            +
                  end
         
     | 
| 
       173 
177 
     | 
    
         
             
                end
         
     | 
| 
       174 
178 
     | 
    
         | 
| 
       175 
179 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -221,7 +225,9 @@ module Aws::S3 
     | 
|
| 
       221 
225 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       222 
226 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       223 
227 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       224 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 228 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 229 
     | 
    
         
            +
                    @client.put_bucket_request_payment(options)
         
     | 
| 
      
 230 
     | 
    
         
            +
                  end
         
     | 
| 
       225 
231 
     | 
    
         
             
                  resp.data
         
     | 
| 
       226 
232 
     | 
    
         
             
                end
         
     | 
| 
       227 
233 
     | 
    
         | 
| 
         @@ -54,7 +54,9 @@ module Aws::S3 
     | 
|
| 
       54 
54 
     | 
    
         
             
                #
         
     | 
| 
       55 
55 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       56 
56 
     | 
    
         
             
                def load
         
     | 
| 
       57 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 57 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 58 
     | 
    
         
            +
                    @client.get_bucket_tagging(bucket: @bucket_name)
         
     | 
| 
      
 59 
     | 
    
         
            +
                  end
         
     | 
| 
       58 
60 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       59 
61 
     | 
    
         
             
                  self
         
     | 
| 
       60 
62 
     | 
    
         
             
                end
         
     | 
| 
         @@ -169,7 +171,9 @@ module Aws::S3 
     | 
|
| 
       169 
171 
     | 
    
         
             
                      :retry
         
     | 
| 
       170 
172 
     | 
    
         
             
                    end
         
     | 
| 
       171 
173 
     | 
    
         
             
                  end
         
     | 
| 
       172 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 174 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 175 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 176 
     | 
    
         
            +
                  end
         
     | 
| 
       173 
177 
     | 
    
         
             
                end
         
     | 
| 
       174 
178 
     | 
    
         | 
| 
       175 
179 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -187,7 +191,9 @@ module Aws::S3 
     | 
|
| 
       187 
191 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       188 
192 
     | 
    
         
             
                def delete(options = {})
         
     | 
| 
       189 
193 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       190 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 194 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 195 
     | 
    
         
            +
                    @client.delete_bucket_tagging(options)
         
     | 
| 
      
 196 
     | 
    
         
            +
                  end
         
     | 
| 
       191 
197 
     | 
    
         
             
                  resp.data
         
     | 
| 
       192 
198 
     | 
    
         
             
                end
         
     | 
| 
       193 
199 
     | 
    
         | 
| 
         @@ -243,7 +249,9 @@ module Aws::S3 
     | 
|
| 
       243 
249 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       244 
250 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       245 
251 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       246 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 252 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 253 
     | 
    
         
            +
                    @client.put_bucket_tagging(options)
         
     | 
| 
      
 254 
     | 
    
         
            +
                  end
         
     | 
| 
       247 
255 
     | 
    
         
             
                  resp.data
         
     | 
| 
       248 
256 
     | 
    
         
             
                end
         
     | 
| 
       249 
257 
     | 
    
         | 
| 
         @@ -63,7 +63,9 @@ module Aws::S3 
     | 
|
| 
       63 
63 
     | 
    
         
             
                #
         
     | 
| 
       64 
64 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       65 
65 
     | 
    
         
             
                def load
         
     | 
| 
       66 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 66 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 67 
     | 
    
         
            +
                    @client.get_bucket_versioning(bucket: @bucket_name)
         
     | 
| 
      
 68 
     | 
    
         
            +
                  end
         
     | 
| 
       67 
69 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       68 
70 
     | 
    
         
             
                  self
         
     | 
| 
       69 
71 
     | 
    
         
             
                end
         
     | 
| 
         @@ -178,7 +180,9 @@ module Aws::S3 
     | 
|
| 
       178 
180 
     | 
    
         
             
                      :retry
         
     | 
| 
       179 
181 
     | 
    
         
             
                    end
         
     | 
| 
       180 
182 
     | 
    
         
             
                  end
         
     | 
| 
       181 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 183 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 184 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 185 
     | 
    
         
            +
                  end
         
     | 
| 
       182 
186 
     | 
    
         
             
                end
         
     | 
| 
       183 
187 
     | 
    
         | 
| 
       184 
188 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -235,7 +239,9 @@ module Aws::S3 
     | 
|
| 
       235 
239 
     | 
    
         
             
                      status: "Enabled"
         
     | 
| 
       236 
240 
     | 
    
         
             
                    }
         
     | 
| 
       237 
241 
     | 
    
         
             
                  )
         
     | 
| 
       238 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 242 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 243 
     | 
    
         
            +
                    @client.put_bucket_versioning(options)
         
     | 
| 
      
 244 
     | 
    
         
            +
                  end
         
     | 
| 
       239 
245 
     | 
    
         
             
                  resp.data
         
     | 
| 
       240 
246 
     | 
    
         
             
                end
         
     | 
| 
       241 
247 
     | 
    
         | 
| 
         @@ -292,7 +298,9 @@ module Aws::S3 
     | 
|
| 
       292 
298 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       293 
299 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       294 
300 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       295 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 301 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 302 
     | 
    
         
            +
                    @client.put_bucket_versioning(options)
         
     | 
| 
      
 303 
     | 
    
         
            +
                  end
         
     | 
| 
       296 
304 
     | 
    
         
             
                  resp.data
         
     | 
| 
       297 
305 
     | 
    
         
             
                end
         
     | 
| 
       298 
306 
     | 
    
         | 
| 
         @@ -348,7 +356,9 @@ module Aws::S3 
     | 
|
| 
       348 
356 
     | 
    
         
             
                      status: "Suspended"
         
     | 
| 
       349 
357 
     | 
    
         
             
                    }
         
     | 
| 
       350 
358 
     | 
    
         
             
                  )
         
     | 
| 
       351 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 359 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 360 
     | 
    
         
            +
                    @client.put_bucket_versioning(options)
         
     | 
| 
      
 361 
     | 
    
         
            +
                  end
         
     | 
| 
       352 
362 
     | 
    
         
             
                  resp.data
         
     | 
| 
       353 
363 
     | 
    
         
             
                end
         
     | 
| 
       354 
364 
     | 
    
         | 
| 
         @@ -76,7 +76,9 @@ module Aws::S3 
     | 
|
| 
       76 
76 
     | 
    
         
             
                #
         
     | 
| 
       77 
77 
     | 
    
         
             
                # @return [self]
         
     | 
| 
       78 
78 
     | 
    
         
             
                def load
         
     | 
| 
       79 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 79 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 80 
     | 
    
         
            +
                    @client.get_bucket_website(bucket: @bucket_name)
         
     | 
| 
      
 81 
     | 
    
         
            +
                  end
         
     | 
| 
       80 
82 
     | 
    
         
             
                  @data = resp.data
         
     | 
| 
       81 
83 
     | 
    
         
             
                  self
         
     | 
| 
       82 
84 
     | 
    
         
             
                end
         
     | 
| 
         @@ -191,7 +193,9 @@ module Aws::S3 
     | 
|
| 
       191 
193 
     | 
    
         
             
                      :retry
         
     | 
| 
       192 
194 
     | 
    
         
             
                    end
         
     | 
| 
       193 
195 
     | 
    
         
             
                  end
         
     | 
| 
       194 
     | 
    
         
            -
                  Aws:: 
     | 
| 
      
 196 
     | 
    
         
            +
                  Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 197 
     | 
    
         
            +
                    Aws::Waiters::Waiter.new(options).wait({})
         
     | 
| 
      
 198 
     | 
    
         
            +
                  end
         
     | 
| 
       195 
199 
     | 
    
         
             
                end
         
     | 
| 
       196 
200 
     | 
    
         | 
| 
       197 
201 
     | 
    
         
             
                # @!group Actions
         
     | 
| 
         @@ -209,7 +213,9 @@ module Aws::S3 
     | 
|
| 
       209 
213 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       210 
214 
     | 
    
         
             
                def delete(options = {})
         
     | 
| 
       211 
215 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       212 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 216 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 217 
     | 
    
         
            +
                    @client.delete_bucket_website(options)
         
     | 
| 
      
 218 
     | 
    
         
            +
                  end
         
     | 
| 
       213 
219 
     | 
    
         
             
                  resp.data
         
     | 
| 
       214 
220 
     | 
    
         
             
                end
         
     | 
| 
       215 
221 
     | 
    
         | 
| 
         @@ -284,7 +290,9 @@ module Aws::S3 
     | 
|
| 
       284 
290 
     | 
    
         
             
                # @return [EmptyStructure]
         
     | 
| 
       285 
291 
     | 
    
         
             
                def put(options = {})
         
     | 
| 
       286 
292 
     | 
    
         
             
                  options = options.merge(bucket: @bucket_name)
         
     | 
| 
       287 
     | 
    
         
            -
                  resp =  
     | 
| 
      
 293 
     | 
    
         
            +
                  resp = Aws::Plugins::UserAgent.feature('resource') do
         
     | 
| 
      
 294 
     | 
    
         
            +
                    @client.put_bucket_website(options)
         
     | 
| 
      
 295 
     | 
    
         
            +
                  end
         
     | 
| 
       288 
296 
     | 
    
         
             
                  resp.data
         
     | 
| 
       289 
297 
     | 
    
         
             
                end
         
     | 
| 
       290 
298 
     | 
    
         |