aws-sdk-s3 1.220.0 → 1.221.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: 209503790ed7968231eb8a061c0a86295e580e288e95708911b274a04a839c42
4
- data.tar.gz: 6e7e35e1946c198b8d36ebac935cc833860793015f1a6c18697a10995d392ad2
3
+ metadata.gz: 1380f7f8dde3a683f46b0d08aae6508d48b1cc711047b96471a5eaef01e33133
4
+ data.tar.gz: 6cc13851ef2a442b97c7f541ff77e7fce19154ff78c69d23700cfbf635582a72
5
5
  SHA512:
6
- metadata.gz: 81efc2d16f62446ffa7621906a08f4ca6d899033276a5a6e1fca8b03e8839aba9005a2975f4f88f57ecc1ea6cf6815cd5ba6587a54390d93c3dbffe0899b2599
7
- data.tar.gz: 1219f8150c038fe9a1a95b6044d3c66fd5d9c0e420c8e78feff210d284f7986d8afefe2f0f4f818e2ff115b00f9e95628715d79b695c691aa38b1490f6e28151
6
+ metadata.gz: e2009b9b5470edca28977176aa438c750c0b284d8a4e7c8dfe558f3ff4f415765e8666d90fc860701f88c7c101e03d4466011d087107ec4587d7dac854dbafa6
7
+ data.tar.gz: f147472f747032fb22091f81adb808212e550c8fb36d13c33e7bbcd80daf24412f988c18413374c8de10270fe250077fceb973a235ef49706953420eacb58650
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.221.0 (2026-05-06)
5
+ ------------------
6
+
7
+ * Feature - Validate outpost access point resource name
8
+
4
9
  1.220.0 (2026-04-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.220.0
1
+ 1.221.0
@@ -23402,7 +23402,7 @@ module Aws::S3
23402
23402
  tracer: tracer
23403
23403
  )
23404
23404
  context[:gem_name] = 'aws-sdk-s3'
23405
- context[:gem_version] = '1.220.0'
23405
+ context[:gem_version] = '1.221.0'
23406
23406
  Seahorse::Client::Request.new(handlers, context)
23407
23407
  end
23408
23408
 
@@ -710,10 +710,13 @@ module Aws::S3
710
710
  if (outpost_type = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[2]"))
711
711
  if (access_point_name = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[3]"))
712
712
  if Aws::Endpoints::Matchers.string_equals?(outpost_type, "accesspoint")
713
- if Aws::Endpoints::Matchers.set?(parameters.endpoint) && (url = Aws::Endpoints::Matchers.parse_url(parameters.endpoint))
714
- return Aws::Endpoints::Endpoint.new(url: "https://#{access_point_name}-#{bucket_arn['accountId']}.#{outpost_id}.#{url['authority']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4a", "signingName" => "s3-outposts", "signingRegionSet" => ["*"]}, {"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3-outposts", "signingRegion" => "#{bucket_arn['region']}"}]})
713
+ if Aws::Endpoints::Matchers.valid_host_label?(access_point_name, false)
714
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint) && (url = Aws::Endpoints::Matchers.parse_url(parameters.endpoint))
715
+ return Aws::Endpoints::Endpoint.new(url: "https://#{access_point_name}-#{bucket_arn['accountId']}.#{outpost_id}.#{url['authority']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4a", "signingName" => "s3-outposts", "signingRegionSet" => ["*"]}, {"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3-outposts", "signingRegion" => "#{bucket_arn['region']}"}]})
716
+ end
717
+ return Aws::Endpoints::Endpoint.new(url: "https://#{access_point_name}-#{bucket_arn['accountId']}.#{outpost_id}.s3-outposts.#{bucket_arn['region']}.#{bucket_partition['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4a", "signingName" => "s3-outposts", "signingRegionSet" => ["*"]}, {"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3-outposts", "signingRegion" => "#{bucket_arn['region']}"}]})
715
718
  end
716
- return Aws::Endpoints::Endpoint.new(url: "https://#{access_point_name}-#{bucket_arn['accountId']}.#{outpost_id}.s3-outposts.#{bucket_arn['region']}.#{bucket_partition['dnsSuffix']}", headers: {}, properties: {"authSchemes" => [{"disableDoubleEncoding" => true, "name" => "sigv4a", "signingName" => "s3-outposts", "signingRegionSet" => ["*"]}, {"disableDoubleEncoding" => true, "name" => "sigv4", "signingName" => "s3-outposts", "signingRegion" => "#{bucket_arn['region']}"}]})
719
+ raise ArgumentError, "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `#{access_point_name}`"
717
720
  end
718
721
  raise ArgumentError, "Expected an outpost type `accesspoint`, found #{outpost_type}"
719
722
  end
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.220.0'
78
+ GEM_VERSION = '1.221.0'
79
79
 
80
80
  end
81
81
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.220.0
4
+ version: 1.221.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services