aws-sdk-s3 1.164.0 → 1.167.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 +15 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-s3/bucket.rb +15 -12
 - data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +38 -1
 - data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
 - data/lib/aws-sdk-s3/client.rb +186 -159
 - data/lib/aws-sdk-s3/client_api.rb +9 -1
 - data/lib/aws-sdk-s3/customizations/object.rb +6 -0
 - data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
 - data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
 - data/lib/aws-sdk-s3/customizations.rb +24 -38
 - data/lib/aws-sdk-s3/errors.rb +3 -0
 - data/lib/aws-sdk-s3/multipart_upload.rb +7 -4
 - data/lib/aws-sdk-s3/multipart_upload_part.rb +8 -8
 - data/lib/aws-sdk-s3/object.rb +17 -14
 - data/lib/aws-sdk-s3/object_summary.rb +15 -12
 - data/lib/aws-sdk-s3/object_version.rb +7 -4
 - data/lib/aws-sdk-s3/types.rb +111 -44
 - data/lib/aws-sdk-s3.rb +35 -31
 - data/sig/bucket_lifecycle_configuration.rbs +7 -3
 - data/sig/client.rbs +9 -3
 - data/sig/types.rbs +7 -0
 - metadata +3 -2
 
| 
         @@ -7,6 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
            #
         
     | 
| 
       8 
8 
     | 
    
         
             
            # WARNING ABOUT GENERATED CODE
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       10 
11 
     | 
    
         
             
            module Aws::S3
         
     | 
| 
       11 
12 
     | 
    
         
             
              # @api private
         
     | 
| 
       12 
13 
     | 
    
         
             
              module ClientApi
         
     | 
| 
         @@ -463,6 +464,7 @@ module Aws::S3 
     | 
|
| 
       463 
464 
     | 
    
         
             
                PutBucketEncryptionRequest = Shapes::StructureShape.new(name: 'PutBucketEncryptionRequest')
         
     | 
| 
       464 
465 
     | 
    
         
             
                PutBucketIntelligentTieringConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketIntelligentTieringConfigurationRequest')
         
     | 
| 
       465 
466 
     | 
    
         
             
                PutBucketInventoryConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketInventoryConfigurationRequest')
         
     | 
| 
      
 467 
     | 
    
         
            +
                PutBucketLifecycleConfigurationOutput = Shapes::StructureShape.new(name: 'PutBucketLifecycleConfigurationOutput')
         
     | 
| 
       466 
468 
     | 
    
         
             
                PutBucketLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'PutBucketLifecycleConfigurationRequest')
         
     | 
| 
       467 
469 
     | 
    
         
             
                PutBucketLifecycleRequest = Shapes::StructureShape.new(name: 'PutBucketLifecycleRequest')
         
     | 
| 
       468 
470 
     | 
    
         
             
                PutBucketLoggingRequest = Shapes::StructureShape.new(name: 'PutBucketLoggingRequest')
         
     | 
| 
         @@ -602,6 +604,7 @@ module Aws::S3 
     | 
|
| 
       602 
604 
     | 
    
         
             
                TopicConfigurationDeprecated = Shapes::StructureShape.new(name: 'TopicConfigurationDeprecated')
         
     | 
| 
       603 
605 
     | 
    
         
             
                TopicConfigurationList = Shapes::ListShape.new(name: 'TopicConfigurationList', flattened: true)
         
     | 
| 
       604 
606 
     | 
    
         
             
                Transition = Shapes::StructureShape.new(name: 'Transition')
         
     | 
| 
      
 607 
     | 
    
         
            +
                TransitionDefaultMinimumObjectSize = Shapes::StringShape.new(name: 'TransitionDefaultMinimumObjectSize')
         
     | 
| 
       605 
608 
     | 
    
         
             
                TransitionList = Shapes::ListShape.new(name: 'TransitionList', flattened: true)
         
     | 
| 
       606 
609 
     | 
    
         
             
                TransitionStorageClass = Shapes::StringShape.new(name: 'TransitionStorageClass')
         
     | 
| 
       607 
610 
     | 
    
         
             
                Type = Shapes::StringShape.new(name: 'Type')
         
     | 
| 
         @@ -1190,6 +1193,7 @@ module Aws::S3 
     | 
|
| 
       1190 
1193 
     | 
    
         
             
                GetBucketInventoryConfigurationRequest.struct_class = Types::GetBucketInventoryConfigurationRequest
         
     | 
| 
       1191 
1194 
     | 
    
         | 
| 
       1192 
1195 
     | 
    
         
             
                GetBucketLifecycleConfigurationOutput.add_member(:rules, Shapes::ShapeRef.new(shape: LifecycleRules, location_name: "Rule"))
         
     | 
| 
      
 1196 
     | 
    
         
            +
                GetBucketLifecycleConfigurationOutput.add_member(:transition_default_minimum_object_size, Shapes::ShapeRef.new(shape: TransitionDefaultMinimumObjectSize, location: "header", location_name: "x-amz-transition-default-minimum-object-size"))
         
     | 
