aws-sdk-s3control 1.93.0 → 1.95.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +1 -3
- data/lib/aws-sdk-s3control/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-s3control/endpoints.rb +384 -724
- data/lib/aws-sdk-s3control/plugins/endpoints.rb +1 -192
- data/lib/aws-sdk-s3control.rb +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f47b829ab548ba548a8d3b4102ac3e9558038cf76b37dd0eb2d7f40f4c8ea367
|
4
|
+
data.tar.gz: d60683e808443c7eaa1e1f57bff8889e7cbb6d5c0099edaae476695e94c2268d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|