aws-sdk-s3control 1.108.0 → 1.109.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78adc5b50fef941aa6f5675b1d46ae191b80b97096b41fc218bdbf342e0ecc74
4
- data.tar.gz: 843be2318f5b623fb79b170ef589bdda2e88b454f7bb83f2cba5b1db1ce2d68d
3
+ metadata.gz: 273a24122fc56c19fe39f4e9d652a87599408ea413f4dc818bdbf2277e2655d5
4
+ data.tar.gz: a557c985258cd0234c46fbf7363d0827e8c90e14b9197e56103fdba12360c628
5
5
  SHA512:
6
- metadata.gz: a08447fe0996dd31628569f37ee6d3a04f865ed69afa01f1138443dd164d04e0701c79dcd10d36036ab66104d24ec3afa1f31aef47bc2cdb3b87d4b7ea4227fb
7
- data.tar.gz: c194c875e5f8ee43ec98f0fb844e8df9204697a5fd7be0114237d750289f04b23e182567211ed4f1ce92584d015c853821dcd1363c4fa2b5b57a6e3884175097
6
+ metadata.gz: 8a2cd12ab65592a6337522c6d5ffa7663b1f14387926e26f37821eb42e1b8934503c64a1035eeca84925c30387297fa96d42f5ae33b4eab4eb912a9dd7f212d4
7
+ data.tar.gz: b6ba96badf78138db9387052073c29635ee618d5251afd29083ed608578624c594e2c0997267cc1d78f60375d7ace36db629413684fd3e9828a361603620a1c6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.109.0 (2025-05-12)
5
+ ------------------
6
+
7
+ * Feature - Updates to support S3 Express zonal endpoints for directory buckets in AWS CLI
8
+
4
9
  1.108.0 (2025-05-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.108.0
1
+ 1.109.0
@@ -206,8 +206,7 @@ module Aws::S3Control
206
206
  # accepted modes and the configuration defaults that are included.
207
207
  #
208
208
  # @option options [Boolean] :disable_host_prefix_injection (false)
209
- # Set to true to disable SDK automatically adding host prefix
210
- # to default service endpoint when available.
209
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
211
210
  #
212
211
  # @option options [Boolean] :disable_request_compression (false)
213
212
  # When set to 'true' the request body will not be compressed
@@ -7986,7 +7985,7 @@ module Aws::S3Control
7986
7985
  tracer: tracer
7987
7986
  )
7988
7987
  context[:gem_name] = 'aws-sdk-s3control'
7989
- context[:gem_version] = '1.108.0'
7988
+ context[:gem_version] = '1.109.0'
7990
7989
  Seahorse::Client::Request.new(handlers, context)
7991
7990
  end
7992
7991
 
@@ -48,9 +48,15 @@ module Aws::S3Control
48
48
  end
49
49
  if Aws::Endpoints::Matchers.set?(parameters.access_point_name) && (access_point_suffix = Aws::Endpoints::Matchers.substring(parameters.access_point_name, 0, 7, true)) && Aws::Endpoints::Matchers.string_equals?(access_point_suffix, "--xa-s3")
50
50
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
51
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
52
+ raise ArgumentError, "Invalid Configuration: DualStack and custom endpoint are not supported"
53
+ end
51
54
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
52
55
  raise ArgumentError, "S3Express does not support Dual-stack."
53
56
  end
57
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint) && (url = Aws::Endpoints::Matchers.parse_url(parameters.endpoint))
58
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
59
+ end
54
60
  if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.access_point_name, 7, 15, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.access_point_name, 15, 17, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
55
61
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
56
62
  return Aws::Endpoints::Endpoint.new(url: "https://s3express-control-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
@@ -86,6 +92,15 @@ module Aws::S3Control
86
92
  end
87
93
  if Aws::Endpoints::Matchers.set?(parameters.use_s3_express_control_endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_s3_express_control_endpoint, true)
88
94
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
95
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
96
+ raise ArgumentError, "Invalid Configuration: DualStack and custom endpoint are not supported"
97
+ end
98
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
99
+ raise ArgumentError, "S3Express does not support Dual-stack."
100
+ end
101
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint) && (url = Aws::Endpoints::Matchers.parse_url(parameters.endpoint))
102
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
103
+ end
89
104
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
90
105
  return Aws::Endpoints::Endpoint.new(url: "https://s3express-control-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3express", "signingRegion" => "#{parameters.region}"}]})
91
106
  end
@@ -54,7 +54,7 @@ module Aws::S3Control
54
54
  autoload :EndpointProvider, 'aws-sdk-s3control/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-s3control/endpoints'
56
56
 
57
- GEM_VERSION = '1.108.0'
57
+ GEM_VERSION = '1.109.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.108.0
4
+ version: 1.109.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services