aws-sdk-s3control 1.62.0 → 1.63.0

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: 8518ed858e8b2f55cc59a5ba939feb0f5e7b7bfe21a0e3a423b8bae74184fabf
4
- data.tar.gz: 6e537fe63981ff225cc819c21e68e52c1a56cf25ac596baa9163a4f3a78ded7f
3
+ metadata.gz: 7e604480e5a5d9d34d67c75bf882407641f0ecbf863c69c8ab01a7a2d6db4be1
4
+ data.tar.gz: edfc27bb891488552122beae136bf28a07de1b1a9a65b9300bbf4ad9034f4bf7
5
5
  SHA512:
6
- metadata.gz: 3b606c032e2c572b0063123d8a58cfc8ed2a9d2f49366eaa6d3aef4968ec59271359cdb95ec8e76ea728904608ec00693742ec9cc231e94648edea22036d663a
7
- data.tar.gz: 76b09c1a108e43e798fa2eae868728c17739f978b79cec0b11dc6f262bdd61be6c74111c8c2489d3aed2372c7afac7039400b4aa052e74982a5ae483a6ad8cc6
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.62.0
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.62.0'
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")
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-s3control/customizations'
52
52
  # @!group service
53
53
  module Aws::S3Control
54
54
 
55
- GEM_VERSION = '1.62.0'
55
+ GEM_VERSION = '1.63.0'
56
56
 
57
57
  end
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.62.0
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-03-15 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4