aws-sdk-s3 1.95.0 → 1.95.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
  SHA256:
3
- metadata.gz: d19f73a2ffccaaa9cd15cac607af56e59943f884bb908408e5f56e28fc27bb5c
4
- data.tar.gz: 6d78cc39d6200623982c9d96fd7983310da56009f004a4bde7d5a120e1dd67c2
3
+ metadata.gz: 16ec0be28e87b8bcf9b8ce906f10cb817ec7867a8e6860e967b02fcfeed64c48
4
+ data.tar.gz: fb356fb5e5a4143671dddfc070d64bebbaf2989490ef6231d92f8bef256b9d8b
5
5
  SHA512:
6
- metadata.gz: a0c53f6f254417b8d01bd696c6a0ce64c0ba72299186f1bb8ef7b6ce108530cbe815a48d1dbd9be134da0a2bd4858bf966b122fb9c35b01b242a0a989f54ebf3
7
- data.tar.gz: ac8e49b6dde30d3e0a5643cd827a63da27501ae2b0f9f85c0250de361b888448ea3421f683d7081cdee16341907cb15b58e782da6fb46c6b67d6934f5e6fbef0
6
+ metadata.gz: 4b2e0e87de6d178c2410476a64353c17e83098d8c90a0be06deab16cf0b51a4eb85c610f799245a486b12233531cc1dc976dbbbc6f389d35222036f74dab4996
7
+ data.tar.gz: c93856e96c180299e6f02a8df02605b008deda57cc912dae19e10cd54aa3c65cfd5ddcd85128ad48bd7287c07c38ff9a62985f65cebaa7874f36570ef563e2c4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.95.1 (2021-05-24)
5
+ ------------------
6
+
7
+ * Issue - Raise an error when FIPS is in the ARN's region for Access Point and Object Lambda.
8
+
4
9
  1.95.0 (2021-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.95.0
1
+ 1.95.1
data/lib/aws-sdk-s3.rb CHANGED
@@ -69,6 +69,6 @@ require_relative 'aws-sdk-s3/event_streams'
69
69
  # @!group service
70
70
  module Aws::S3
71
71
 
72
- GEM_VERSION = '1.95.0'
72
+ GEM_VERSION = '1.95.1'
73
73
 
74
74
  end
@@ -28,6 +28,11 @@ module Aws
28
28
  'and an account id.'
29
29
  end
30
30
 
31
+ if @region.include?('-fips') || @region.include?('fips-')
32
+ raise ArgumentError,
33
+ 'S3 Access Point ARNs cannot contain a FIPS region'
34
+ end
35
+
31
36
  if @type != 'accesspoint'
32
37
  raise ArgumentError, 'Invalid ARN, resource format is not correct'
33
38
  end
@@ -28,6 +28,11 @@ module Aws
28
28
  'and an account id.'
29
29
  end
30
30
 
31
+ if @region.include?('-fips') || @region.include?('fips-')
32
+ raise ArgumentError,
33
+ 'S3 Access Point ARNs cannot contain a FIPS region'
34
+ end
35
+
31
36
  if @type != 'accesspoint'
32
37
  raise ArgumentError, 'Invalid ARN, resource format is not correct.'
33
38
  end
@@ -13917,7 +13917,7 @@ module Aws::S3
13917
13917
  params: params,
13918
13918
  config: config)
13919
13919
  context[:gem_name] = 'aws-sdk-s3'
13920
- context[:gem_version] = '1.95.0'
13920
+ context[:gem_version] = '1.95.1'
13921
13921
  Seahorse::Client::Request.new(handlers, context)
13922
13922
  end
13923
13923
 
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.95.0
4
+ version: 1.95.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: 2021-05-21 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms