aws-sdk-pinpoint 1.62.0 → 1.66.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +52 -2
- data/lib/aws-sdk-pinpoint/client_api.rb +16 -0
- data/lib/aws-sdk-pinpoint/types.rb +27 -1
- data/lib/aws-sdk-pinpoint.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6870d1609f5dc63d0a098c834229675d88fb04fcfba645d79569e8d7d19b4ad
|
4
|
+
data.tar.gz: ba810914a7b7dbc7e0fe5e5efc8c203cad5bcc484febd348c8a546370d0f167f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d9e0d2a8dde2e90ce1895566d9110216074a870aa050852a15f0a4185facf7293eb44294e1586f3ae4eef63748a778214c2ebca54ea601e6053db4ccacb6f1c
|
7
|
+
data.tar.gz: f962ef45b7c8978437d6b5a735dced3d0bbf158c391bebc54e8f7aa35fef3f1b4cba6b554b232161784e58fb5c6dc18a15189646f18b02399d2c6fe77f2a80c7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.66.0 (2022-02-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This SDK release adds a new paramater creation date for GetApp and GetApps Api call
|
8
|
+
|
9
|
+
1.65.0 (2022-02-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.64.0 (2022-01-13)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adds JourneyChannelSettings to WriteJourneyRequest
|
18
|
+
|
19
|
+
1.63.0 (2021-12-21)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.62.0 (2021-11-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.66.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
|
|
@@ -175,6 +179,10 @@ module Aws::Pinpoint
|
|
175
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
176
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
177
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
|
+
#
|
178
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
179
187
|
# Set to true to disable SDK automatically adding host prefix
|
180
188
|
# to default service endpoint when available.
|
@@ -297,7 +305,7 @@ module Aws::Pinpoint
|
|
297
305
|
# seconds to wait when opening a HTTP session before raising a
|
298
306
|
# `Timeout::Error`.
|
299
307
|
#
|
300
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
301
309
|
# number of seconds to wait for response data. This value can
|
302
310
|
# safely be set per-request on the session.
|
303
311
|
#
|
@@ -313,6 +321,9 @@ module Aws::Pinpoint
|
|
313
321
|
# disables this behaviour. This value can safely be set per
|
314
322
|
# request on the session.
|
315
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
316
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
317
328
|
# HTTP debug output will be sent to the `:logger`.
|
318
329
|
#
|
@@ -366,6 +377,7 @@ module Aws::Pinpoint
|
|
366
377
|
# resp.application_response.name #=> String
|
367
378
|
# resp.application_response.tags #=> Hash
|
368
379
|
# resp.application_response.tags["__string"] #=> String
|
380
|
+
# resp.application_response.creation_date #=> String
|
369
381
|
#
|
370
382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp AWS API Documentation
|
371
383
|
#
|
@@ -2698,6 +2710,7 @@ module Aws::Pinpoint
|
|
2698
2710
|
# resp.application_response.name #=> String
|
2699
2711
|
# resp.application_response.tags #=> Hash
|
2700
2712
|
# resp.application_response.tags["__string"] #=> String
|
2713
|
+
# resp.application_response.creation_date #=> String
|
2701
2714
|
#
|
2702
2715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp AWS API Documentation
|
2703
2716
|
#
|
@@ -4146,6 +4159,7 @@ module Aws::Pinpoint
|
|
4146
4159
|
# resp.application_response.name #=> String
|
4147
4160
|
# resp.application_response.tags #=> Hash
|
4148
4161
|
# resp.application_response.tags["__string"] #=> String
|
4162
|
+
# resp.application_response.creation_date #=> String
|
4149
4163
|
#
|
4150
4164
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp AWS API Documentation
|
4151
4165
|
#
|
@@ -4276,6 +4290,7 @@ module Aws::Pinpoint
|
|
4276
4290
|
# resp.applications_response.item[0].name #=> String
|
4277
4291
|
# resp.applications_response.item[0].tags #=> Hash
|
4278
4292
|
# resp.applications_response.item[0].tags["__string"] #=> String
|
4293
|
+
# resp.applications_response.item[0].creation_date #=> String
|
4279
4294
|
# resp.applications_response.next_token #=> String
|
4280
4295
|
#
|
4281
4296
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps AWS API Documentation
|
@@ -11991,6 +12006,41 @@ module Aws::Pinpoint
|
|
11991
12006
|
req.send_request(options)
|
11992
12007
|
end
|
11993
12008
|
|
12009
|
+
# Verify an OTP
|
12010
|
+
#
|
12011
|
+
# @option params [required, String] :application_id
|
12012
|
+
#
|
12013
|
+
# @option params [required, Types::VerifyOTPMessageRequestParameters] :verify_otp_message_request_parameters
|
12014
|
+
# Verify OTP message request.
|
12015
|
+
#
|
12016
|
+
# @return [Types::VerifyOTPMessageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12017
|
+
#
|
12018
|
+
# * {Types::VerifyOTPMessageResponse#verification_response #verification_response} => Types::VerificationResponse
|
12019
|
+
#
|
12020
|
+
# @example Request syntax with placeholder values
|
12021
|
+
#
|
12022
|
+
# resp = client.verify_otp_message({
|
12023
|
+
# application_id: "__string", # required
|
12024
|
+
# verify_otp_message_request_parameters: { # required
|
12025
|
+
# destination_identity: "__string", # required
|
12026
|
+
# otp: "__string", # required
|
12027
|
+
# reference_id: "__string", # required
|
12028
|
+
# },
|
12029
|
+
# })
|
12030
|
+
#
|
12031
|
+
# @example Response structure
|
12032
|
+
#
|
12033
|
+
# resp.verification_response.valid #=> Boolean
|
12034
|
+
#
|
12035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VerifyOTPMessage AWS API Documentation
|
12036
|
+
#
|
12037
|
+
# @overload verify_otp_message(params = {})
|
12038
|
+
# @param [Hash] params ({})
|
12039
|
+
def verify_otp_message(params = {}, options = {})
|
12040
|
+
req = build_request(:verify_otp_message, params)
|
12041
|
+
req.send_request(options)
|
12042
|
+
end
|
12043
|
+
|
11994
12044
|
# @!endgroup
|
11995
12045
|
|
11996
12046
|
# @param params ({})
|
@@ -12004,7 +12054,7 @@ module Aws::Pinpoint
|
|
12004
12054
|
params: params,
|
12005
12055
|
config: config)
|
12006
12056
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
12007
|
-
context[:gem_version] = '1.
|
12057
|
+
context[:gem_version] = '1.66.0'
|
12008
12058
|
Seahorse::Client::Request.new(handlers, context)
|
12009
12059
|
end
|
12010
12060
|
|
@@ -755,6 +755,7 @@ module Aws::Pinpoint
|
|
755
755
|
ApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
|
756
756
|
ApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
|
757
757
|
ApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
758
|
+
ApplicationResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
758
759
|
ApplicationResponse.struct_class = Types::ApplicationResponse
|
759
760
|
|
760
761
|
ApplicationSettingsResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
@@ -5096,6 +5097,21 @@ module Aws::Pinpoint
|
|
5096
5097
|
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
5097
5098
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
5098
5099
|
end)
|
5100
|
+
|
5101
|
+
api.add_operation(:verify_otp_message, Seahorse::Model::Operation.new.tap do |o|
|
5102
|
+
o.name = "VerifyOTPMessage"
|
5103
|
+
o.http_method = "POST"
|
5104
|
+
o.http_request_uri = "/v1/apps/{application-id}/verify-otp"
|
5105
|
+
o.input = Shapes::ShapeRef.new(shape: VerifyOTPMessageRequest)
|
5106
|
+
o.output = Shapes::ShapeRef.new(shape: VerifyOTPMessageResponse)
|
5107
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
5108
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
5109
|
+
o.errors << Shapes::ShapeRef.new(shape: PayloadTooLargeException)
|
5110
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
5111
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
5112
|
+
o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException)
|
5113
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
5114
|
+
end)
|
5099
5115
|
end
|
5100
5116
|
|
5101
5117
|
end
|
@@ -1930,13 +1930,18 @@ module Aws::Pinpoint
|
|
1930
1930
|
# required tag key and an associated tag value.
|
1931
1931
|
# @return [Hash<String,String>]
|
1932
1932
|
#
|
1933
|
+
# @!attribute [rw] creation_date
|
1934
|
+
# The date and time when the Application was created.
|
1935
|
+
# @return [String]
|
1936
|
+
#
|
1933
1937
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationResponse AWS API Documentation
|
1934
1938
|
#
|
1935
1939
|
class ApplicationResponse < Struct.new(
|
1936
1940
|
:arn,
|
1937
1941
|
:id,
|
1938
1942
|
:name,
|
1939
|
-
:tags
|
1943
|
+
:tags,
|
1944
|
+
:creation_date)
|
1940
1945
|
SENSITIVE = []
|
1941
1946
|
include Aws::Structure
|
1942
1947
|
end
|
@@ -20010,6 +20015,18 @@ module Aws::Pinpoint
|
|
20010
20015
|
include Aws::Structure
|
20011
20016
|
end
|
20012
20017
|
|
20018
|
+
# @note When making an API call, you may pass VerifyOTPMessageRequest
|
20019
|
+
# data as a hash:
|
20020
|
+
#
|
20021
|
+
# {
|
20022
|
+
# application_id: "__string", # required
|
20023
|
+
# verify_otp_message_request_parameters: { # required
|
20024
|
+
# destination_identity: "__string", # required
|
20025
|
+
# otp: "__string", # required
|
20026
|
+
# reference_id: "__string", # required
|
20027
|
+
# },
|
20028
|
+
# }
|
20029
|
+
#
|
20013
20030
|
# @!attribute [rw] application_id
|
20014
20031
|
# @return [String]
|
20015
20032
|
#
|
@@ -20028,6 +20045,15 @@ module Aws::Pinpoint
|
|
20028
20045
|
|
20029
20046
|
# Verify OTP message request.
|
20030
20047
|
#
|
20048
|
+
# @note When making an API call, you may pass VerifyOTPMessageRequestParameters
|
20049
|
+
# data as a hash:
|
20050
|
+
#
|
20051
|
+
# {
|
20052
|
+
# destination_identity: "__string", # required
|
20053
|
+
# otp: "__string", # required
|
20054
|
+
# reference_id: "__string", # required
|
20055
|
+
# }
|
20056
|
+
#
|
20031
20057
|
# @!attribute [rw] destination_identity
|
20032
20058
|
# The destination identity to send OTP to.
|
20033
20059
|
# @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.66.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-02-10 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.
|
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.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|