aws-sdk-pinpoint 1.21.0 → 1.22.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/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +1 -1
- data/lib/aws-sdk-pinpoint/client_api.rb +24 -0
- data/lib/aws-sdk-pinpoint/errors.rb +126 -0
- data/lib/aws-sdk-pinpoint/types.rb +96 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0b5831e8d8fe3445b5dc6df45358e122a3a5817
|
4
|
+
data.tar.gz: d5e2c6fd99d26664e7bf2062ec166a7c84be689d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07cd7bc4998b503b94502b3b5b1a5a1c41dbc73f8fca816fd2b96b6a9f027eb6385a5ce2f49e4ced44c99c3abdcbb1440d869b4c9ea2162390f132950fca6a74
|
7
|
+
data.tar.gz: a702e39498a89a248b37899ed06fa327b49a011cbf05b52ca5653c3653a43492d76fb96f78434914f281be0591911b442d667e08e926419038467f896d04aeb4
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
@@ -6823,7 +6823,7 @@ module Aws::Pinpoint
|
|
6823
6823
|
params: params,
|
6824
6824
|
config: config)
|
6825
6825
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
6826
|
-
context[:gem_version] = '1.
|
6826
|
+
context[:gem_version] = '1.22.0'
|
6827
6827
|
Seahorse::Client::Request.new(handlers, context)
|
6828
6828
|
end
|
6829
6829
|
|
@@ -545,6 +545,10 @@ module Aws::Pinpoint
|
|
545
545
|
AttributesResource.add_member(:attributes, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Attributes"))
|
546
546
|
AttributesResource.struct_class = Types::AttributesResource
|
547
547
|
|
548
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
549
|
+
BadRequestException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
550
|
+
BadRequestException.struct_class = Types::BadRequestException
|
551
|
+
|
548
552
|
BaiduChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
549
553
|
BaiduChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
550
554
|
BaiduChannelRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: __string, location_name: "SecretKey"))
|
@@ -1058,6 +1062,10 @@ module Aws::Pinpoint
|
|
1058
1062
|
ExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
1059
1063
|
ExportJobsResponse.struct_class = Types::ExportJobsResponse
|
1060
1064
|
|
1065
|
+
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
1066
|
+
ForbiddenException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
1067
|
+
ForbiddenException.struct_class = Types::ForbiddenException
|
1068
|
+
|
1061
1069
|
GCMChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
|
1062
1070
|
GCMChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
|
1063
1071
|
GCMChannelRequest.struct_class = Types::GCMChannelRequest
|
@@ -1431,6 +1439,10 @@ module Aws::Pinpoint
|
|
1431
1439
|
ImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
|
1432
1440
|
ImportJobsResponse.struct_class = Types::ImportJobsResponse
|
1433
1441
|
|
1442
|
+
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
1443
|
+
InternalServerErrorException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
1444
|
+
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
1445
|
+
|
1434
1446
|
ItemResponse.add_member(:endpoint_item_response, Shapes::ShapeRef.new(shape: EndpointItemResponse, location_name: "EndpointItemResponse"))
|
1435
1447
|
ItemResponse.add_member(:events_item_response, Shapes::ShapeRef.new(shape: MapOfEventItemResponse, location_name: "EventsItemResponse"))
|
1436
1448
|
ItemResponse.struct_class = Types::ItemResponse
|
@@ -1566,10 +1578,18 @@ module Aws::Pinpoint
|
|
1566
1578
|
MessageResult.add_member(:updated_token, Shapes::ShapeRef.new(shape: __string, location_name: "UpdatedToken"))
|
1567
1579
|
MessageResult.struct_class = Types::MessageResult
|
1568
1580
|
|
1581
|
+
MethodNotAllowedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
1582
|
+
MethodNotAllowedException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
1583
|
+
MethodNotAllowedException.struct_class = Types::MethodNotAllowedException
|
1584
|
+
|
1569
1585
|
MetricDimension.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: __string, location_name: "ComparisonOperator"))
|
1570
1586
|
MetricDimension.add_member(:value, Shapes::ShapeRef.new(shape: __double, location_name: "Value"))
|
1571
1587
|
MetricDimension.struct_class = Types::MetricDimension
|
1572
1588
|
|
1589
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
1590
|
+
NotFoundException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
1591
|
+
NotFoundException.struct_class = Types::NotFoundException
|
1592
|
+
|
1573
1593
|
NumberValidateRequest.add_member(:iso_country_code, Shapes::ShapeRef.new(shape: __string, location_name: "IsoCountryCode"))
|
1574
1594
|
NumberValidateRequest.add_member(:phone_number, Shapes::ShapeRef.new(shape: __string, location_name: "PhoneNumber"))
|
1575
1595
|
NumberValidateRequest.struct_class = Types::NumberValidateRequest
|
@@ -1820,6 +1840,10 @@ module Aws::Pinpoint
|
|
1820
1840
|
TagsModel.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, required: true, location_name: "tags"))
|
1821
1841
|
TagsModel.struct_class = Types::TagsModel
|
1822
1842
|
|
1843
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
|
1844
|
+
TooManyRequestsException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
1845
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
1846
|
+
|
1823
1847
|
TreatmentResource.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
1824
1848
|
TreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
|
1825
1849
|
TreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
|
@@ -10,5 +10,131 @@ module Aws::Pinpoint
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class BadRequestException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Pinpoint::Types::BadRequestException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def request_id
|
29
|
+
@data[:request_id]
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
class ForbiddenException < ServiceError
|
35
|
+
|
36
|
+
# @param [Seahorse::Client::RequestContext] context
|
37
|
+
# @param [String] message
|
38
|
+
# @param [Aws::Pinpoint::Types::ForbiddenException] data
|
39
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
40
|
+
super(context, message, data)
|
41
|
+
end
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
def message
|
45
|
+
@message || @data[:message]
|
46
|
+
end
|
47
|
+
|
48
|
+
# @return [String]
|
49
|
+
def request_id
|
50
|
+
@data[:request_id]
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
|
55
|
+
class InternalServerErrorException < ServiceError
|
56
|
+
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
58
|
+
# @param [String] message
|
59
|
+
# @param [Aws::Pinpoint::Types::InternalServerErrorException] data
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
61
|
+
super(context, message, data)
|
62
|
+
end
|
63
|
+
|
64
|
+
# @return [String]
|
65
|
+
def message
|
66
|
+
@message || @data[:message]
|
67
|
+
end
|
68
|
+
|
69
|
+
# @return [String]
|
70
|
+
def request_id
|
71
|
+
@data[:request_id]
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
class MethodNotAllowedException < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::Pinpoint::Types::MethodNotAllowedException] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def message
|
87
|
+
@message || @data[:message]
|
88
|
+
end
|
89
|
+
|
90
|
+
# @return [String]
|
91
|
+
def request_id
|
92
|
+
@data[:request_id]
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
class NotFoundException < ServiceError
|
98
|
+
|
99
|
+
# @param [Seahorse::Client::RequestContext] context
|
100
|
+
# @param [String] message
|
101
|
+
# @param [Aws::Pinpoint::Types::NotFoundException] data
|
102
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
103
|
+
super(context, message, data)
|
104
|
+
end
|
105
|
+
|
106
|
+
# @return [String]
|
107
|
+
def message
|
108
|
+
@message || @data[:message]
|
109
|
+
end
|
110
|
+
|
111
|
+
# @return [String]
|
112
|
+
def request_id
|
113
|
+
@data[:request_id]
|
114
|
+
end
|
115
|
+
|
116
|
+
end
|
117
|
+
|
118
|
+
class TooManyRequestsException < ServiceError
|
119
|
+
|
120
|
+
# @param [Seahorse::Client::RequestContext] context
|
121
|
+
# @param [String] message
|
122
|
+
# @param [Aws::Pinpoint::Types::TooManyRequestsException] data
|
123
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
124
|
+
super(context, message, data)
|
125
|
+
end
|
126
|
+
|
127
|
+
# @return [String]
|
128
|
+
def message
|
129
|
+
@message || @data[:message]
|
130
|
+
end
|
131
|
+
|
132
|
+
# @return [String]
|
133
|
+
def request_id
|
134
|
+
@data[:request_id]
|
135
|
+
end
|
136
|
+
|
137
|
+
end
|
138
|
+
|
13
139
|
end
|
14
140
|
end
|
@@ -1240,6 +1240,22 @@ module Aws::Pinpoint
|
|
1240
1240
|
include Aws::Structure
|
1241
1241
|
end
|
1242
1242
|
|
1243
|
+
# Simple message object.
|
1244
|
+
#
|
1245
|
+
# @!attribute [rw] message
|
1246
|
+
# @return [String]
|
1247
|
+
#
|
1248
|
+
# @!attribute [rw] request_id
|
1249
|
+
# @return [String]
|
1250
|
+
#
|
1251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BadRequestException AWS API Documentation
|
1252
|
+
#
|
1253
|
+
class BadRequestException < Struct.new(
|
1254
|
+
:message,
|
1255
|
+
:request_id)
|
1256
|
+
include Aws::Structure
|
1257
|
+
end
|
1258
|
+
|
1243
1259
|
# Baidu Cloud Push credentials
|
1244
1260
|
#
|
1245
1261
|
# @note When making an API call, you may pass BaiduChannelRequest
|
@@ -4783,6 +4799,22 @@ module Aws::Pinpoint
|
|
4783
4799
|
include Aws::Structure
|
4784
4800
|
end
|
4785
4801
|
|
4802
|
+
# Simple message object.
|
4803
|
+
#
|
4804
|
+
# @!attribute [rw] message
|
4805
|
+
# @return [String]
|
4806
|
+
#
|
4807
|
+
# @!attribute [rw] request_id
|
4808
|
+
# @return [String]
|
4809
|
+
#
|
4810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ForbiddenException AWS API Documentation
|
4811
|
+
#
|
4812
|
+
class ForbiddenException < Struct.new(
|
4813
|
+
:message,
|
4814
|
+
:request_id)
|
4815
|
+
include Aws::Structure
|
4816
|
+
end
|
4817
|
+
|
4786
4818
|
# Google Cloud Messaging credentials
|
4787
4819
|
#
|
4788
4820
|
# @note When making an API call, you may pass GCMChannelRequest
|
@@ -6384,6 +6416,22 @@ module Aws::Pinpoint
|
|
6384
6416
|
include Aws::Structure
|
6385
6417
|
end
|
6386
6418
|
|
6419
|
+
# Simple message object.
|
6420
|
+
#
|
6421
|
+
# @!attribute [rw] message
|
6422
|
+
# @return [String]
|
6423
|
+
#
|
6424
|
+
# @!attribute [rw] request_id
|
6425
|
+
# @return [String]
|
6426
|
+
#
|
6427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InternalServerErrorException AWS API Documentation
|
6428
|
+
#
|
6429
|
+
class InternalServerErrorException < Struct.new(
|
6430
|
+
:message,
|
6431
|
+
:request_id)
|
6432
|
+
include Aws::Structure
|
6433
|
+
end
|
6434
|
+
|
6387
6435
|
# The response that's provided after registering the endpoint.
|
6388
6436
|
#
|
6389
6437
|
# @!attribute [rw] endpoint_item_response
|
@@ -7000,6 +7048,22 @@ module Aws::Pinpoint
|
|
7000
7048
|
include Aws::Structure
|
7001
7049
|
end
|
7002
7050
|
|
7051
|
+
# Simple message object.
|
7052
|
+
#
|
7053
|
+
# @!attribute [rw] message
|
7054
|
+
# @return [String]
|
7055
|
+
#
|
7056
|
+
# @!attribute [rw] request_id
|
7057
|
+
# @return [String]
|
7058
|
+
#
|
7059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MethodNotAllowedException AWS API Documentation
|
7060
|
+
#
|
7061
|
+
class MethodNotAllowedException < Struct.new(
|
7062
|
+
:message,
|
7063
|
+
:request_id)
|
7064
|
+
include Aws::Structure
|
7065
|
+
end
|
7066
|
+
|
7003
7067
|
# Custom metric dimension
|
7004
7068
|
#
|
7005
7069
|
# @note When making an API call, you may pass MetricDimension
|
@@ -7028,6 +7092,22 @@ module Aws::Pinpoint
|
|
7028
7092
|
include Aws::Structure
|
7029
7093
|
end
|
7030
7094
|
|
7095
|
+
# Simple message object.
|
7096
|
+
#
|
7097
|
+
# @!attribute [rw] message
|
7098
|
+
# @return [String]
|
7099
|
+
#
|
7100
|
+
# @!attribute [rw] request_id
|
7101
|
+
# @return [String]
|
7102
|
+
#
|
7103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/NotFoundException AWS API Documentation
|
7104
|
+
#
|
7105
|
+
class NotFoundException < Struct.new(
|
7106
|
+
:message,
|
7107
|
+
:request_id)
|
7108
|
+
include Aws::Structure
|
7109
|
+
end
|
7110
|
+
|
7031
7111
|
# Phone Number Validate request.
|
7032
7112
|
#
|
7033
7113
|
# @note When making an API call, you may pass NumberValidateRequest
|
@@ -9302,6 +9382,22 @@ module Aws::Pinpoint
|
|
9302
9382
|
include Aws::Structure
|
9303
9383
|
end
|
9304
9384
|
|
9385
|
+
# Simple message object.
|
9386
|
+
#
|
9387
|
+
# @!attribute [rw] message
|
9388
|
+
# @return [String]
|
9389
|
+
#
|
9390
|
+
# @!attribute [rw] request_id
|
9391
|
+
# @return [String]
|
9392
|
+
#
|
9393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TooManyRequestsException AWS API Documentation
|
9394
|
+
#
|
9395
|
+
class TooManyRequestsException < Struct.new(
|
9396
|
+
:message,
|
9397
|
+
:request_id)
|
9398
|
+
include Aws::Structure
|
9399
|
+
end
|
9400
|
+
|
9305
9401
|
# Treatment resource
|
9306
9402
|
#
|
9307
9403
|
# @!attribute [rw] id
|
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.22.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: 2019-05-
|
11
|
+
date: 2019-05-21 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.53.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.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|