| 
       1193 
1197 
     | 
    
         
             
                GetBucketLifecycleConfigurationOutput.struct_class = Types::GetBucketLifecycleConfigurationOutput
         
     | 
| 
       1194 
1198 
     | 
    
         | 
| 
       1195 
1199 
     | 
    
         
             
                GetBucketLifecycleConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
         
     | 
| 
         @@ -2129,10 +2133,14 @@ module Aws::S3 
     | 
|
| 
       2129 
2133 
     | 
    
         
             
                PutBucketInventoryConfigurationRequest[:payload] = :inventory_configuration
         
     | 
| 
       2130 
2134 
     | 
    
         
             
                PutBucketInventoryConfigurationRequest[:payload_member] = PutBucketInventoryConfigurationRequest.member(:inventory_configuration)
         
     | 
| 
       2131 
2135 
     | 
    
         | 
| 
      
 2136 
     | 
    
         
            +
                PutBucketLifecycleConfigurationOutput.add_member(:transition_default_minimum_object_size, Shapes::ShapeRef.new(shape: TransitionDefaultMinimumObjectSize, location: "header", location_name: "x-amz-transition-default-minimum-object-size"))
         
     | 
| 
      
 2137 
     | 
    
         
            +
                PutBucketLifecycleConfigurationOutput.struct_class = Types::PutBucketLifecycleConfigurationOutput
         
     | 
| 
      
 2138 
     | 
    
         
            +
             
     | 
| 
       2132 
2139 
     | 
    
         
             
                PutBucketLifecycleConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
         
     | 
| 
       2133 
2140 
     | 
    
         
             
                PutBucketLifecycleConfigurationRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-sdk-checksum-algorithm"))
         
     | 
| 
       2134 
2141 
     | 
    
         
             
                PutBucketLifecycleConfigurationRequest.add_member(:lifecycle_configuration, Shapes::ShapeRef.new(shape: BucketLifecycleConfiguration, location_name: "LifecycleConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://s3.amazonaws.com/doc/2006-03-01/"}}))
         
     | 
| 
       2135 
2142 
     | 
    
         
             
                PutBucketLifecycleConfigurationRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-expected-bucket-owner"))
         
     | 
| 
      
 2143 
     | 
    
         
            +
                PutBucketLifecycleConfigurationRequest.add_member(:transition_default_minimum_object_size, Shapes::ShapeRef.new(shape: TransitionDefaultMinimumObjectSize, location: "header", location_name: "x-amz-transition-default-minimum-object-size"))
         
     | 
| 
       2136 
2144 
     | 
    
         
             
                PutBucketLifecycleConfigurationRequest.struct_class = Types::PutBucketLifecycleConfigurationRequest
         
     | 
| 
       2137 
2145 
     | 
    
         
             
                PutBucketLifecycleConfigurationRequest[:payload] = :lifecycle_configuration
         
     | 
| 
       2138 
2146 
     | 
    
         
             
                PutBucketLifecycleConfigurationRequest[:payload_member] = PutBucketLifecycleConfigurationRequest.member(:lifecycle_configuration)
         
     | 
| 
         @@ -3528,7 +3536,7 @@ module Aws::S3 
     | 
|
| 
       3528 
3536 
     | 
    
         
             
                      "requestChecksumRequired" => true,
         
     | 
| 
       3529 
3537 
     | 
    
         
             
                    }
         
     | 
| 
       3530 
3538 
     | 
    
         
             
                    o.input = Shapes::ShapeRef.new(shape: PutBucketLifecycleConfigurationRequest)
         
     | 
| 
       3531 
     | 
    
         
            -
                    o.output = Shapes::ShapeRef.new(shape:  
     | 
| 
      
 3539 
     | 
    
         
            +
                    o.output = Shapes::ShapeRef.new(shape: PutBucketLifecycleConfigurationOutput)
         
     | 
| 
       3532 
3540 
     | 
    
         
             
                  end)
         
     | 
| 
       3533 
3541 
     | 
    
         | 
| 
       3534 
