aws-sdk-pinpoint 1.100.0 → 1.102.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: f0abc76572fb639cc906bc2a875d38e483fc94f95f1cb44432d78ff31f9a8360
4
- data.tar.gz: a8052aa0c3105634b6fc5b9c88382ec98af7e21703b5c691cab75043d66ff954
3
+ metadata.gz: fdf8b872b1717c5940759039be7a083812bbea55a5cdc3d29c49ad0eb11942b5
4
+ data.tar.gz: a2a311fa20445863fd1f110aa093cc4297f310a7216b7ac7c888a4786f966b22
5
5
  SHA512:
6
- metadata.gz: 9c76f330cb8ece4b492bc6a8ea3f228724f57115771eea4a3e44abe37fed6916410163ac23adb1df2eaa6d79918911d39128d670578117a7c03562c9e306e3e4
7
- data.tar.gz: 8d97e0ff0c6bb3c14f33abb7be9943c8aa68762b019dd68aca0f48328a2e7f1b69ac0620c48eb4551d977d3a5045de1fd50d65aeeb18d700e84089208df4d160
6
+ metadata.gz: 242410094b9ff7bc4b5089a7dbfbd898472f99c4b5b52cfaf791a6e40940d07b76b5f09b95c1d6c58ac9992b7e96c4c945db6a2bda75ef88c0b5177789406651
7
+ data.tar.gz: 18718f40bcd0bb77ff463e8627f679874bdf2055de65f42cd78f5f8006d048c58ea3505f4bfdabf43eeaab36b5f4c4b7d9207155c8b37d92725c517a9f3f6a0e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.102.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.101.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.100.0 (2024-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.100.0
1
+ 1.102.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_json.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:pinpoint)
40
-
41
39
  module Aws::Pinpoint
42
40
  # An API client for Pinpoint. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -13017,7 +13015,7 @@ module Aws::Pinpoint
13017
13015
  tracer: tracer
13018
13016
  )
13019
13017
  context[:gem_name] = 'aws-sdk-pinpoint'
13020
- context[:gem_version] = '1.100.0'
13018
+ context[:gem_version] = '1.102.0'
13021
13019
  Seahorse::Client::Request.new(handlers, context)
13022
13020
  end
13023
13021
 
@@ -52,15 +52,18 @@ module Aws::Pinpoint
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