aws-sdk-lightsail 1.101.0 → 1.103.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: ad05970f33940183c3f60074a1197b1d42f5b8f5d965a0416bc94a68e7d39cfe
4
- data.tar.gz: e97f2b80bf402c201c0b825ad7dc119e6d8f867339d40c9dffb93bd05a670e9d
3
+ metadata.gz: 2df9d4a04d786956774cd548854eaf565a8b7adbcf31cc286a6a69e3c4c97968
4
+ data.tar.gz: 4789772a6aed7b3cc255aec00d85217cd1f9f4793f759a353bab0d0d1e3dfb5d
5
5
  SHA512:
6
- metadata.gz: dcd84ea3dc9620b5d1814868e29493ef45685edd40dcc789fdb6907909143618d0b4946e763a5fa0c1357730320d9949e6fc9dec3096d510dc4179ddbeb2f3fd
7
- data.tar.gz: 6f16b118da48107f8f9ef0fe6ab387b53adf708b3e5c4c66880bd77681f78833d3acf624a7cbe1fa7a23f196859ce7208e6c43db18c3b623cdbd87a634676318
6
+ metadata.gz: 0aae14eb34946d7bd508d05c1343654ecf714bba2a80103af50fb6a93f0f91eaa8981923d21051694224924717fba0a183a3bcc97bc24efd668a0fcbad838827
7
+ data.tar.gz: c0b282ca9de716184d593922915d0f837a05dacd4433069598e2c8fe34fbfea9a316314a8c329e029e66254882f58ad3837a4a4377c0e8522ea3baae270606ed
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.103.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.102.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.101.0 (2024-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.101.0
1
+ 1.103.0
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
36
36
  require 'aws-sdk-core/plugins/sign.rb'
37
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:lightsail)
40
-
41
39
  module Aws::Lightsail
42
40
  # An API client for Lightsail. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -12450,7 +12448,7 @@ module Aws::Lightsail
12450
12448
  tracer: tracer
12451
12449
  )
12452
12450
  context[:gem_name] = 'aws-sdk-lightsail'
12453
- context[:gem_version] = '1.101.0'
12451
+ context[:gem_version] = '1.103.0'
12454
12452
  Seahorse::Client::Request.new(handlers, context)
12455
12453
  end
12456
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