aws-sdk-pinpoint 1.61.0 → 1.65.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: 554a7270be976f8cf524196593a0e34b6af030a99da5794c5a97a765912131e6
4
- data.tar.gz: 149ca183170cdd9f9de34375bca3694f62c1d9ac5d6a6d14b75b77b175e077c6
3
+ metadata.gz: 5f5cccbd007af06986df4af090f251e142d3dbed4366d68992a3649e2623cfc3
4
+ data.tar.gz: 9a2556a7a59c47c28c651cee0f8b5140693f66b5ad0cfe926603a42fd206353a
5
5
  SHA512:
6
- metadata.gz: 03f79660a87d1a01b0936e3ed44cbcb308c20cfcb9467a450561c5982be6d882d7a0a7c20325d6df79b95354f23304795ef14f99bf1b3cfe89a226a3db26119c
7
- data.tar.gz: a0be23480ea10ef14e82e9a8289fc237152314f4655449b1647973164345dfce5fbe60794e32d8bd7b0ac38748f80ca3858ba1e6b4d64aa705d04510b298b753
6
+ metadata.gz: 48b6bd3f8192920de92849d4b24b748d11f98ce4eaaa15b3577e95f0b7d7ada5d7f90689bcc0415902033e8aa9b0bb98cbb014fc8424e04a75d4874c1dd1d9c4
7
+ data.tar.gz: b7e1cdd599145c0843b6f3b355150057e7725b0550ebb089d6f233b6f714759ce0d9c1dc28fca0fdcd4c8b13e67d5e4f08875fe8a29d9547aff8aed3e16c108b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.65.0 (2022-02-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.64.0 (2022-01-13)
10
+ ------------------
11
+
12
+ * Feature - Adds JourneyChannelSettings to WriteJourneyRequest
13
+
14
+ 1.63.0 (2021-12-21)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.62.0 (2021-11-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.61.0 (2021-11-26)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.65.0
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::Pinpoint
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
82
 
@@ -119,7 +123,9 @@ module Aws::Pinpoint
119
123
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
124
  # are very aggressive. Construct and pass an instance of
121
125
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
126
+ # enable retries and extended timeouts. Instance profile credential
127
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
128
+ # to true.
123
129
  #
124
130
  # @option options [required, String] :region
125
131
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +179,10 @@ module Aws::Pinpoint
173
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
180
  # a clock skew correction and retry requests with skewed client clocks.
175
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
176
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
187
  # Set to true to disable SDK automatically adding host prefix
178
188
  # to default service endpoint when available.
@@ -295,7 +305,7 @@ module Aws::Pinpoint
295
305
  # seconds to wait when opening a HTTP session before raising a
296
306
  # `Timeout::Error`.
297
307
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
308
+ # @option options [Float] :http_read_timeout (60) The default
299
309
  # number of seconds to wait for response data. This value can
300
310
  # safely be set per-request on the session.
301
311
  #
@@ -311,6 +321,9 @@ module Aws::Pinpoint
311
321
  # disables this behaviour. This value can safely be set per
312
322
  # request on the session.
313
323
  #
324
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
325
+ # in seconds.
326
+ #
314
327
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
328
  # HTTP debug output will be sent to the `:logger`.
316
329
  #
@@ -11989,6 +12002,41 @@ module Aws::Pinpoint
11989
12002
  req.send_request(options)
11990
12003
  end
11991
12004
 
12005
+ # Verify an OTP
12006
+ #
12007
+ # @option params [required, String] :application_id
12008
+ #
12009
+ # @option params [required, Types::VerifyOTPMessageRequestParameters] :verify_otp_message_request_parameters
12010
+ # Verify OTP message request.
12011
+ #
12012
+ # @return [Types::VerifyOTPMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
12013
+ #
12014
+ # * {Types::VerifyOTPMessageResponse#verification_response #verification_response} => Types::VerificationResponse
12015
+ #
12016
+ # @example Request syntax with placeholder values
12017
+ #
12018
+ # resp = client.verify_otp_message({
12019
+ # application_id: "__string", # required
12020
+ # verify_otp_message_request_parameters: { # required
12021
+ # destination_identity: "__string", # required
12022
+ # otp: "__string", # required
12023
+ # reference_id: "__string", # required
12024
+ # },
12025
+ # })
12026
+ #
12027
+ # @example Response structure
12028
+ #
12029
+ # resp.verification_response.valid #=> Boolean
12030
+ #
12031
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VerifyOTPMessage AWS API Documentation
12032
+ #
12033
+ # @overload verify_otp_message(params = {})
12034
+ # @param [Hash] params ({})
12035
+ def verify_otp_message(params = {}, options = {})
12036
+ req = build_request(:verify_otp_message, params)
12037
+ req.send_request(options)
12038
+ end
12039
+
11992
12040
  # @!endgroup
11993
12041
 
11994
12042
  # @param params ({})
@@ -12002,7 +12050,7 @@ module Aws::Pinpoint
12002
12050
  params: params,
12003
12051
  config: config)
12004
12052
  context[:gem_name] = 'aws-sdk-pinpoint'
12005
- context[:gem_version] = '1.61.0'
12053
+ context[:gem_version] = '1.65.0'
12006
12054
  Seahorse::Client::Request.new(handlers, context)
12007
12055
  end
12008
12056
 
@@ -5096,6 +5096,21 @@ module Aws::Pinpoint
5096
5096
  o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
5097
5097
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
5098
5098
  end)
