aws-sdk-s3 1.59.0 → 1.59.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56a084b264a62ecd413e0981f9132eda98a997a1
4
- data.tar.gz: 78b93ead5b67220e64d60718b4d698680c29be0a
3
+ metadata.gz: 81106488f8ac9816cb2cfc01b0fe059b1d4184f9
4
+ data.tar.gz: 830159b8b5f321003449a6f3e1256d4de59dd8cc
5
5
  SHA512:
6
- metadata.gz: 35366f62816b3fe599b3d458d1c82d563fcc9bd8c3bb8140c3cdd0ccb3ebb6d870e2daf31cede1dc42cc44b038a16dbd18f341ae67ad4cade2bc994cbf0d4da8
7
- data.tar.gz: 4176091e22f65685143e705277df35d981bd88bd95d281bfa0a1763547a5928e2ddf8451d2d1a40b962d71eec99a051458c8cf9b2c0e515814b2175eff28c6e4
6
+ metadata.gz: 3fef7fd900d1f8a0a432e11548e3383d0eb103a0a117230d1711404a0b3127f4f88784886d5b6e3b859df1053a1a1ad00bb7c867d3e2b0e0316d06971a3be0ee
7
+ data.tar.gz: 63b3f71eaabad0f7b1ae7ab08d278048f28bb82804754a3969b4d5b10ee3066ca4ef840f4d2310c3bfab58793d5867f8fa8d19bdb5baef4570333e0cec37e3db
@@ -63,6 +63,6 @@ require_relative 'aws-sdk-s3/event_streams'
63
63
  # @service
64
64
  module Aws::S3
65
65
 
66
- GEM_VERSION = '1.59.0'
66
+ GEM_VERSION = '1.59.1'
67
67
 
68
68
  end
@@ -11693,7 +11693,7 @@ module Aws::S3
11693
11693
  params: params,
11694
11694
  config: config)
11695
11695
  context[:gem_name] = 'aws-sdk-s3'
11696
- context[:gem_version] = '1.59.0'
11696
+ context[:gem_version] = '1.59.1'
11697
11697
  Seahorse::Client::Request.new(handlers, context)
11698
11698
  end
11699
11699
 
@@ -103,9 +103,13 @@ module Aws
103
103
  def expires_in(params)
104
104
  if (expires_in = params.delete(:expires_in))
105
105
  if expires_in > ONE_WEEK
106
- msg = "expires_in value of #{expires_in} exceeds one-week maximum"
107
- raise ArgumentError, msg
106
+ raise ArgumentError,
107
+ "expires_in value of #{expires_in} exceeds one-week maximum"
108
+ elsif expires_in <= 0
109
+ raise ArgumentError,
110
+ "expires_in value of #{expires_in} cannot be 0 or less"
108
111
  end
112
+
109
113
  expires_in
110
114
  else
111
115
  FIFTEEN_MINUTES
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.59.0
4
+ version: 1.59.1
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: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2019-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms