aws-sdk-s3control 1.93.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: e71897b3fae0b72d7187484199ad371016baa48ffcca9b327e669a3e658c41e5
4
- data.tar.gz: 29e57eeab94b51c2db8e1004179173b518e961ce835ed77afb7915efb88cb1f9
3
+ metadata.gz: f47b829ab548ba548a8d3b4102ac3e9558038cf76b37dd0eb2d7f40f4c8ea367
4
+ data.tar.gz: d60683e808443c7eaa1e1f57bff8889e7cbb6d5c0099edaae476695e94c2268d
5
5
  SHA512:
6
- metadata.gz: 2fb27cae8d385a78a6c44049e61c3488fb3b54edc8a44dbfa013a40f5798c9f0a4662f37b402cdc0588b6b7365442c628156428522d778c6985f8237fc3bf0ca
7
- data.tar.gz: 73e6b3e05f942801bddc407b7aedc878b5ed32952565d8920fe1b24c563a170e91f5aecba20185014ec6411b339e79359d7ff05ae2f7ef7c23a05b169745c4a7
6
+ metadata.gz: c564a6ed2666b8ef63bf10c88d83bfd49314d2d5732b938ff6de93c3b40c3fe8126430087214e64885d385ebe46c78bfe88e24809fb66f3aa1689456bb1c443c
7
+ data.tar.gz: 2a8c9344c587c18e50fa147958d0ce1ba79156a1adf6931f774b49f90f7dd83ada03150e6e3d0d6c565c4dfba72488ece8082933b520b3861ddcc3c8e7dac925
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.94.0 (2024-09-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.93.0 (2024-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.93.0
1
+ 1.95.0
@@ -39,8 +39,6 @@ require 'aws-sdk-s3control/plugins/arn.rb'
39
39
  require 'aws-sdk-s3control/plugins/dualstack.rb'
40
40
  require 'aws-sdk-s3control/plugins/s3_host_id.rb'
41
41
 
42
- Aws::Plugins::GlobalConfiguration.add_identifier(:s3control)
43
-
44
42
  module Aws::S3Control
45
43
  # An API client for S3Control. To construct a client, you need to configure a `:region` and `:credentials`.
46
44
  #
@@ -7725,7 +7723,7 @@ module Aws::S3Control
7725
7723
  tracer: tracer
7726
7724
  )
7727
7725
  context[:gem_name] = 'aws-sdk-s3control'
7728
- context[:gem_version] = '1.93.0'
7726
+ context[:gem_version] = '1.95.0'
7729
7727
  Seahorse::Client::Request.new(handlers, context)
7730
7728
  end
7731
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