aws-sdk-s3 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3/client.rb +1 -1
- data/lib/aws-sdk-s3/client_api.rb +3 -0
- data/lib/aws-sdk-s3/plugins/accelerate.rb +4 -0
- data/lib/aws-sdk-s3/types.rb +12 -2
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3cdb2267f9db3b24c69b3bde9a7ee42637407c0
|
4
|
+
data.tar.gz: ae2c5a0e62aee3b9e6c322d47a9a9d4467ea4fc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d912841c11d6e18bef66d7c99ddca0ced245430d0c86d43382d39aa5ab39d45fabd1151f87ba4c73690b28cb1be0bf6d95b6a5444f0efffee9e9165633e54fd
|
7
|
+
data.tar.gz: e38849a9eb4566eb83aa3ec5d739a141350a8e594a42a6cf030c51494554a25b9678ae5777fa6075870cc7db1abbf67d8a778cc52c1331f968837d965ac01d56
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -49,6 +49,7 @@ module Aws::S3
|
|
49
49
|
BucketVersioningStatus = Shapes::StringShape.new(name: 'BucketVersioningStatus')
|
50
50
|
Buckets = Shapes::ListShape.new(name: 'Buckets')
|
51
51
|
BytesProcessed = Shapes::IntegerShape.new(name: 'BytesProcessed')
|
52
|
+
BytesReturned = Shapes::IntegerShape.new(name: 'BytesReturned')
|
52
53
|
BytesScanned = Shapes::IntegerShape.new(name: 'BytesScanned')
|
53
54
|
CORSConfiguration = Shapes::StructureShape.new(name: 'CORSConfiguration')
|
54
55
|
CORSRule = Shapes::StructureShape.new(name: 'CORSRule')
|
@@ -1460,6 +1461,7 @@ module Aws::S3
|
|
1460
1461
|
|
1461
1462
|
Progress.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: BytesScanned, location_name: "BytesScanned"))
|
1462
1463
|
Progress.add_member(:bytes_processed, Shapes::ShapeRef.new(shape: BytesProcessed, location_name: "BytesProcessed"))
|
1464
|
+
Progress.add_member(:bytes_returned, Shapes::ShapeRef.new(shape: BytesReturned, location_name: "BytesReturned"))
|
1463
1465
|
Progress.struct_class = Types::Progress
|
1464
1466
|
|
1465
1467
|
PutBucketAccelerateConfigurationRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket"))
|
@@ -1792,6 +1794,7 @@ module Aws::S3
|
|
1792
1794
|
|
1793
1795
|
Stats.add_member(:bytes_scanned, Shapes::ShapeRef.new(shape: BytesScanned, location_name: "BytesScanned"))
|
1794
1796
|
Stats.add_member(:bytes_processed, Shapes::ShapeRef.new(shape: BytesProcessed, location_name: "BytesProcessed"))
|
1797
|
+
Stats.add_member(:bytes_returned, Shapes::ShapeRef.new(shape: BytesReturned, location_name: "BytesReturned"))
|
1795
1798
|
Stats.struct_class = Types::Stats
|
1796
1799
|
|
1797
1800
|
StorageClassAnalysis.add_member(:data_export, Shapes::ShapeRef.new(shape: StorageClassAnalysisDataExport, location_name: "DataExport"))
|
@@ -60,6 +60,8 @@ each bucket. [Go here for more information](http://docs.aws.amazon.com/AmazonS3
|
|
60
60
|
endpoint.port = 443
|
61
61
|
endpoint.host = "#{bucket_name}.s3-accelerate.amazonaws.com"
|
62
62
|
context.http_request.endpoint = endpoint.to_s
|
63
|
+
# s3 accelerate endpoint doesn't work with 'expect' header
|
64
|
+
context.http_request.headers.delete('expect')
|
63
65
|
end
|
64
66
|
|
65
67
|
def use_combined_accelerate_dualstack_endpoint(context)
|
@@ -70,6 +72,8 @@ each bucket. [Go here for more information](http://docs.aws.amazon.com/AmazonS3
|
|
70
72
|
endpoint.port = 443
|
71
73
|
endpoint.host = "#{bucket_name}.s3-accelerate.dualstack.amazonaws.com"
|
72
74
|
context.http_request.endpoint = endpoint.to_s
|
75
|
+
# s3 accelerate endpoint doesn't work with 'expect' header
|
76
|
+
context.http_request.headers.delete('expect')
|
73
77
|
end
|
74
78
|
|
75
79
|
def validate_bucket_name!(bucket_name)
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -5794,11 +5794,16 @@ module Aws::S3
|
|
5794
5794
|
# Current number of uncompressed object bytes processed.
|
5795
5795
|
# @return [Integer]
|
5796
5796
|
#
|
5797
|
+
# @!attribute [rw] bytes_returned
|
5798
|
+
# Current number of bytes of records payload data returned.
|
5799
|
+
# @return [Integer]
|
5800
|
+
#
|
5797
5801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Progress AWS API Documentation
|
5798
5802
|
#
|
5799
5803
|
class Progress < Struct.new(
|
5800
5804
|
:bytes_scanned,
|
5801
|
-
:bytes_processed
|
5805
|
+
:bytes_processed,
|
5806
|
+
:bytes_returned)
|
5802
5807
|
include Aws::Structure
|
5803
5808
|
end
|
5804
5809
|
|
@@ -8166,11 +8171,16 @@ module Aws::S3
|
|
8166
8171
|
# Total number of uncompressed object bytes processed.
|
8167
8172
|
# @return [Integer]
|
8168
8173
|
#
|
8174
|
+
# @!attribute [rw] bytes_returned
|
8175
|
+
# Total number of bytes of records payload data returned.
|
8176
|
+
# @return [Integer]
|
8177
|
+
#
|
8169
8178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Stats AWS API Documentation
|
8170
8179
|
#
|
8171
8180
|
class Stats < Struct.new(
|
8172
8181
|
:bytes_scanned,
|
8173
|
-
:bytes_processed
|
8182
|
+
:bytes_processed,
|
8183
|
+
:bytes_returned)
|
8174
8184
|
include Aws::Structure
|
8175
8185
|
end
|
8176
8186
|
|
data/lib/aws-sdk-s3.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.5.2.
|
155
|
+
rubygems_version: 2.5.2.3
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: AWS SDK for Ruby - Amazon S3
|