3542 
     | 
    
         
             
                  api.add_operation(:put_bucket_logging, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
         @@ -80,6 +80,11 @@ module Aws 
     | 
|
| 
       80 
80 
     | 
    
         
             
                    object.download_file(destination, options)
         
     | 
| 
       81 
81 
     | 
    
         
             
                  end
         
     | 
| 
       82 
82 
     | 
    
         | 
| 
      
 83 
     | 
    
         
            +
                  class Collection < Aws::Resources::Collection
         
     | 
| 
      
 84 
     | 
    
         
            +
                    alias_method :delete, :batch_delete!
         
     | 
| 
      
 85 
     | 
    
         
            +
                    extend Aws::Deprecations
         
     | 
| 
      
 86 
     | 
    
         
            +
                    deprecated :delete, use: :batch_delete!
         
     | 
| 
      
 87 
     | 
    
         
            +
                  end
         
     | 
| 
       83 
88 
     | 
    
         
             
                end
         
     | 
| 
       84 
89 
     | 
    
         
             
              end
         
     | 
| 
       85 
90 
     | 
    
         
             
            end
         
     | 
| 
         @@ -0,0 +1,13 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module Aws
         
     | 
| 
      
 4 
     | 
    
         
            +
              module S3
         
     | 
| 
      
 5 
     | 
    
         
            +
                class ObjectVersion
         
     | 
| 
      
 6 
     | 
    
         
            +
                  class Collection < Aws::Resources::Collection
         
     | 
| 
      
 7 
     | 
    
         
            +
                    alias_method :delete, :batch_delete!
         
     | 
| 
      
 8 
     | 
    
         
            +
                    extend Aws::Deprecations
         
     | 
| 
      
 9 
     | 
    
         
            +
                    deprecated :delete, use: :batch_delete!
         
     | 
| 
      
 10 
     | 
    
         
            +
                  end
         
     | 
| 
      
 11 
     | 
    
         
            +
                end
         
     | 
| 
      
 12 
     | 
    
         
            +
              end
         
     | 
| 
      
 13 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -1,44 +1,30 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # frozen_string_literal: true
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
      
 3 
     | 
    
         
            +
            module Aws
         
     | 
| 
      
 4 
     | 
    
         
            +
              module S3
         
     | 
| 
      
 5 
     | 
    
         
            +
                # utility classes
         
     | 
| 
      
 6 
     | 
    
         
            +
                autoload :BucketRegionCache, 'aws-sdk-s3/bucket_region_cache'
         
     | 
| 
      
 7 
     | 
    
         
            +
                autoload :Encryption, 'aws-sdk-s3/encryption'
         
     | 
| 
      
 8 
     | 
    
         
            +
                autoload :EncryptionV2, 'aws-sdk-s3/encryption_v2'
         
     | 
| 
      
 9 
     | 
    
         
            +
                autoload :FilePart, 'aws-sdk-s3/file_part'
         
     | 
| 
      
 10 
     | 
    
         
            +
                autoload :FileUploader, 'aws-sdk-s3/file_uploader'
         
     | 
| 
      
 11 
     | 
    
         
            +
                autoload :FileDownloader, 'aws-sdk-s3/file_downloader'
         
     | 
| 
      
 12 
     | 
    
         
            +
                autoload :LegacySigner, 'aws-sdk-s3/legacy_signer'
         
     | 
| 
      
 13 
     | 
    
         
            +
                autoload :MultipartFileUploader, 'aws-sdk-s3/multipart_file_uploader'
         
     | 
| 
      
 14 
     | 
    
         
            +
                autoload :MultipartStreamUploader, 'aws-sdk-s3/multipart_stream_uploader'
         
     | 
| 
      
 15 
     | 
    
         
            +
                autoload :MultipartUploadError, 'aws-sdk-s3/multipart_upload_error'
         
     | 
| 
      
 16 
     | 
    
         
            +
                autoload :ObjectCopier, 'aws-sdk-s3/object_copier'
         
     | 
| 
      
 17 
     | 
    
         
            +
                autoload :ObjectMultipartCopier, 'aws-sdk-s3/object_multipart_copier'
         
     | 
| 
      
 18 
     | 
    
         
            +
                autoload :PresignedPost, 'aws-sdk-s3/presigned_post'
         
     | 
| 
      
 19 
     | 
    
         
            +
                autoload :Presigner, 'aws-sdk-s3/presigner'
         
     | 
| 
       18 
20 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            # s3 express session auth
         
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
      
 21 
     | 
    
         
            +
                # s3 express session auth
         
     | 
| 
      
 22 
     | 
    
         
            +
                autoload :ExpressCredentials, 'aws-sdk-s3/express_credentials'
         
     | 
| 
      
 23 
     | 
    
         
            +
                autoload :ExpressCredentialsProvider, 'aws-sdk-s3/express_credentials_provider'
         
     | 
| 
       22 
24 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
            # s3 access grants auth
         
     | 
| 
       24 
     | 
    
         
            -
            require 'aws-sdk-s3/access_grants_credentials'
         
     | 
| 
       25 
     | 
    
         
            -
            require 'aws-sdk-s3/access_grants_credentials_provider'
         
     | 
| 
      
 25 
     | 
    
         
            +
                # s3 access grants auth
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
            require 'aws-sdk-s3/customizations/object'
         
     | 
| 
       31 
     | 
    
         
            -
            require 'aws-sdk-s3/customizations/object_summary'
         
     | 
| 
       32 
     | 
    
         
            -
            require 'aws-sdk-s3/customizations/multipart_upload'
         
     | 
| 
       33 
     | 
    
         
            -
            require 'aws-sdk-s3/customizations/types/list_object_versions_output'
         
     | 
| 
       34 
     | 
    
         
            -
            require 'aws-sdk-s3/customizations/types/permanent_redirect'
         
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
            [
         
     | 
| 
       37 
     | 
    
         
            -
              Aws::S3::Object::Collection,
         
     | 
| 
       38 
     | 
    
         
            -
              Aws::S3::ObjectSummary::Collection,
         
     | 
| 
       39 
     | 
    
         
            -
              Aws::S3::ObjectVersion::Collection,
         
     | 
| 
       40 
     | 
    
         
            -
            ].each do |klass|
         
     | 
| 
       41 
     | 
    
         
            -
              klass.send(:alias_method, :delete, :batch_delete!)
         
     | 
| 
       42 
     | 
    
         
            -
              klass.extend Aws::Deprecations
         
     | 
| 
       43 
     | 
    
         
            -
              klass.send(:deprecated, :delete, use: :batch_delete!)
         
     | 
| 
      
 27 
     | 
    
         
            +
                autoload :AccessGrantsCredentials, 'aws-sdk-s3/access_grants_credentials'
         
     | 
| 
      
 28 
     | 
    
         
            +
                autoload :AccessGrantsCredentialsProvider, 'aws-sdk-s3/access_grants_credentials_provider'
         
     | 
| 
      
 29 
     | 
    
         
            +
              end
         
     | 
| 
       44 
30 
     | 
    
         
             
            end
         
     | 
    
        data/lib/aws-sdk-s3/errors.rb
    CHANGED
    
    
| 
         @@ -306,9 +306,9 @@ module Aws::S3 
     | 
|
| 
       306 
306 
     | 
    
         
             
                # @option options [String] :checksum_crc32
         
     | 
| 
       307 
307 
     | 
    
         
             
                #   This header can be used as a data integrity check to verify that the
         
     | 
| 
       308 
308 
     | 
    
         
             
                #   data received is the same data that was originally sent. This header
         
     | 
| 
       309 
     | 
    
         
            -
                #   specifies the base64-encoded, 32-bit  
     | 
| 
       310 
     | 
    
         
            -
                #   more information, see [Checking object integrity][1] in the 
     | 
| 
       311 
     | 
    
         
            -
                #   User Guide*.
         
     | 
| 
      
 309 
     | 
    
         
            +
                #   specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
         
     | 
| 
      
 310 
     | 
    
         
            +
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
      
 311 
     | 
    
         
            +
                #   *Amazon S3 User Guide*.
         
     | 
| 
       312 
312 
     | 
    
         
             
                #
         
     | 
| 
       313 
313 
     | 
    
         
             
                #
         
     | 
| 
       314 
314 
     | 
    
         
             
                #
         
     | 
| 
         @@ -316,7 +316,7 @@ module Aws::S3 
     | 
|
| 
       316 
316 
     | 
    
         
             
                # @option options [String] :checksum_crc32c
         
     | 
| 
       317 
317 
     | 
    
         
             
                #   This header can be used as a data integrity check to verify that the
         
     | 
| 
       318 
318 
     | 
    
         
             
                #   data received is the same data that was originally sent. This header
         
     | 
| 
       319 
     | 
    
         
            -
                #   specifies the base64-encoded, 32-bit  
     | 
| 
      
 319 
     | 
    
         
            +
                #   specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
         
     | 
| 
       320 
320 
     | 
    
         
             
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       321 
321 
     | 
    
         
             
                #   *Amazon S3 User Guide*.
         
     | 
| 
       322 
322 
     | 
    
         
             
                #
         
     | 
| 
         @@ -609,3 +609,6 @@ module Aws::S3 
     | 
|
| 
       609 
609 
     | 
    
         
             
                class Collection < Aws::Resources::Collection; end
         
     | 
| 
       610 
610 
     | 
    
         
             
              end
         
     | 
| 
       611 
611 
     | 
    
         
             
            end
         
     | 
| 
      
 612 
     | 
    
         
            +
             
     | 
| 
      
 613 
     | 
    
         
            +
            # Load customizations if they exist
         
     | 
| 
      
 614 
     | 
    
         
            +
            require 'aws-sdk-s3/customizations/multipart_upload'
         
     | 
| 
         @@ -78,9 +78,9 @@ module Aws::S3 
     | 
|
| 
       78 
78 
     | 
    
         | 
| 
       79 
79 
     | 
    
         
             
                # This header can be used as a data integrity check to verify that the
         
     | 
| 
       80 
80 
     | 
    
         
             
                # data received is the same data that was originally sent. This header
         
     | 
| 
       81 
     | 
    
         
            -
                # specifies the base64-encoded, 32-bit  
     | 
| 
       82 
     | 
    
         
            -
                # more information, see [Checking object integrity][1] in the 
     | 
| 
       83 
     | 
    
         
            -
                # User Guide*.
         
     | 
| 
      
 81 
     | 
    
         
            +
                # specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
         
     | 
| 
      
 82 
     | 
    
         
            +
                # For more information, see [Checking object integrity][1] in the
         
     | 
| 
      
 83 
     | 
    
         
            +
                # *Amazon S3 User Guide*.
         
     | 
| 
       84 
84 
     | 
    
         
             
                #
         
     | 
| 
       85 
85 
     | 
    
         
             
                #
         
     | 
| 
       86 
86 
     | 
    
         
             
                #
         
     | 
| 
         @@ -90,7 +90,7 @@ module Aws::S3 
     | 
|
| 
       90 
90 
     | 
    
         
             
                  data[:checksum_crc32]
         
     | 
| 
       91 
91 
     | 
    
         
             
                end
         
     | 
| 
       92 
92 
     | 
    
         | 
| 
       93 
     | 
    
         
            -
                # The base64-encoded, 32-bit  
     | 
| 
      
 93 
     | 
    
         
            +
                # The base64-encoded, 32-bit CRC-32C checksum of the object. This will
         
     | 
| 
       94 
94 
     | 
    
         
             
                # only be present if it was uploaded with the object. When you use an
         
     | 
| 
       95 
95 
     | 
    
         
             
                # API operation on an object that was uploaded using multipart uploads,
         
     | 
| 
       96 
96 
     | 
    
         
             
                # this value may not be a direct checksum value of the full object.
         
     | 
| 
         @@ -558,9 +558,9 @@ module Aws::S3 
     | 
|
| 
       558 
558 
     | 
    
         
             
                # @option options [String] :checksum_crc32
         
     | 
| 
       559 
559 
     | 
    
         
             
                #   This header can be used as a data integrity check to verify that the
         
     | 
| 
       560 
560 
     | 
    
         
             
                #   data received is the same data that was originally sent. This header
         
     | 
| 
       561 
     | 
    
         
            -
                #   specifies the base64-encoded, 32-bit  
     | 
| 
       562 
     | 
    
         
            -
                #   more information, see [Checking object integrity][1] in the 
     | 
| 
       563 
     | 
    
         
            -
                #   User Guide*.
         
     | 
| 
      
 561 
     | 
    
         
            +
                #   specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
         
     | 
| 
      
 562 
     | 
    
         
            +
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
      
 563 
     | 
    
         
            +
                #   *Amazon S3 User Guide*.
         
     | 
| 
       564 
564 
     | 
    
         
             
                #
         
     | 
| 
       565 
565 
     | 
    
         
             
                #
         
     | 
| 
       566 
566 
     | 
    
         
             
                #
         
     | 
| 
         @@ -568,7 +568,7 @@ module Aws::S3 
     | 
|
| 
       568 
568 
     | 
    
         
             
                # @option options [String] :checksum_crc32c
         
     | 
| 
       569 
569 
     | 
    
         
             
                #   This header can be used as a data integrity check to verify that the
         
     | 
| 
       570 
570 
     | 
    
         
             
                #   data received is the same data that was originally sent. This header
         
     | 
| 
       571 
     | 
    
         
            -
                #   specifies the base64-encoded, 32-bit  
     | 
| 
      
 571 
     | 
    
         
            +
                #   specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
         
     | 
| 
       572 
572 
     | 
    
         
             
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       573 
573 
     | 
    
         
             
                #   *Amazon S3 User Guide*.
         
     | 
| 
       574 
574 
     | 
    
         
             
                #
         
     | 
    
        data/lib/aws-sdk-s3/object.rb
    CHANGED
    
    | 
         @@ -132,7 +132,7 @@ module Aws::S3 
     | 
|
| 
       132 
132 
     | 
    
         
             
                  data[:content_length]
         
     | 
| 
       133 
133 
     | 
    
         
             
                end
         
     | 
| 
       134 
134 
     | 
    
         | 
| 
       135 
     | 
    
         
            -
                # The base64-encoded, 32-bit  
     | 
| 
      
 135 
     | 
    
         
            +
                # The base64-encoded, 32-bit CRC-32 checksum of the object. This will
         
     | 
| 
       136 
136 
     | 
    
         
             
                # only be present if it was uploaded with the object. When you use an
         
     | 
| 
       137 
137 
     | 
    
         
             
                # API operation on an object that was uploaded using multipart uploads,
         
     | 
| 
       138 
138 
     | 
    
         
             
                # this value may not be a direct checksum value of the full object.
         
     | 
| 
         @@ -149,7 +149,7 @@ module Aws::S3 
     | 
|
| 
       149 
149 
     | 
    
         
             
                  data[:checksum_crc32]
         
     | 
| 
       150 
150 
     | 
    
         
             
                end
         
     | 
| 
       151 
151 
     | 
    
         | 
| 
       152 
     | 
    
         
            -
                # The base64-encoded, 32-bit  
     | 
| 
      
 152 
     | 
    
         
            +
                # The base64-encoded, 32-bit CRC-32C checksum of the object. This will
         
     | 
| 
       153 
153 
     | 
    
         
             
                # only be present if it was uploaded with the object. When you use an
         
     | 
| 
       154 
154 
     | 
    
         
             
                # API operation on an object that was uploaded using multipart uploads,
         
     | 
| 
       155 
155 
     | 
    
         
             
                # this value may not be a direct checksum value of the full object.
         
     | 
| 
         @@ -2457,13 +2457,13 @@ module Aws::S3 
     | 
|
| 
       2457 
2457 
     | 
    
         
             
                #   For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
         
     | 
| 
       2458 
2458 
     | 
    
         
             
                #   the supported algorithm from the following list:
         
     | 
| 
       2459 
2459 
     | 
    
         
             
                #
         
     | 
| 
       2460 
     | 
    
         
            -
                #   * CRC32
         
     | 
| 
      
 2460 
     | 
    
         
            +
                #   * `CRC32`
         
     | 
| 
       2461 
2461 
     | 
    
         
             
                #
         
     | 
| 
       2462 
     | 
    
         
            -
                #   * CRC32C
         
     | 
| 
      
 2462 
     | 
    
         
            +
                #   * `CRC32C`
         
     | 
| 
       2463 
2463 
     | 
    
         
             
                #
         
     | 
| 
       2464 
     | 
    
         
            -
                #   * SHA1
         
     | 
| 
      
 2464 
     | 
    
         
            +
                #   * `SHA1`
         
     | 
| 
       2465 
2465 
     | 
    
         
             
                #
         
     | 
| 
       2466 
     | 
    
         
            -
                #   * SHA256
         
     | 
| 
      
 2466 
     | 
    
         
            +
                #   * `SHA256`
         
     | 
| 
       2467 
2467 
     | 
    
         
             
                #
         
     | 
| 
       2468 
2468 
     | 
    
         
             
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       2469 
2469 
     | 
    
         
             
                #   *Amazon S3 User Guide*.
         
     | 
| 
         @@ -2485,9 +2485,9 @@ module Aws::S3 
     | 
|
| 
       2485 
2485 
     | 
    
         
             
                # @option options [String] :checksum_crc32
         
     | 
| 
       2486 
2486 
     | 
    
         
             
                #   This header can be used as a data integrity check to verify that the
         
     | 
| 
       2487 
2487 
     | 
    
         
             
                #   data received is the same data that was originally sent. This header
         
     | 
| 
       2488 
     | 
    
         
            -
                #   specifies the base64-encoded, 32-bit  
     | 
| 
       2489 
     | 
    
         
            -
                #   more information, see [Checking object integrity][1] in the 
     | 
| 
       2490 
     | 
    
         
            -
                #   User Guide*.
         
     | 
| 
      
 2488 
     | 
    
         
            +
                #   specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
         
     | 
| 
      
 2489 
     | 
    
         
            +
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
      
 2490 
     | 
    
         
            +
                #   *Amazon S3 User Guide*.
         
     | 
| 
       2491 
2491 
     | 
    
         
             
                #
         
     | 
| 
       2492 
2492 
     | 
    
         
             
                #
         
     | 
| 
       2493 
2493 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2495,7 +2495,7 @@ module Aws::S3 
     | 
|
| 
       2495 
2495 
     | 
    
         
             
                # @option options [String] :checksum_crc32c
         
     | 
| 
       2496 
2496 
     | 
    
         
             
                #   This header can be used as a data integrity check to verify that the
         
     | 
| 
       2497 
2497 
     | 
    
         
             
                #   data received is the same data that was originally sent. This header
         
     | 
| 
       2498 
     | 
    
         
            -
                #   specifies the base64-encoded, 32-bit  
     | 
| 
      
 2498 
     | 
    
         
            +
                #   specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
         
     | 
| 
       2499 
2499 
     | 
    
         
             
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       2500 
2500 
     | 
    
         
             
                #   *Amazon S3 User Guide*.
         
     | 
| 
       2501 
2501 
     | 
    
         
             
                #
         
     | 
| 
         @@ -3376,13 +3376,13 @@ module Aws::S3 
     | 
|
| 
       3376 
3376 
     | 
    
         
             
                  #   For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
         
     | 
| 
       3377 
3377 
     | 
    
         
             
                  #   the supported algorithm from the following list:
         
     | 
| 
       3378 
3378 
     | 
    
         
             
                  #
         
     | 
| 
       3379 
     | 
    
         
            -
                  #   * CRC32
         
     | 
| 
      
 3379 
     | 
    
         
            +
                  #   * `CRC32`
         
     | 
| 
       3380 
3380 
     | 
    
         
             
                  #
         
     | 
| 
       3381 
     | 
    
         
            -
                  #   * CRC32C
         
     | 
| 
      
 3381 
     | 
    
         
            +
                  #   * `CRC32C`
         
     | 
| 
       3382 
3382 
     | 
    
         
             
                  #
         
     | 
| 
       3383 
     | 
    
         
            -
                  #   * SHA1
         
     | 
| 
      
 3383 
     | 
    
         
            +
                  #   * `SHA1`
         
     | 
| 
       3384 
3384 
     | 
    
         
             
                  #
         
     | 
| 
       3385 
     | 
    
         
            -
                  #   * SHA256
         
     | 
| 
      
 3385 
     | 
    
         
            +
                  #   * `SHA256`
         
     | 
| 
       3386 
3386 
     | 
    
         
             
                  #
         
     | 
| 
       3387 
3387 
     | 
    
         
             
                  #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       3388 
3388 
     | 
    
         
             
                  #   *Amazon S3 User Guide*.
         
     | 
| 
         @@ -3423,3 +3423,6 @@ module Aws::S3 
     | 
|
| 
       3423 
3423 
     | 
    
         
             
                end
         
     | 
| 
       3424 
3424 
     | 
    
         
             
              end
         
     | 
| 
       3425 
3425 
     | 
    
         
             
            end
         
     | 
| 
      
 3426 
     | 
    
         
            +
             
     | 
| 
      
 3427 
     | 
    
         
            +
            # Load customizations if they exist
         
     | 
| 
      
 3428 
     | 
    
         
            +
            require 'aws-sdk-s3/customizations/object'
         
     | 
| 
         @@ -2107,13 +2107,13 @@ module Aws::S3 
     | 
|
| 
       2107 
2107 
     | 
    
         
             
                #   For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
         
     | 
| 
       2108 
2108 
     | 
    
         
             
                #   the supported algorithm from the following list:
         
     | 
| 
       2109 
2109 
     | 
    
         
             
                #
         
     | 
| 
       2110 
     | 
    
         
            -
                #   * CRC32
         
     | 
| 
      
 2110 
     | 
    
         
            +
                #   * `CRC32`
         
     | 
| 
       2111 
2111 
     | 
    
         
             
                #
         
     | 
| 
       2112 
     | 
    
         
            -
                #   * CRC32C
         
     | 
| 
      
 2112 
     | 
    
         
            +
                #   * `CRC32C`
         
     | 
| 
       2113 
2113 
     | 
    
         
             
                #
         
     | 
| 
       2114 
     | 
    
         
            -
                #   * SHA1
         
     | 
| 
      
 2114 
     | 
    
         
            +
                #   * `SHA1`
         
     | 
| 
       2115 
2115 
     | 
    
         
             
                #
         
     | 
| 
       2116 
     | 
    
         
            -
                #   * SHA256
         
     | 
| 
      
 2116 
     | 
    
         
            +
                #   * `SHA256`
         
     | 
| 
       2117 
2117 
     | 
    
         
             
                #
         
     | 
| 
       2118 
2118 
     | 
    
         
             
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       2119 
2119 
     | 
    
         
             
                #   *Amazon S3 User Guide*.
         
     | 
| 
         @@ -2135,9 +2135,9 @@ module Aws::S3 
     | 
|
| 
       2135 
2135 
     | 
    
         
             
                # @option options [String] :checksum_crc32
         
     | 
| 
       2136 
2136 
     | 
    
         
             
                #   This header can be used as a data integrity check to verify that the
         
     | 
| 
       2137 
2137 
     | 
    
         
             
                #   data received is the same data that was originally sent. This header
         
     | 
| 
       2138 
     | 
    
         
            -
                #   specifies the base64-encoded, 32-bit  
     | 
| 
       2139 
     | 
    
         
            -
                #   more information, see [Checking object integrity][1] in the 
     | 
| 
       2140 
     | 
    
         
            -
                #   User Guide*.
         
     | 
| 
      
 2138 
     | 
    
         
            +
                #   specifies the base64-encoded, 32-bit CRC-32 checksum of the object.
         
     | 
| 
      
 2139 
     | 
    
         
            +
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
      
 2140 
     | 
    
         
            +
                #   *Amazon S3 User Guide*.
         
     | 
| 
       2141 
2141 
     | 
    
         
             
                #
         
     | 
| 
       2142 
2142 
     | 
    
         
             
                #
         
     | 
| 
       2143 
2143 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2145,7 +2145,7 @@ module Aws::S3 
     | 
|
| 
       2145 
2145 
     | 
    
         
             
                # @option options [String] :checksum_crc32c
         
     | 
| 
       2146 
2146 
     | 
    
         
             
                #   This header can be used as a data integrity check to verify that the
         
     | 
| 
       2147 
2147 
     | 
    
         
             
                #   data received is the same data that was originally sent. This header
         
     | 
| 
       2148 
     | 
    
         
            -
                #   specifies the base64-encoded, 32-bit  
     | 
| 
      
 2148 
     | 
    
         
            +
                #   specifies the base64-encoded, 32-bit CRC-32C checksum of the object.
         
     | 
| 
       2149 
2149 
     | 
    
         
             
                #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       2150 
2150 
     | 
    
         
             
                #   *Amazon S3 User Guide*.
         
     | 
| 
       2151 
2151 
     | 
    
         
             
                #
         
     | 
| 
         @@ -2836,13 +2836,13 @@ module Aws::S3 
     | 
|
| 
       2836 
2836 
     | 
    
         
             
                  #   For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
         
     | 
| 
       2837 
2837 
     | 
    
         
             
                  #   the supported algorithm from the following list:
         
     | 
| 
       2838 
2838 
     | 
    
         
             
                  #
         
     | 
| 
       2839 
     | 
    
         
            -
                  #   * CRC32
         
     | 
| 
      
 2839 
     | 
    
         
            +
                  #   * `CRC32`
         
     | 
| 
       2840 
2840 
     | 
    
         
             
                  #
         
     | 
| 
       2841 
     | 
    
         
            -
                  #   * CRC32C
         
     | 
| 
      
 2841 
     | 
    
         
            +
                  #   * `CRC32C`
         
     | 
| 
       2842 
2842 
     | 
    
         
             
                  #
         
     | 
| 
       2843 
     | 
    
         
            -
                  #   * SHA1
         
     | 
| 
      
 2843 
     | 
    
         
            +
                  #   * `SHA1`
         
     | 
| 
       2844 
2844 
     | 
    
         
             
                  #
         
     | 
| 
       2845 
     | 
    
         
            -
                  #   * SHA256
         
     | 
| 
      
 2845 
     | 
    
         
            +
                  #   * `SHA256`
         
     | 
| 
       2846 
2846 
     | 
    
         
             
                  #
         
     | 
| 
       2847 
2847 
     | 
    
         
             
                  #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       2848 
2848 
     | 
    
         
             
                  #   *Amazon S3 User Guide*.
         
     | 
| 
         @@ -2883,3 +2883,6 @@ module Aws::S3 
     | 
|
| 
       2883 
2883 
     | 
    
         
             
                end
         
     | 
| 
       2884 
2884 
     | 
    
         
             
              end
         
     | 
| 
       2885 
2885 
     | 
    
         
             
            end
         
     | 
| 
      
 2886 
     | 
    
         
            +
             
     | 
| 
      
 2887 
     | 
    
         
            +
            # Load customizations if they exist
         
     | 
| 
      
 2888 
     | 
    
         
            +
            require 'aws-sdk-s3/customizations/object_summary'
         
     | 
| 
         @@ -869,13 +869,13 @@ module Aws::S3 
     | 
|
| 
       869 
869 
     | 
    
         
             
                  #   For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
         
     | 
| 
       870 
870 
     | 
    
         
             
                  #   the supported algorithm from the following list:
         
     | 
| 
       871 
871 
     | 
    
         
             
                  #
         
     | 
| 
       872 
     | 
    
         
            -
                  #   * CRC32
         
     | 
| 
      
 872 
     | 
    
         
            +
                  #   * `CRC32`
         
     | 
| 
       873 
873 
     | 
    
         
             
                  #
         
     | 
| 
       874 
     | 
    
         
            -
                  #   * CRC32C
         
     | 
| 
      
 874 
     | 
    
         
            +
                  #   * `CRC32C`
         
     | 
| 
       875 
875 
     | 
    
         
             
                  #
         
     | 
| 
       876 
     | 
    
         
            -
                  #   * SHA1
         
     | 
| 
      
 876 
     | 
    
         
            +
                  #   * `SHA1`
         
     | 
| 
       877 
877 
     | 
    
         
             
                  #
         
     | 
| 
       878 
     | 
    
         
            -
                  #   * SHA256
         
     | 
| 
      
 878 
     | 
    
         
            +
                  #   * `SHA256`
         
     | 
| 
       879 
879 
     | 
    
         
             
                  #
         
     | 
| 
       880 
880 
     | 
    
         
             
                  #   For more information, see [Checking object integrity][1] in the
         
     | 
| 
       881 
881 
     | 
    
         
             
                  #   *Amazon S3 User Guide*.
         
     | 
| 
         @@ -917,3 +917,6 @@ module Aws::S3 
     | 
|
| 
       917 
917 
     | 
    
         
             
                end
         
     | 
| 
       918 
918 
     | 
    
         
             
              end
         
     | 
| 
       919 
919 
     | 
    
         
             
            end
         
     | 
| 
      
 920 
     | 
    
         
            +
             
     | 
| 
      
 921 
     | 
    
         
            +
            # Load customizations if they exist
         
     | 
| 
      
 922 
     | 
    
         
            +
            require 'aws-sdk-s3/customizations/object_version'
         
     |