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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96562f1e9c8142fffbdb97fc4f56c25910d42e58d37cbf0cd28813b4f0e1c643
4
- data.tar.gz: cd73804a0ee27e8286a578015c99c310489cd0e6396c0f2a7a15da3e4fcb3d9c
3
+ metadata.gz: e9afaef233c49749ba3737c27de61f67705d84d74942827f0400d5f7a15836c0
4
+ data.tar.gz: '08798528393bdd789dd53946d2dd9e782aa4e5a34ad3eec47f1baf6c35474e07'
5
5
  SHA512:
6
- metadata.gz: ca3b02524f06c5f7fde5e7bde87aa92081610e064c4883084b1dc09fdadae6580fc37eeb7393abff1d5fe13989c9c8f56ab8737d086b7db2dedcc2c980086cb8
7
- data.tar.gz: 7ebc198ac84673d7691f86b5739a5a74e71a6460958c9dfba6d90ad9c7b535fbc19f9468dc0225cfa6e21bdd015d24e43e908d5cda61d2ea788855eadd1eddf4
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.68.0
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.68.0'
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 Dual-stack"
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: Dualstack and custom endpoint are not supported"
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'
@@ -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.68.0'
55
+ GEM_VERSION = '1.69.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.68.0
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-07-11 00:00:00.000000000 Z
11
+ date: 2023-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4