aws-sdk-pinpoint 1.63.0 → 1.64.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +36 -1
- data/lib/aws-sdk-pinpoint/client_api.rb +15 -0
- data/lib/aws-sdk-pinpoint/types.rb +21 -0
- data/lib/aws-sdk-pinpoint.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fda296de244a60166c900af6217db56729601c67a09f7ab8c8d64935e0f22cca
|
|
4
|
+
data.tar.gz: f539298bb14cb90dc4b4470728fbe4fc824ec2fd347b279787d87e73bdcca078
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 850640418a5a2e67741383cb321bee9e94f2858d351198283336ca92f00c7447ed95c9acd0a07327d8edda8dfdac017ee8567edc40f8cb9642fe143bdf300cb9
|
|
7
|
+
data.tar.gz: edf76bba8385cda70aaee17d470fda21d3eef84bb42a2cf192d2f274946f947ca040b2dfd922863f477e45590bdd67b2c862b6e99018c7e4b7e4b888776c76dd
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.64.0
|
|
@@ -12000,6 +12000,41 @@ module Aws::Pinpoint
|
|
|
12000
12000
|
req.send_request(options)
|
|
12001
12001
|
end
|
|
12002
12002
|
|
|
12003
|
+
# Verify an OTP
|
|
12004
|
+
#
|
|
12005
|
+
# @option params [required, String] :application_id
|
|
12006
|
+
#
|
|
12007
|
+
# @option params [required, Types::VerifyOTPMessageRequestParameters] :verify_otp_message_request_parameters
|
|
12008
|
+
# Verify OTP message request.
|
|
12009
|
+
#
|
|
12010
|
+
# @return [Types::VerifyOTPMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
12011
|
+
#
|
|
12012
|
+
# * {Types::VerifyOTPMessageResponse#verification_response #verification_response} => Types::VerificationResponse
|
|
12013
|
+
#
|
|
12014
|
+
# @example Request syntax with placeholder values
|
|
12015
|
+
#
|
|
12016
|
+
# resp = client.verify_otp_message({
|
|
12017
|
+
# application_id: "__string", # required
|
|
12018
|
+
# verify_otp_message_request_parameters: { # required
|
|
12019
|
+
# destination_identity: "__string", # required
|
|
12020
|
+
# otp: "__string", # required
|
|
12021
|
+
# reference_id: "__string", # required
|
|
12022
|
+
# },
|
|
12023
|
+
# })
|
|
12024
|
+
#
|
|
12025
|
+
# @example Response structure
|
|
12026
|
+
#
|
|
12027
|
+
# resp.verification_response.valid #=> Boolean
|
|
12028
|
+
#
|
|
12029
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VerifyOTPMessage AWS API Documentation
|
|
12030
|
+
#
|
|
12031
|
+
# @overload verify_otp_message(params = {})
|
|
12032
|
+
# @param [Hash] params ({})
|
|
12033
|
+
def verify_otp_message(params = {}, options = {})
|
|
12034
|
+
req = build_request(:verify_otp_message, params)
|
|
12035
|
+
req.send_request(options)
|
|
12036
|
+
end
|
|
12037
|
+
|
|
12003
12038
|
# @!endgroup
|
|
12004
12039
|
|
|
12005
12040
|
# @param params ({})
|
|
@@ -12013,7 +12048,7 @@ module Aws::Pinpoint
|
|
|
12013
12048
|
params: params,
|
|
12014
12049
|
config: config)
|
|
12015
12050
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
|
12016
|
-
context[:gem_version] = '1.
|
|
12051
|
+
context[:gem_version] = '1.64.0'
|
|
12017
12052
|
Seahorse::Client::Request.new(handlers, context)
|
|
12018
12053
|
end
|
|
12019
12054
|
|
|
@@ -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]
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
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.
|
|
4
|
+
version: 1.64.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:
|
|
11
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|