5099
+
5100
+ api.add_operation(:verify_otp_message, Seahorse::Model::Operation.new.tap do |o|
5101
+ o.name = "VerifyOTPMessage"
5102
+ o.http_method = "POST"
5103
+ o.http_request_uri = "/v1/apps/{application-id}/verify-otp"
5104
+ o.input = Shapes::ShapeRef.new(shape: VerifyOTPMessageRequest)
5105
+ o.output = Shapes::ShapeRef.new(shape: VerifyOTPMessageResponse)
5106
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
5107
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
5108
+ o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
5109
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
5110
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
5111
+ o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
5112
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
5113
+ end)
5099
5114
  end
5100
5115
 
5101
5116
  end
@@ -20010,6 +20010,18 @@ module Aws::Pinpoint
20010
20010
  include Aws::Structure
20011
20011
  end
20012
20012
 
20013
+ # @note When making an API call, you may pass VerifyOTPMessageRequest
20014
+ # data as a hash:
20015
+ #
20016
+ # {
20017
+ # application_id: "__string", # required
20018
+ # verify_otp_message_request_parameters: { # required
20019
+ # destination_identity: "__string", # required
20020
+ # otp: "__string", # required
20021
+ # reference_id: "__string", # required
20022
+ # },
20023
+ # }
20024
+ #
20013
20025
  # @!attribute [rw] application_id
20014
20026
  # @return [String]
20015
20027
  #
@@ -20028,6 +20040,15 @@ module Aws::Pinpoint
20028
20040
 
20029
20041
  # Verify OTP message request.
20030
20042
  #
20043
+ # @note When making an API call, you may pass VerifyOTPMessageRequestParameters
20044
+ # data as a hash:
20045
+ #
20046
+ # {
20047
+ # destination_identity: "__string", # required
20048
+ # otp: "__string", # required
20049
+ # reference_id: "__string", # required
20050
+ # }
20051
+ #
20031
20052
  # @!attribute [rw] destination_identity
20032
20053
  # The destination identity to send OTP to.
20033
20054
  # @return [String]
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-pinpoint/customizations'
48
48
  # @!group service
49
49
  module Aws::Pinpoint
50
50
 
51
- GEM_VERSION = '1.61.0'
51
+ GEM_VERSION = '1.65.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pinpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.61.0
4
+ version: 1.65.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-26 00:00:00.000000000 Z
11
+ date: 2022-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.122.0
22
+ version: 3.126.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.122.0
32
+ version: 3.126.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement