aws-sdk-s3control 1.94.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +1 -1
- 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 +1 -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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.95.0
|
@@ -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
|