aws-sdk-s3control 1.74.0 → 1.76.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: 97b1cad2a91d5de00ed7e311fb527e1a27de5d585554a7f5078e7e39ce0b15a9
4
- data.tar.gz: d13620045ac634ba69ed1a8da37d2aedda82a4ce0682ef05f06725c95815e717
3
+ metadata.gz: e06c76281766522e1f7c12536091d566136ab88ae7b47623d231e7ca593f3abd
4
+ data.tar.gz: f977ea797580ceea03ecab8b45e2388631d4c6cf4f66e1eb5446037bbf6ae88d
5
5
  SHA512:
6
- metadata.gz: 23d24966a3e664ccd6d6d057a25004dcd6e518ef718f9105857ca4c6c7f6519862d22af19ab214abf85314bf12ab4a94ddac4387820bb1b3f1eb36ccb7e09739
7
- data.tar.gz: 4c28ef07dc9eda8fe2fc693dccbff43c55092cea7d527ece53bf29af4ce627448ada444297d5216d57745e0cc958c192df1493c013a267aedad5b976441e3a2f
6
+ metadata.gz: 4487076715377b0a7c7b35b71fdf82b113c8dfb00f97d31295e6ab377978639df601918a64446d373767295ee21652dc73557a98705c018953e1232ad1716aaa
7
+ data.tar.gz: 5474f9337192acd821844038d83cd569da83359f6331e0b88d1012cab333b6d67984a3570029043fc7bfbcc051c534309f83c97cf627ff127956ee39143b32a2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2024-01-12)
5
+ ------------------
6
+
7
+ * Feature - S3 On Outposts team adds dualstack endpoints support for S3Control and S3Outposts API calls.
8
+
9
+ 1.75.0 (2023-12-20)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.74.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.76.0
@@ -7579,7 +7579,7 @@ module Aws::S3Control
7579
7579
  params: params,
7580
7580
  config: config)
7581
7581
  context[:gem_name] = 'aws-sdk-s3control'
7582
- context[:gem_version] = '1.74.0'
7582
+ context[:gem_version] = '1.76.0'
7583
7583
  Seahorse::Client::Request.new(handlers, context)
7584
7584
  end
7585
7585
 
@@ -46,16 +46,22 @@ module Aws::S3Control
46
46
  if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.valid_host_label?(outpost_id, false))
47
47
  raise ArgumentError, "OutpostId must only contain a-z, A-Z, 0-9 and `-`."
48
48
  end
49
+ if Aws::Endpoints::Matchers.set?(endpoint) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
50
+ raise ArgumentError, "Invalid Configuration: DualStack and custom endpoint are not supported"
51
+ end
49
52
  if Aws::Endpoints::Matchers.valid_host_label?(region, true)
50
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
51
- raise ArgumentError, "Invalid configuration: Outposts do not support dual-stack"
52
- end
53
53
  if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
54
54
  return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
55
55
  end
56
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
57
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
58
+ end
56
59
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
57
60
  return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
58
61
  end
62
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
63
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
64
+ end
59
65
  return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{region}"}]})
60
66
  end
61
67
  raise ArgumentError, "Invalid region: region was not a valid DNS name."
@@ -64,11 +70,11 @@ module Aws::S3Control
64
70
  if Aws::Endpoints::Matchers.set?(access_point_name) && (access_point_arn = Aws::Endpoints::Matchers.aws_parse_arn(access_point_name))
65
71
  if (arn_type = Aws::Endpoints::Matchers.attr(access_point_arn, "resourceId[0]")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(arn_type, ""))
66
72
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(access_point_arn, "service"), "s3-outposts")
67
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
68
- raise ArgumentError, "Invalid configuration: Outpost Access Points do not support dual-stack"
69
- end
70
73
  if (outpost_id = Aws::Endpoints::Matchers.attr(access_point_arn, "resourceId[1]"))
71
74
  if Aws::Endpoints::Matchers.valid_host_label?(outpost_id, false)
