aws-sdk-lexmodelsv2 1.63.0 → 1.64.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-lexmodelsv2/client.rb +1 -1
- data/lib/aws-sdk-lexmodelsv2/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-lexmodelsv2/endpoints.rb +2 -1120
- data/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb +1 -210
- data/lib/aws-sdk-lexmodelsv2.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: 9bd351e795d7b53149d96b932122c89e7704ba5dfde50f29aaf33745454292e6
|
4
|
+
data.tar.gz: d29605b234328c76b72b50f202b0cd5947660e5a976f526d18c762b50c51feae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3581b9be900670044e4bfcb6bd9be143dfedcf8b7ec639324e2c65190d66179f36ebd24c0755f736d3a2bba3fcbcf49e8db5e11730ebeb9ace26d3a46ad7841
|
7
|
+
data.tar.gz: 90f8436fc7b20cf4016d6c7833f08d707f8c78a16065fa4b0df785d321598d68751372b17b593ec957d182388ac2b08b5f505026d019c1d38357b25ab5af2f5b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -10498,7 +10498,7 @@ module Aws::LexModelsV2
|
|
10498
10498
|
tracer: tracer
|
10499
10499
|
)
|
10500
10500
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
10501
|
-
context[:gem_version] = '1.
|
10501
|
+
context[:gem_version] = '1.64.0'
|
10502
10502
|
Seahorse::Client::Request.new(handlers, context)
|
10503
10503
|
end
|
10504
10504
|
|
@@ -52,15 +52,18 @@ module Aws::LexModelsV2
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|