aws-sdk-s3control 1.68.0 → 1.70.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 +10 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e35b2658e2aeb8a28b84378e08c026d60683a39db7e1ed432f6f242f66f0ed2
|
4
|
+
data.tar.gz: 720649aa0eeb801bfffc1081b8da6c1e04caa3c78b5f59a357d0aef21db6425d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95cee8ad90c8b8ab1e5e6c0f06ab201f77336e64f21761a1003b6ebc323b0047961bb75c84c0a64f1efaad03e08b0887b1005785e998d79fd7d8707de176fa90
|
7
|
+
data.tar.gz: 4b521b31c23b69e1264720b66c3ea444597b83abe03c077cd103a08ed2976aedc129ea2d134a638360663ada80e2a2e46a2c1f66832500d9522b4340299e972f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2023-09-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.69.0 (2023-08-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updates to endpoint ruleset tests to address Smithy validation issues and standardize the capitalization of DualStack.
|
13
|
+
|
4
14
|
1.68.0 (2023-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.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.70.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.70.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-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.184.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.184.0
|
47
47
|
description: Official AWS Ruby gem for AWS S3 Control. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|