aws-sdk-cloudfront 1.101.0 → 1.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b7a382745f1e69ac953177761a496b43a668904f9a0aebc687ba5c82ae3ed20
4
- data.tar.gz: 7d0266318aab7c2559452c707a6ff288b76437ff63e5cec99e9ecab822436469
3
+ metadata.gz: c01a921ef70d695f19e419e88fe131cb78e8890b2e48f5d33134f93a858d2cf9
4
+ data.tar.gz: a8a69e420f9f792920beaefa908e80fb18fc08f6b3d68459e5e876d2b30fe0a7
5
5
  SHA512:
6
- metadata.gz: 20dd19d1ac642fb7a7d12c1e1d0013d1bc0c8e0937c9e89f34f4c6392db8f7b892cd58a30c7069522f0c5514f26cc0fc2f0a3ad1f8de10449c412cb51de9c783
7
- data.tar.gz: 826ad7986cd52c37c01544cd0bde418d4728c5756cb467ae12066b1a0ec1e89e313c80c2cedee3e047062095450817b5521c7d7c71f69fa5723dd9c2799e5852
6
+ metadata.gz: 422d3fb7cf566922ad6c16bd4ad50709abf2756a7f8b738487dc4a707424d850eb5448b2c116ee0b298139226c6f015e1f39ae47095b207109c137d03bccdb38
7
+ data.tar.gz: fe6db785e7daabbcbe03aaa34973e1bfd6fb472dcfb3902a2a6ccd9eb740261e284e4796282a48b7aa7243a5d9f022b3eb88c1364e9a6d38b3c92ac20b8be4b7
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/rest_xml.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:cloudfront)
40
-
41
39
  module Aws::CloudFront
42
40
  # An API client for CloudFront. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -9486,7 +9484,7 @@ module Aws::CloudFront
9486
9484
  tracer: tracer
9487
9485
  )
9488
9486
  context[:gem_name] = 'aws-sdk-cloudfront'
9489
- context[:gem_version] = '1.101.0'
9487
+ context[:gem_version] = '1.103.0'
9490
9488
  Seahorse::Client::Request.new(handlers, context)
9491
9489
  end
9492
9490
 
@@ -52,15 +52,18 @@ module Aws::CloudFront
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