aws-sdk-lightsail 1.102.0 → 1.104.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6dbb5c3af0e8df15e74cc4aa30466bd2020122d7b872a83b2d730edf5e13f124
4
- data.tar.gz: 3add043be907a06ad48263c9f718f01db6b0148f8d772bc6b24c05fc6d6724c7
3
+ metadata.gz: 47746b32da12a6d3bc954adb2047472b61d3fad34e79391177a77876838932b6
4
+ data.tar.gz: 9261823741c6312957f3da17eb3ed498128c296494a4dc92de8e4b35069bcc23
5
5
  SHA512:
6
- metadata.gz: 9e77735e199ebc11a3fdf2d1be9be10e840574968bc432fa57849bf201ca59554a0d98c2b3489812ca854d47c602aea5afa4606d87cbcaa9013137649bb7498f
7
- data.tar.gz: b13e9df6a6df6f573b0be6afcd2cf0cdf2b5dfb54b9fe2c941f590858c37942855ac9c1413663c6a79ba9c750fcdfdc359a38fc6f7bfb73c2451a2402a945d15
6
+ metadata.gz: 49f2415bc91b468526d4536f9724bb56ad6acf50e572ca88d3c8ede989f632e2d9f30a0d601197c7b3c9451c1dc361362a87d3aa5d213758639dd76d527c4140
7
+ data.tar.gz: 7dd961b35d2e05890beae39f906f4c74f9450c5a2e8e9c06ec6af07aa9869a0282a3b088157e2dbac36ea88db910c587d585e7a98c1a311b482a21e66b57ca7f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.104.0 (2024-11-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.103.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.102.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.102.0
1
+ 1.104.0
@@ -12448,7 +12448,7 @@ module Aws::Lightsail
12448
12448
  tracer: tracer
12449
12449
  )
12450
12450
  context[:gem_name] = 'aws-sdk-lightsail'
12451
- context[:gem_version] = '1.102.0'
12451
+ context[:gem_version] = '1.104.0'
12452
12452
  Seahorse::Client::Request.new(handlers, context)
12453
12453
  end
12454
12454
 
@@ -52,15 +52,18 @@ module Aws::Lightsail
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