aws-sdk-s3control 1.62.0 → 1.63.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +1 -1
- data/lib/aws-sdk-s3control/endpoint_provider.rb +12 -0
- data/lib/aws-sdk-s3control.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e604480e5a5d9d34d67c75bf882407641f0ecbf863c69c8ab01a7a2d6db4be1
|
|
4
|
+
data.tar.gz: edfc27bb891488552122beae136bf28a07de1b1a9a65b9300bbf4ad9034f4bf7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bd3d717efd6b5202125f3a1b01b6cd8d416e968932eff294b4117c41170ea3f9f479c53eaa5bca52e3084d8db39d1755c049d33e560bbd7313ef2c82ac310ef
|
|
7
|
+
data.tar.gz: 9d92d6de61034e036cef367e16bb36f231568990dcd0c2dbded74accca8e8340b00e7e31674342cf701c5dedf9bbd8605032b256627fbe834793628068cfcece
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.63.0 (2023-04-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Provides support for overriding endpoint when region is "snow". This will enable bucket APIs for Amazon S3 Compatible storage on Snow Family devices.
|
|
8
|
+
|
|
4
9
|
1.62.0 (2023-03-15)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.63.0
|
|
@@ -5548,7 +5548,7 @@ module Aws::S3Control
|
|
|
5548
5548
|
params: params,
|
|
5549
5549
|
config: config)
|
|
5550
5550
|
context[:gem_name] = 'aws-sdk-s3control'
|
|
5551
|
-
context[:gem_version] = '1.
|
|
5551
|
+
context[:gem_version] = '1.63.0'
|
|
5552
5552
|
Seahorse::Client::Request.new(handlers, context)
|
|
5553
5553
|
end
|
|
5554
5554
|
|
|
@@ -21,6 +21,18 @@ module Aws::S3Control
|
|
|
21
21
|
access_point_name = parameters.access_point_name
|
|
22
22
|
use_arn_region = parameters.use_arn_region
|
|
23
23
|
if Aws::Endpoints::Matchers.set?(region)
|
|
24
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "snow") && Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
|
25
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
26
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
27
|
+
raise ArgumentError, "S3 Snow does not support Dual-stack"
|
|
28
|
+
end
|
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
30
|
+
raise ArgumentError, "S3 Snow does not support FIPS"
|
|
31
|
+
end
|
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
|
33
|
+
end
|
|
34
|
+
raise ArgumentError, "A valid partition could not be determined"
|
|
35
|
+
end
|
|
24
36
|
if Aws::Endpoints::Matchers.set?(outpost_id)
|
|
25
37
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
26
38
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
|
data/lib/aws-sdk-s3control.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-s3control
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.63.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: 2023-
|
|
11
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sigv4
|