aws-sdk-s3control 1.94.0 → 1.95.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: f6d0e6953c90d6d5c30604168a7b95849dc82c8c591be236d85e7d9eda7e58cf
4
- data.tar.gz: '09170e8a5f448eae9281c68de2753991ddef0c92beea1f2c64d9c89a43ad30fb'
3
+ metadata.gz: f47b829ab548ba548a8d3b4102ac3e9558038cf76b37dd0eb2d7f40f4c8ea367
4
+ data.tar.gz: d60683e808443c7eaa1e1f57bff8889e7cbb6d5c0099edaae476695e94c2268d
5
5
  SHA512:
6
- metadata.gz: 528c92b70a23b267d80018a2318068ec521b429f23d3ee6c65f00d7e0585b82d7cf3f072ace45772cf0c77454aaeee6390042f9fd7c8388d61210c1f3083a23e
7
- data.tar.gz: 07a54c1490b4fd0b4ecdc31dcf6d114e7ae00048dfae1b5ecc5dad7d99e86e02c86e1d5d74b2c5175b179acc31703e6360b27a99382977881426d9dd1c6653e3
6
+ metadata.gz: c564a6ed2666b8ef63bf10c88d83bfd49314d2d5732b938ff6de93c3b40c3fe8126430087214e64885d385ebe46c78bfe88e24809fb66f3aa1689456bb1c443c
7
+ data.tar.gz: 2a8c9344c587c18e50fa147958d0ce1ba79156a1adf6931f774b49f90f7dd83ada03150e6e3d0d6c565c4dfba72488ece8082933b520b3861ddcc3c8e7dac925
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.95.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.94.0 (2024-09-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.94.0
1
+ 1.95.0
@@ -7723,7 +7723,7 @@ module Aws::S3Control
7723
7723
  tracer: tracer
7724
7724
  )
7725
7725
  context[:gem_name] = 'aws-sdk-s3control'
7726
- context[:gem_version] = '1.94.0'
7726
+ context[:gem_version] = '1.95.0'
7727
7727
  Seahorse::Client::Request.new(handlers, context)
7728
7728
  end
7729
7729
 
@@ -94,14 +94,8 @@ module Aws::S3Control
94
94
  self[:region] = options[:region]
95
95
  self[:use_fips] = options[:use_fips]
96
96
  self[:use_fips] = false if self[:use_fips].nil?
97
- if self[:use_fips].nil?
98
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
99
- end
100
97
  self[:use_dual_stack] = options[:use_dual_stack]
101
98
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
102
- if self[:use_dual_stack].nil?
103
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
104
- end
105
99
  self[:endpoint] = options[:endpoint]
106
100
  self[:account_id] = options[:account_id]
107
101
  self[:requires_account_id] = options[:requires_account_id]
@@ -110,5 +104,14 @@ module Aws::S3Control
110
104
  self[:access_point_name] = options[:access_point_name]
111
105
  self[:use_arn_region] = options[:use_arn_region]
112
106
  end
107
+
108
+ def self.create(config, options={})
109
+ new({
110
+ region: config.region,
111
+ use_fips: config.use_fips_endpoint,
112
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
113
+ use_arn_region: config.s3_use_arn_region,
114
+ }.merge(options))
115
+ end
113
116
  end
114
117
  end