aws-sdk-s3control 1.68.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +2 -9
- 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: e9afaef233c49749ba3737c27de61f67705d84d74942827f0400d5f7a15836c0
|
4
|
+
data.tar.gz: '08798528393bdd789dd53946d2dd9e782aa4e5a34ad3eec47f1baf6c35474e07'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b017d76c7a20d2ff199b062e54f2745c6a8e15999c816ab21e790fe5b85bc9abb832579ca49ee6f62541530329433f128205932ad0f1f33bb613d98e42d88b6
|
7
|
+
data.tar.gz: b71fbfc8a5554912f0bccbd13ac06f81533f9c38aa85acfa448263e99c9108335ac654c7dd2872c8c09f122914f7554b2624922b32d713a7ca288c8c11751303
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2023-08-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updates to endpoint ruleset tests to address Smithy validation issues and standardize the capitalization of DualStack.
|
8
|
+
|
4
9
|
1.68.0 (2023-07-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -5568,7 +5568,7 @@ module Aws::S3Control
|
|
5568
5568
|
params: params,
|
5569
5569
|
config: config)
|
5570
5570
|
context[:gem_name] = 'aws-sdk-s3control'
|
5571
|
-
context[:gem_version] = '1.
|
5571
|
+
context[:gem_version] = '1.69.0'
|
5572
5572
|
Seahorse::Client::Request.new(handlers, context)
|
5573
5573
|
end
|
5574
5574
|
|
@@ -24,14 +24,13 @@ module Aws::S3Control
|
|
24
24
|
if Aws::Endpoints::Matchers.string_equals?(region, "snow") && Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
25
25
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
26
26
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
27
|
-
raise ArgumentError, "S3 Snow does not support
|
27
|
+
raise ArgumentError, "S3 Snow does not support DualStack"
|
28
28
|
end
|
29
29
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
30
30
|
raise ArgumentError, "S3 Snow does not support FIPS"
|
31
31
|
end
|
32
32
|
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
33
33
|
end
|
34
|
-
raise ArgumentError, "A valid partition could not be determined"
|
35
34
|
end
|
36
35
|
if Aws::Endpoints::Matchers.set?(outpost_id)
|
37
36
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
@@ -61,7 +60,6 @@ module Aws::S3Control
|
|
61
60
|
end
|
62
61
|
raise ArgumentError, "Invalid region: region was not a valid DNS name."
|
63
62
|
end
|
64
|
-
raise ArgumentError, "A valid partition could not be determined"
|
65
63
|
end
|
66
64
|
if Aws::Endpoints::Matchers.set?(access_point_name) && (access_point_arn = Aws::Endpoints::Matchers.aws_parse_arn(access_point_name))
|
67
65
|
if (arn_type = Aws::Endpoints::Matchers.attr(access_point_arn, "resourceId[0]")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(arn_type, ""))
|
@@ -108,9 +106,7 @@ module Aws::S3Control
|
|
108
106
|
end
|
109
107
|
raise ArgumentError, "Client was configured for partition `#{partition_result['name']}` but ARN has `#{arn_partition['name']}`"
|
110
108
|
end
|
111
|
-
raise ArgumentError, "Could not load partition for ARN region `#{access_point_arn['region']}`"
|
112
109
|
end
|
113
|
-
raise ArgumentError, "A valid partition could not be determined"
|
114
110
|
end
|
115
111
|
raise ArgumentError, "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `#{outpost_id}`"
|
116
112
|
end
|
@@ -164,9 +160,7 @@ module Aws::S3Control
|
|
164
160
|
end
|
165
161
|
raise ArgumentError, "Client was configured for partition `#{partition_result['name']}` but ARN has `#{arn_partition['name']}`"
|
166
162
|
end
|
167
|
-
raise ArgumentError, "A valid partition could not be determined"
|
168
163
|
end
|
169
|
-
raise ArgumentError, "Could not load partition for ARN region `#{bucket_arn['region']}`"
|
170
164
|
end
|
171
165
|
raise ArgumentError, "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `#{outpost_id}`"
|
172
166
|
end
|
@@ -188,7 +182,7 @@ module Aws::S3Control
|
|
188
182
|
end
|
189
183
|
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
190
184
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
191
|
-
raise ArgumentError, "Invalid Configuration:
|
185
|
+
raise ArgumentError, "Invalid Configuration: DualStack and custom endpoint are not supported"
|
192
186
|
end
|
193
187
|
if Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
|
194
188
|
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{account_id}.#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"#{region}"}]})
|
@@ -222,7 +216,6 @@ module Aws::S3Control
|
|
222
216
|
end
|
223
217
|
raise ArgumentError, "Invalid region: region was not a valid DNS name."
|
224
218
|
end
|
225
|
-
raise ArgumentError, "A valid partition could not be determined"
|
226
219
|
end
|
227
220
|
raise ArgumentError, "Region must be set"
|
228
221
|
raise ArgumentError, 'No endpoint could be resolved'
|
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.69.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-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|