75
+ if Aws::Endpoints::Matchers.set?(endpoint) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
76
+ raise ArgumentError, "Invalid Configuration: DualStack and custom endpoint are not supported"
77
+ end
72
78
  if Aws::Endpoints::Matchers.set?(use_arn_region) && Aws::Endpoints::Matchers.boolean_equals?(use_arn_region, false) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(access_point_arn, "region"), "#{region}"))
73
79
  raise ArgumentError, "Invalid configuration: region from ARN `#{access_point_arn['region']}` does not match client region `#{region}` and UseArnRegion is `false`"
74
80
  end
@@ -84,9 +90,15 @@ module Aws::S3Control
84
90
  if (outpost_type = Aws::Endpoints::Matchers.attr(access_point_arn, "resourceId[2]"))
85
91
  if (access_point_name = Aws::Endpoints::Matchers.attr(access_point_arn, "resourceId[3]"))
86
92
  if Aws::Endpoints::Matchers.string_equals?(outpost_type, "accesspoint")
93
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
94
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{access_point_arn['region']}.#{arn_partition['dualStackDnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{access_point_arn['region']}"}]})
95
+ end
87
96
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
88
97
  return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{access_point_arn['region']}"}]})
89
98
  end
99
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
100
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{access_point_arn['region']}.#{arn_partition['dualStackDnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{access_point_arn['region']}"}]})
101
+ end
90
102
  if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
91
103
  return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{access_point_arn['region']}"}]})
92
104
  end
@@ -118,11 +130,11 @@ module Aws::S3Control
118
130
  if Aws::Endpoints::Matchers.set?(bucket) && (bucket_arn = Aws::Endpoints::Matchers.aws_parse_arn(bucket))
119
131
  if (arn_type = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[0]")) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(arn_type, ""))
120
132
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(bucket_arn, "service"), "s3-outposts")
121
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
122
- raise ArgumentError, "Invalid configuration: Outpost buckets do not support dual-stack"
123
- end
124
133
  if (outpost_id = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[1]"))
125
134
  if Aws::Endpoints::Matchers.valid_host_label?(outpost_id, false)
135
+ if Aws::Endpoints::Matchers.set?(endpoint) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
136
+ raise ArgumentError, "Invalid Configuration: DualStack and custom endpoint are not supported"
137
+ end
126
138
  if Aws::Endpoints::Matchers.set?(use_arn_region) && Aws::Endpoints::Matchers.boolean_equals?(use_arn_region, false) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(bucket_arn, "region"), "#{region}"))
127
139
  raise ArgumentError, "Invalid configuration: region from ARN `#{bucket_arn['region']}` does not match client region `#{region}` and UseArnRegion is `false`"
128
140
  end
@@ -138,9 +150,15 @@ module Aws::S3Control
138
150
  if (outpost_type = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[2]"))
139
151
  if (bucket_name = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[3]"))
140
152
  if Aws::Endpoints::Matchers.string_equals?(outpost_type, "bucket")
153
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
154
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{bucket_arn['region']}.#{arn_partition['dualStackDnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
155
+ end
141
156
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
142
157
  return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
143
158
  end
159
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
160
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{bucket_arn['region']}.#{arn_partition['dualStackDnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
161
+ end
144
162
  if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
145
163
  return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"#{bucket_arn['region']}"}]})
146
164
  end
@@ -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.74.0'
55
+ GEM_VERSION = '1.76.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.74.0
4
+ version: 1.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4
@@ -77,7 +77,7 @@ licenses:
77
77
  metadata:
78
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3control
79
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3control/CHANGELOG.md
80
- post_install_message:
80
+ post_install_message:
81
81
  rdoc_options: []
82
82
  require_paths:
83
83
  - lib
@@ -92,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 3.1.6
96
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
97
97
  specification_version: 4
98
98
  summary: AWS SDK for Ruby - AWS S3 Control
99
99
  test_files: []