aws-sdk-sns 1.0.0.rc1 → 1.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sns.rb +2 -2
- data/lib/aws-sdk-sns/client.rb +1547 -1308
- data/lib/aws-sdk-sns/client_api.rb +702 -704
- data/lib/aws-sdk-sns/errors.rb +4 -13
- data/lib/aws-sdk-sns/platform_application.rb +208 -210
- data/lib/aws-sdk-sns/platform_endpoint.rb +237 -239
- data/lib/aws-sdk-sns/resource.rb +152 -154
- data/lib/aws-sdk-sns/subscription.rb +127 -129
- data/lib/aws-sdk-sns/topic.rb +381 -383
- data/lib/aws-sdk-sns/types.rb +1531 -1287
- metadata +2 -2
@@ -1,749 +1,747 @@
|
|
1
1
|
# WARNING ABOUT GENERATED CODE
|
2
2
|
#
|
3
|
-
# This file is generated. See the contributing for
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
4
|
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
5
|
#
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
|
-
module Aws
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
8
|
+
module Aws::SNS
|
9
|
+
# @api private
|
10
|
+
module ClientApi
|
11
|
+
|
12
|
+
include Seahorse::Model
|
13
|
+
|
14
|
+
ActionsList = Shapes::ListShape.new(name: 'ActionsList')
|
15
|
+
AddPermissionInput = Shapes::StructureShape.new(name: 'AddPermissionInput')
|
16
|
+
AuthorizationErrorException = Shapes::StructureShape.new(name: 'AuthorizationErrorException')
|
17
|
+
Binary = Shapes::BlobShape.new(name: 'Binary')
|
18
|
+
CheckIfPhoneNumberIsOptedOutInput = Shapes::StructureShape.new(name: 'CheckIfPhoneNumberIsOptedOutInput')
|
19
|
+
CheckIfPhoneNumberIsOptedOutResponse = Shapes::StructureShape.new(name: 'CheckIfPhoneNumberIsOptedOutResponse')
|
20
|
+
ConfirmSubscriptionInput = Shapes::StructureShape.new(name: 'ConfirmSubscriptionInput')
|
21
|
+
ConfirmSubscriptionResponse = Shapes::StructureShape.new(name: 'ConfirmSubscriptionResponse')
|
22
|
+
CreateEndpointResponse = Shapes::StructureShape.new(name: 'CreateEndpointResponse')
|
23
|
+
CreatePlatformApplicationInput = Shapes::StructureShape.new(name: 'CreatePlatformApplicationInput')
|
24
|
+
CreatePlatformApplicationResponse = Shapes::StructureShape.new(name: 'CreatePlatformApplicationResponse')
|
25
|
+
CreatePlatformEndpointInput = Shapes::StructureShape.new(name: 'CreatePlatformEndpointInput')
|
26
|
+
CreateTopicInput = Shapes::StructureShape.new(name: 'CreateTopicInput')
|
27
|
+
CreateTopicResponse = Shapes::StructureShape.new(name: 'CreateTopicResponse')
|
28
|
+
DelegatesList = Shapes::ListShape.new(name: 'DelegatesList')
|
29
|
+
DeleteEndpointInput = Shapes::StructureShape.new(name: 'DeleteEndpointInput')
|
30
|
+
DeletePlatformApplicationInput = Shapes::StructureShape.new(name: 'DeletePlatformApplicationInput')
|
31
|
+
DeleteTopicInput = Shapes::StructureShape.new(name: 'DeleteTopicInput')
|
32
|
+
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
33
|
+
EndpointDisabledException = Shapes::StructureShape.new(name: 'EndpointDisabledException')
|
34
|
+
GetEndpointAttributesInput = Shapes::StructureShape.new(name: 'GetEndpointAttributesInput')
|
35
|
+
GetEndpointAttributesResponse = Shapes::StructureShape.new(name: 'GetEndpointAttributesResponse')
|
36
|
+
GetPlatformApplicationAttributesInput = Shapes::StructureShape.new(name: 'GetPlatformApplicationAttributesInput')
|
37
|
+
GetPlatformApplicationAttributesResponse = Shapes::StructureShape.new(name: 'GetPlatformApplicationAttributesResponse')
|
38
|
+
GetSMSAttributesInput = Shapes::StructureShape.new(name: 'GetSMSAttributesInput')
|
39
|
+
GetSMSAttributesResponse = Shapes::StructureShape.new(name: 'GetSMSAttributesResponse')
|
40
|
+
GetSubscriptionAttributesInput = Shapes::StructureShape.new(name: 'GetSubscriptionAttributesInput')
|
41
|
+
GetSubscriptionAttributesResponse = Shapes::StructureShape.new(name: 'GetSubscriptionAttributesResponse')
|
42
|
+
GetTopicAttributesInput = Shapes::StructureShape.new(name: 'GetTopicAttributesInput')
|
43
|
+
GetTopicAttributesResponse = Shapes::StructureShape.new(name: 'GetTopicAttributesResponse')
|
44
|
+
InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
|
45
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
46
|
+
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
47
|
+
ListEndpointsByPlatformApplicationInput = Shapes::StructureShape.new(name: 'ListEndpointsByPlatformApplicationInput')
|
48
|
+
ListEndpointsByPlatformApplicationResponse = Shapes::StructureShape.new(name: 'ListEndpointsByPlatformApplicationResponse')
|
49
|
+
ListOfEndpoints = Shapes::ListShape.new(name: 'ListOfEndpoints')
|
50
|
+
ListOfPlatformApplications = Shapes::ListShape.new(name: 'ListOfPlatformApplications')
|
51
|
+
ListPhoneNumbersOptedOutInput = Shapes::StructureShape.new(name: 'ListPhoneNumbersOptedOutInput')
|
52
|
+
ListPhoneNumbersOptedOutResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersOptedOutResponse')
|
53
|
+
ListPlatformApplicationsInput = Shapes::StructureShape.new(name: 'ListPlatformApplicationsInput')
|
54
|
+
ListPlatformApplicationsResponse = Shapes::StructureShape.new(name: 'ListPlatformApplicationsResponse')
|
55
|
+
ListString = Shapes::ListShape.new(name: 'ListString')
|
56
|
+
ListSubscriptionsByTopicInput = Shapes::StructureShape.new(name: 'ListSubscriptionsByTopicInput')
|
57
|
+
ListSubscriptionsByTopicResponse = Shapes::StructureShape.new(name: 'ListSubscriptionsByTopicResponse')
|
58
|
+
ListSubscriptionsInput = Shapes::StructureShape.new(name: 'ListSubscriptionsInput')
|
59
|
+
ListSubscriptionsResponse = Shapes::StructureShape.new(name: 'ListSubscriptionsResponse')
|
60
|
+
ListTopicsInput = Shapes::StructureShape.new(name: 'ListTopicsInput')
|
61
|
+
ListTopicsResponse = Shapes::StructureShape.new(name: 'ListTopicsResponse')
|
62
|
+
MapStringToString = Shapes::MapShape.new(name: 'MapStringToString')
|
63
|
+
MessageAttributeMap = Shapes::MapShape.new(name: 'MessageAttributeMap')
|
64
|
+
MessageAttributeValue = Shapes::StructureShape.new(name: 'MessageAttributeValue')
|
65
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
66
|
+
OptInPhoneNumberInput = Shapes::StructureShape.new(name: 'OptInPhoneNumberInput')
|
67
|
+
OptInPhoneNumberResponse = Shapes::StructureShape.new(name: 'OptInPhoneNumberResponse')
|
68
|
+
PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
|
69
|
+
PhoneNumberList = Shapes::ListShape.new(name: 'PhoneNumberList')
|
70
|
+
PlatformApplication = Shapes::StructureShape.new(name: 'PlatformApplication')
|
71
|
+
PlatformApplicationDisabledException = Shapes::StructureShape.new(name: 'PlatformApplicationDisabledException')
|
72
|
+
PublishInput = Shapes::StructureShape.new(name: 'PublishInput')
|
73
|
+
PublishResponse = Shapes::StructureShape.new(name: 'PublishResponse')
|
74
|
+
RemovePermissionInput = Shapes::StructureShape.new(name: 'RemovePermissionInput')
|
75
|
+
SetEndpointAttributesInput = Shapes::StructureShape.new(name: 'SetEndpointAttributesInput')
|
76
|
+
SetPlatformApplicationAttributesInput = Shapes::StructureShape.new(name: 'SetPlatformApplicationAttributesInput')
|
77
|
+
SetSMSAttributesInput = Shapes::StructureShape.new(name: 'SetSMSAttributesInput')
|
78
|
+
SetSMSAttributesResponse = Shapes::StructureShape.new(name: 'SetSMSAttributesResponse')
|
79
|
+
SetSubscriptionAttributesInput = Shapes::StructureShape.new(name: 'SetSubscriptionAttributesInput')
|
80
|
+
SetTopicAttributesInput = Shapes::StructureShape.new(name: 'SetTopicAttributesInput')
|
81
|
+
String = Shapes::StringShape.new(name: 'String')
|
82
|
+
SubscribeInput = Shapes::StructureShape.new(name: 'SubscribeInput')
|
83
|
+
SubscribeResponse = Shapes::StructureShape.new(name: 'SubscribeResponse')
|
84
|
+
Subscription = Shapes::StructureShape.new(name: 'Subscription')
|
85
|
+
SubscriptionAttributesMap = Shapes::MapShape.new(name: 'SubscriptionAttributesMap')
|
86
|
+
SubscriptionLimitExceededException = Shapes::StructureShape.new(name: 'SubscriptionLimitExceededException')
|
87
|
+
SubscriptionsList = Shapes::ListShape.new(name: 'SubscriptionsList')
|
88
|
+
ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
|
89
|
+
Topic = Shapes::StructureShape.new(name: 'Topic')
|
90
|
+
TopicAttributesMap = Shapes::MapShape.new(name: 'TopicAttributesMap')
|
91
|
+
TopicLimitExceededException = Shapes::StructureShape.new(name: 'TopicLimitExceededException')
|
92
|
+
TopicsList = Shapes::ListShape.new(name: 'TopicsList')
|
93
|
+
UnsubscribeInput = Shapes::StructureShape.new(name: 'UnsubscribeInput')
|
94
|
+
account = Shapes::StringShape.new(name: 'account')
|
95
|
+
action = Shapes::StringShape.new(name: 'action')
|
96
|
+
attributeName = Shapes::StringShape.new(name: 'attributeName')
|
97
|
+
attributeValue = Shapes::StringShape.new(name: 'attributeValue')
|
98
|
+
authenticateOnUnsubscribe = Shapes::StringShape.new(name: 'authenticateOnUnsubscribe')
|
99
|
+
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
100
|
+
delegate = Shapes::StringShape.new(name: 'delegate')
|
101
|
+
endpoint = Shapes::StringShape.new(name: 'endpoint')
|
102
|
+
label = Shapes::StringShape.new(name: 'label')
|
103
|
+
message = Shapes::StringShape.new(name: 'message')
|
104
|
+
messageId = Shapes::StringShape.new(name: 'messageId')
|
105
|
+
messageStructure = Shapes::StringShape.new(name: 'messageStructure')
|
106
|
+
nextToken = Shapes::StringShape.new(name: 'nextToken')
|
107
|
+
protocol = Shapes::StringShape.new(name: 'protocol')
|
108
|
+
string = Shapes::StringShape.new(name: 'string')
|
109
|
+
subject = Shapes::StringShape.new(name: 'subject')
|
110
|
+
subscriptionARN = Shapes::StringShape.new(name: 'subscriptionARN')
|
111
|
+
token = Shapes::StringShape.new(name: 'token')
|
112
|
+
topicARN = Shapes::StringShape.new(name: 'topicARN')
|
113
|
+
topicName = Shapes::StringShape.new(name: 'topicName')
|
114
|
+
|
115
|
+
ActionsList.member = Shapes::ShapeRef.new(shape: action)
|
116
|
+
|
117
|
+
AddPermissionInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
118
|
+
AddPermissionInput.add_member(:label, Shapes::ShapeRef.new(shape: label, required: true, location_name: "Label"))
|
119
|
+
AddPermissionInput.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: DelegatesList, required: true, location_name: "AWSAccountId"))
|
120
|
+
AddPermissionInput.add_member(:action_name, Shapes::ShapeRef.new(shape: ActionsList, required: true, location_name: "ActionName"))
|
121
|
+
AddPermissionInput.struct_class = Types::AddPermissionInput
|
122
|
+
|
123
|
+
CheckIfPhoneNumberIsOptedOutInput.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "phoneNumber"))
|
124
|
+
CheckIfPhoneNumberIsOptedOutInput.struct_class = Types::CheckIfPhoneNumberIsOptedOutInput
|
125
|
+
|
126
|
+
CheckIfPhoneNumberIsOptedOutResponse.add_member(:is_opted_out, Shapes::ShapeRef.new(shape: boolean, location_name: "isOptedOut"))
|
127
|
+
CheckIfPhoneNumberIsOptedOutResponse.struct_class = Types::CheckIfPhoneNumberIsOptedOutResponse
|
128
|
+
|
129
|
+
ConfirmSubscriptionInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
130
|
+
ConfirmSubscriptionInput.add_member(:token, Shapes::ShapeRef.new(shape: token, required: true, location_name: "Token"))
|
131
|
+
ConfirmSubscriptionInput.add_member(:authenticate_on_unsubscribe, Shapes::ShapeRef.new(shape: authenticateOnUnsubscribe, location_name: "AuthenticateOnUnsubscribe"))
|
132
|
+
ConfirmSubscriptionInput.struct_class = Types::ConfirmSubscriptionInput
|
133
|
+
|
134
|
+
ConfirmSubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, location_name: "SubscriptionArn"))
|
135
|
+
ConfirmSubscriptionResponse.struct_class = Types::ConfirmSubscriptionResponse
|
136
|
+
|
137
|
+
CreateEndpointResponse.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, location_name: "EndpointArn"))
|
138
|
+
CreateEndpointResponse.struct_class = Types::CreateEndpointResponse
|
139
|
+
|
140
|
+
CreatePlatformApplicationInput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
141
|
+
CreatePlatformApplicationInput.add_member(:platform, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Platform"))
|
142
|
+
CreatePlatformApplicationInput.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, required: true, location_name: "Attributes"))
|
143
|
+
CreatePlatformApplicationInput.struct_class = Types::CreatePlatformApplicationInput
|
144
|
+
|
145
|
+
CreatePlatformApplicationResponse.add_member(:platform_application_arn, Shapes::ShapeRef.new(shape: String, location_name: "PlatformApplicationArn"))
|
146
|
+
CreatePlatformApplicationResponse.struct_class = Types::CreatePlatformApplicationResponse
|
147
|
+
|
148
|
+
CreatePlatformEndpointInput.add_member(:platform_application_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PlatformApplicationArn"))
|
149
|
+
CreatePlatformEndpointInput.add_member(:token, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Token"))
|
150
|
+
CreatePlatformEndpointInput.add_member(:custom_user_data, Shapes::ShapeRef.new(shape: String, location_name: "CustomUserData"))
|
151
|
+
CreatePlatformEndpointInput.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, location_name: "Attributes"))
|
152
|
+
CreatePlatformEndpointInput.struct_class = Types::CreatePlatformEndpointInput
|
153
|
+
|
154
|
+
CreateTopicInput.add_member(:name, Shapes::ShapeRef.new(shape: topicName, required: true, location_name: "Name"))
|
155
|
+
CreateTopicInput.struct_class = Types::CreateTopicInput
|
156
|
+
|
157
|
+
CreateTopicResponse.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, location_name: "TopicArn"))
|
158
|
+
CreateTopicResponse.struct_class = Types::CreateTopicResponse
|
159
|
+
|
160
|
+
DelegatesList.member = Shapes::ShapeRef.new(shape: delegate)
|
161
|
+
|
162
|
+
DeleteEndpointInput.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
|
163
|
+
DeleteEndpointInput.struct_class = Types::DeleteEndpointInput
|
164
|
+
|
165
|
+
DeletePlatformApplicationInput.add_member(:platform_application_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PlatformApplicationArn"))
|
166
|
+
DeletePlatformApplicationInput.struct_class = Types::DeletePlatformApplicationInput
|
167
|
+
|
168
|
+
DeleteTopicInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
169
|
+
DeleteTopicInput.struct_class = Types::DeleteTopicInput
|
170
|
+
|
171
|
+
Endpoint.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, location_name: "EndpointArn"))
|
172
|
+
Endpoint.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, location_name: "Attributes"))
|
173
|
+
Endpoint.struct_class = Types::Endpoint
|
174
|
+
|
175
|
+
GetEndpointAttributesInput.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
|
176
|
+
GetEndpointAttributesInput.struct_class = Types::GetEndpointAttributesInput
|
177
|
+
|
178
|
+
GetEndpointAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, location_name: "Attributes"))
|
179
|
+
GetEndpointAttributesResponse.struct_class = Types::GetEndpointAttributesResponse
|
180
|
+
|
181
|
+
GetPlatformApplicationAttributesInput.add_member(:platform_application_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PlatformApplicationArn"))
|
182
|
+
GetPlatformApplicationAttributesInput.struct_class = Types::GetPlatformApplicationAttributesInput
|
183
|
+
|
184
|
+
GetPlatformApplicationAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, location_name: "Attributes"))
|
185
|
+
GetPlatformApplicationAttributesResponse.struct_class = Types::GetPlatformApplicationAttributesResponse
|
186
|
+
|
187
|
+
GetSMSAttributesInput.add_member(:attributes, Shapes::ShapeRef.new(shape: ListString, location_name: "attributes"))
|
188
|
+
GetSMSAttributesInput.struct_class = Types::GetSMSAttributesInput
|
189
|
+
|
190
|
+
GetSMSAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, location_name: "attributes"))
|
191
|
+
GetSMSAttributesResponse.struct_class = Types::GetSMSAttributesResponse
|
192
|
+
|
193
|
+
GetSubscriptionAttributesInput.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, required: true, location_name: "SubscriptionArn"))
|
194
|
+
GetSubscriptionAttributesInput.struct_class = Types::GetSubscriptionAttributesInput
|
195
|
+
|
196
|
+
GetSubscriptionAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: SubscriptionAttributesMap, location_name: "Attributes"))
|
197
|
+
GetSubscriptionAttributesResponse.struct_class = Types::GetSubscriptionAttributesResponse
|
198
|
+
|
199
|
+
GetTopicAttributesInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
200
|
+
GetTopicAttributesInput.struct_class = Types::GetTopicAttributesInput
|
178
201
|
|
179
|
-
|
180
|
-
|
202
|
+
GetTopicAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: TopicAttributesMap, location_name: "Attributes"))
|
203
|
+
GetTopicAttributesResponse.struct_class = Types::GetTopicAttributesResponse
|
181
204
|
|
182
|
-
|
183
|
-
|
205
|
+
ListEndpointsByPlatformApplicationInput.add_member(:platform_application_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PlatformApplicationArn"))
|
206
|
+
ListEndpointsByPlatformApplicationInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
207
|
+
ListEndpointsByPlatformApplicationInput.struct_class = Types::ListEndpointsByPlatformApplicationInput
|
184
208
|
|
185
|
-
|
186
|
-
|
209
|
+
ListEndpointsByPlatformApplicationResponse.add_member(:endpoints, Shapes::ShapeRef.new(shape: ListOfEndpoints, location_name: "Endpoints"))
|
210
|
+
ListEndpointsByPlatformApplicationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
211
|
+
ListEndpointsByPlatformApplicationResponse.struct_class = Types::ListEndpointsByPlatformApplicationResponse
|
187
212
|
|
188
|
-
|
189
|
-
GetSMSAttributesInput.struct_class = Types::GetSMSAttributesInput
|
213
|
+
ListOfEndpoints.member = Shapes::ShapeRef.new(shape: Endpoint)
|
190
214
|
|
191
|
-
|
192
|
-
GetSMSAttributesResponse.struct_class = Types::GetSMSAttributesResponse
|
215
|
+
ListOfPlatformApplications.member = Shapes::ShapeRef.new(shape: PlatformApplication)
|
193
216
|
|
194
|
-
|
195
|
-
|
217
|
+
ListPhoneNumbersOptedOutInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
|
218
|
+
ListPhoneNumbersOptedOutInput.struct_class = Types::ListPhoneNumbersOptedOutInput
|
196
219
|
|
197
|
-
|
198
|
-
|
220
|
+
ListPhoneNumbersOptedOutResponse.add_member(:phone_numbers, Shapes::ShapeRef.new(shape: PhoneNumberList, location_name: "phoneNumbers"))
|
221
|
+
ListPhoneNumbersOptedOutResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
|
222
|
+
ListPhoneNumbersOptedOutResponse.struct_class = Types::ListPhoneNumbersOptedOutResponse
|
199
223
|
|
200
|
-
|
201
|
-
|
224
|
+
ListPlatformApplicationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
225
|
+
ListPlatformApplicationsInput.struct_class = Types::ListPlatformApplicationsInput
|
202
226
|
|
203
|
-
|
204
|
-
|
227
|
+
ListPlatformApplicationsResponse.add_member(:platform_applications, Shapes::ShapeRef.new(shape: ListOfPlatformApplications, location_name: "PlatformApplications"))
|
228
|
+
ListPlatformApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
229
|
+
ListPlatformApplicationsResponse.struct_class = Types::ListPlatformApplicationsResponse
|
205
230
|
|
206
|
-
|
207
|
-
ListEndpointsByPlatformApplicationInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
208
|
-
ListEndpointsByPlatformApplicationInput.struct_class = Types::ListEndpointsByPlatformApplicationInput
|
231
|
+
ListString.member = Shapes::ShapeRef.new(shape: String)
|
209
232
|
|
210
|
-
|
211
|
-
|
212
|
-
|
233
|
+
ListSubscriptionsByTopicInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
234
|
+
ListSubscriptionsByTopicInput.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "NextToken"))
|
235
|
+
ListSubscriptionsByTopicInput.struct_class = Types::ListSubscriptionsByTopicInput
|
213
236
|
|
214
|
-
|
237
|
+
ListSubscriptionsByTopicResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionsList, location_name: "Subscriptions"))
|
238
|
+
ListSubscriptionsByTopicResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "NextToken"))
|
239
|
+
ListSubscriptionsByTopicResponse.struct_class = Types::ListSubscriptionsByTopicResponse
|
215
240
|
|
216
|
-
|
241
|
+
ListSubscriptionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "NextToken"))
|
242
|
+
ListSubscriptionsInput.struct_class = Types::ListSubscriptionsInput
|
217
243
|
|
218
|
-
|
219
|
-
|
244
|
+
ListSubscriptionsResponse.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionsList, location_name: "Subscriptions"))
|
245
|
+
ListSubscriptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "NextToken"))
|
246
|
+
ListSubscriptionsResponse.struct_class = Types::ListSubscriptionsResponse
|
220
247
|
|
221
|
-
|
222
|
-
|
223
|
-
ListPhoneNumbersOptedOutResponse.struct_class = Types::ListPhoneNumbersOptedOutResponse
|
248
|
+
ListTopicsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "NextToken"))
|
249
|
+
ListTopicsInput.struct_class = Types::ListTopicsInput
|
224
250
|
|
225
|
-
|
226
|
-
|
251
|
+
ListTopicsResponse.add_member(:topics, Shapes::ShapeRef.new(shape: TopicsList, location_name: "Topics"))
|
252
|
+
ListTopicsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "NextToken"))
|
253
|
+
ListTopicsResponse.struct_class = Types::ListTopicsResponse
|
227
254
|
|
228
|
-
|
229
|
-
|
230
|
-
ListPlatformApplicationsResponse.struct_class = Types::ListPlatformApplicationsResponse
|
255
|
+
MapStringToString.key = Shapes::ShapeRef.new(shape: String)
|
256
|
+
MapStringToString.value = Shapes::ShapeRef.new(shape: String)
|
231
257
|
|
232
|
-
|
258
|
+
MessageAttributeMap.key = Shapes::ShapeRef.new(shape: String, location_name: "Name")
|
259
|
+
MessageAttributeMap.value = Shapes::ShapeRef.new(shape: MessageAttributeValue, location_name: "Value")
|
233
260
|
|
234
|
-
|
235
|
-
|
236
|
-
|
261
|
+
MessageAttributeValue.add_member(:data_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataType"))
|
262
|
+
MessageAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: String, location_name: "StringValue"))
|
263
|
+
MessageAttributeValue.add_member(:binary_value, Shapes::ShapeRef.new(shape: Binary, location_name: "BinaryValue"))
|
264
|
+
MessageAttributeValue.struct_class = Types::MessageAttributeValue
|
237
265
|
|
238
|
-
|
239
|
-
|
240
|
-
ListSubscriptionsByTopicResponse.struct_class = Types::ListSubscriptionsByTopicResponse
|
266
|
+
OptInPhoneNumberInput.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "phoneNumber"))
|
267
|
+
OptInPhoneNumberInput.struct_class = Types::OptInPhoneNumberInput
|
241
268
|
|
242
|
-
|
243
|
-
ListSubscriptionsInput.struct_class = Types::ListSubscriptionsInput
|
269
|
+
OptInPhoneNumberResponse.struct_class = Types::OptInPhoneNumberResponse
|
244
270
|
|
245
|
-
|
246
|
-
ListSubscriptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "NextToken"))
|
247
|
-
ListSubscriptionsResponse.struct_class = Types::ListSubscriptionsResponse
|
271
|
+
PhoneNumberList.member = Shapes::ShapeRef.new(shape: PhoneNumber)
|
248
272
|
|
249
|
-
|
250
|
-
|
273
|
+
PlatformApplication.add_member(:platform_application_arn, Shapes::ShapeRef.new(shape: String, location_name: "PlatformApplicationArn"))
|
274
|
+
PlatformApplication.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, location_name: "Attributes"))
|
275
|
+
PlatformApplication.struct_class = Types::PlatformApplication
|
251
276
|
|
252
|
-
|
253
|
-
|
254
|
-
|
277
|
+
PublishInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, location_name: "TopicArn"))
|
278
|
+
PublishInput.add_member(:target_arn, Shapes::ShapeRef.new(shape: String, location_name: "TargetArn"))
|
279
|
+
PublishInput.add_member(:phone_number, Shapes::ShapeRef.new(shape: String, location_name: "PhoneNumber"))
|
280
|
+
PublishInput.add_member(:message, Shapes::ShapeRef.new(shape: message, required: true, location_name: "Message"))
|
281
|
+
PublishInput.add_member(:subject, Shapes::ShapeRef.new(shape: subject, location_name: "Subject"))
|
282
|
+
PublishInput.add_member(:message_structure, Shapes::ShapeRef.new(shape: messageStructure, location_name: "MessageStructure"))
|
283
|
+
PublishInput.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
284
|
+
PublishInput.struct_class = Types::PublishInput
|
255
285
|
|
256
|
-
|
257
|
-
|
286
|
+
PublishResponse.add_member(:message_id, Shapes::ShapeRef.new(shape: messageId, location_name: "MessageId"))
|
287
|
+
PublishResponse.struct_class = Types::PublishResponse
|
258
288
|
|
259
|
-
|
260
|
-
|
289
|
+
RemovePermissionInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
290
|
+
RemovePermissionInput.add_member(:label, Shapes::ShapeRef.new(shape: label, required: true, location_name: "Label"))
|
291
|
+
RemovePermissionInput.struct_class = Types::RemovePermissionInput
|
261
292
|
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
MessageAttributeValue.struct_class = Types::MessageAttributeValue
|
293
|
+
SetEndpointAttributesInput.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "EndpointArn"))
|
294
|
+
SetEndpointAttributesInput.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, required: true, location_name: "Attributes"))
|
295
|
+
SetEndpointAttributesInput.struct_class = Types::SetEndpointAttributesInput
|
266
296
|
|
267
|
-
|
268
|
-
|
297
|
+
SetPlatformApplicationAttributesInput.add_member(:platform_application_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PlatformApplicationArn"))
|
298
|
+
SetPlatformApplicationAttributesInput.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, required: true, location_name: "Attributes"))
|
299
|
+
SetPlatformApplicationAttributesInput.struct_class = Types::SetPlatformApplicationAttributesInput
|
269
300
|
|
270
|
-
|
301
|
+
SetSMSAttributesInput.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, required: true, location_name: "attributes"))
|
302
|
+
SetSMSAttributesInput.struct_class = Types::SetSMSAttributesInput
|
271
303
|
|
272
|
-
|
304
|
+
SetSMSAttributesResponse.struct_class = Types::SetSMSAttributesResponse
|
273
305
|
|
274
|
-
|
275
|
-
|
276
|
-
|
306
|
+
SetSubscriptionAttributesInput.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, required: true, location_name: "SubscriptionArn"))
|
307
|
+
SetSubscriptionAttributesInput.add_member(:attribute_name, Shapes::ShapeRef.new(shape: attributeName, required: true, location_name: "AttributeName"))
|
308
|
+
SetSubscriptionAttributesInput.add_member(:attribute_value, Shapes::ShapeRef.new(shape: attributeValue, location_name: "AttributeValue"))
|
309
|
+
SetSubscriptionAttributesInput.struct_class = Types::SetSubscriptionAttributesInput
|
277
310
|
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
PublishInput.add_member(:subject, Shapes::ShapeRef.new(shape: subject, location_name: "Subject"))
|
283
|
-
PublishInput.add_member(:message_structure, Shapes::ShapeRef.new(shape: messageStructure, location_name: "MessageStructure"))
|
284
|
-
PublishInput.add_member(:message_attributes, Shapes::ShapeRef.new(shape: MessageAttributeMap, location_name: "MessageAttributes"))
|
285
|
-
PublishInput.struct_class = Types::PublishInput
|
311
|
+
SetTopicAttributesInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
312
|
+
SetTopicAttributesInput.add_member(:attribute_name, Shapes::ShapeRef.new(shape: attributeName, required: true, location_name: "AttributeName"))
|
313
|
+
SetTopicAttributesInput.add_member(:attribute_value, Shapes::ShapeRef.new(shape: attributeValue, location_name: "AttributeValue"))
|
314
|
+
SetTopicAttributesInput.struct_class = Types::SetTopicAttributesInput
|
286
315
|
|
287
|
-
|
288
|
-
|
316
|
+
SubscribeInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
317
|
+
SubscribeInput.add_member(:protocol, Shapes::ShapeRef.new(shape: protocol, required: true, location_name: "Protocol"))
|
318
|
+
SubscribeInput.add_member(:endpoint, Shapes::ShapeRef.new(shape: endpoint, location_name: "Endpoint"))
|
319
|
+
SubscribeInput.struct_class = Types::SubscribeInput
|
289
320
|
|
290
|
-
|
291
|
-
|
292
|
-
RemovePermissionInput.struct_class = Types::RemovePermissionInput
|
321
|
+
SubscribeResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, location_name: "SubscriptionArn"))
|
322
|
+
SubscribeResponse.struct_class = Types::SubscribeResponse
|
293
323
|
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
SetPlatformApplicationAttributesInput.struct_class = Types::SetPlatformApplicationAttributesInput
|
301
|
-
|
302
|
-
SetSMSAttributesInput.add_member(:attributes, Shapes::ShapeRef.new(shape: MapStringToString, required: true, location_name: "attributes"))
|
303
|
-
SetSMSAttributesInput.struct_class = Types::SetSMSAttributesInput
|
304
|
-
|
305
|
-
SetSMSAttributesResponse.struct_class = Types::SetSMSAttributesResponse
|
306
|
-
|
307
|
-
SetSubscriptionAttributesInput.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, required: true, location_name: "SubscriptionArn"))
|
308
|
-
SetSubscriptionAttributesInput.add_member(:attribute_name, Shapes::ShapeRef.new(shape: attributeName, required: true, location_name: "AttributeName"))
|
309
|
-
SetSubscriptionAttributesInput.add_member(:attribute_value, Shapes::ShapeRef.new(shape: attributeValue, location_name: "AttributeValue"))
|
310
|
-
SetSubscriptionAttributesInput.struct_class = Types::SetSubscriptionAttributesInput
|
311
|
-
|
312
|
-
SetTopicAttributesInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
313
|
-
SetTopicAttributesInput.add_member(:attribute_name, Shapes::ShapeRef.new(shape: attributeName, required: true, location_name: "AttributeName"))
|
314
|
-
SetTopicAttributesInput.add_member(:attribute_value, Shapes::ShapeRef.new(shape: attributeValue, location_name: "AttributeValue"))
|
315
|
-
SetTopicAttributesInput.struct_class = Types::SetTopicAttributesInput
|
316
|
-
|
317
|
-
SubscribeInput.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, required: true, location_name: "TopicArn"))
|
318
|
-
SubscribeInput.add_member(:protocol, Shapes::ShapeRef.new(shape: protocol, required: true, location_name: "Protocol"))
|
319
|
-
SubscribeInput.add_member(:endpoint, Shapes::ShapeRef.new(shape: endpoint, location_name: "Endpoint"))
|
320
|
-
SubscribeInput.struct_class = Types::SubscribeInput
|
321
|
-
|
322
|
-
SubscribeResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, location_name: "SubscriptionArn"))
|
323
|
-
SubscribeResponse.struct_class = Types::SubscribeResponse
|
324
|
-
|
325
|
-
Subscription.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, location_name: "SubscriptionArn"))
|
326
|
-
Subscription.add_member(:owner, Shapes::ShapeRef.new(shape: account, location_name: "Owner"))
|
327
|
-
Subscription.add_member(:protocol, Shapes::ShapeRef.new(shape: protocol, location_name: "Protocol"))
|
328
|
-
Subscription.add_member(:endpoint, Shapes::ShapeRef.new(shape: endpoint, location_name: "Endpoint"))
|
329
|
-
Subscription.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, location_name: "TopicArn"))
|
330
|
-
Subscription.struct_class = Types::Subscription
|
331
|
-
|
332
|
-
SubscriptionAttributesMap.key = Shapes::ShapeRef.new(shape: attributeName)
|
333
|
-
SubscriptionAttributesMap.value = Shapes::ShapeRef.new(shape: attributeValue)
|
334
|
-
|
335
|
-
SubscriptionsList.member = Shapes::ShapeRef.new(shape: Subscription)
|
336
|
-
|
337
|
-
Topic.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, location_name: "TopicArn"))
|
338
|
-
Topic.struct_class = Types::Topic
|
339
|
-
|
340
|
-
TopicAttributesMap.key = Shapes::ShapeRef.new(shape: attributeName)
|
341
|
-
TopicAttributesMap.value = Shapes::ShapeRef.new(shape: attributeValue)
|
342
|
-
|
343
|
-
TopicsList.member = Shapes::ShapeRef.new(shape: Topic)
|
344
|
-
|
345
|
-
UnsubscribeInput.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, required: true, location_name: "SubscriptionArn"))
|
346
|
-
UnsubscribeInput.struct_class = Types::UnsubscribeInput
|
347
|
-
|
348
|
-
|
349
|
-
# @api private
|
350
|
-
API = Seahorse::Model::Api.new.tap do |api|
|
351
|
-
|
352
|
-
api.version = "2010-03-31"
|
353
|
-
|
354
|
-
api.metadata = {
|
355
|
-
"endpointPrefix" => "sns",
|
356
|
-
"protocol" => "query",
|
357
|
-
"serviceFullName" => "Amazon Simple Notification Service",
|
358
|
-
"signatureVersion" => "v4",
|
359
|
-
"xmlNamespace" => "http://sns.amazonaws.com/doc/2010-03-31/",
|
360
|
-
}
|
361
|
-
|
362
|
-
api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
|
363
|
-
o.name = "AddPermission"
|
364
|
-
o.http_method = "POST"
|
365
|
-
o.http_request_uri = "/"
|
366
|
-
o.input = Shapes::ShapeRef.new(shape: AddPermissionInput)
|
367
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
368
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
369
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
370
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
371
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
372
|
-
end)
|
373
|
-
|
374
|
-
api.add_operation(:check_if_phone_number_is_opted_out, Seahorse::Model::Operation.new.tap do |o|
|
375
|
-
o.name = "CheckIfPhoneNumberIsOptedOut"
|
376
|
-
o.http_method = "POST"
|
377
|
-
o.http_request_uri = "/"
|
378
|
-
o.input = Shapes::ShapeRef.new(shape: CheckIfPhoneNumberIsOptedOutInput)
|
379
|
-
o.output = Shapes::ShapeRef.new(shape: CheckIfPhoneNumberIsOptedOutResponse)
|
380
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
381
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
382
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
383
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
384
|
-
end)
|
385
|
-
|
386
|
-
api.add_operation(:confirm_subscription, Seahorse::Model::Operation.new.tap do |o|
|
387
|
-
o.name = "ConfirmSubscription"
|
388
|
-
o.http_method = "POST"
|
389
|
-
o.http_request_uri = "/"
|
390
|
-
o.input = Shapes::ShapeRef.new(shape: ConfirmSubscriptionInput)
|
391
|
-
o.output = Shapes::ShapeRef.new(shape: ConfirmSubscriptionResponse)
|
392
|
-
o.errors << Shapes::ShapeRef.new(shape: SubscriptionLimitExceededException)
|
393
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
394
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
395
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
396
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
397
|
-
end)
|
398
|
-
|
399
|
-
api.add_operation(:create_platform_application, Seahorse::Model::Operation.new.tap do |o|
|
400
|
-
o.name = "CreatePlatformApplication"
|
401
|
-
o.http_method = "POST"
|
402
|
-
o.http_request_uri = "/"
|
403
|
-
o.input = Shapes::ShapeRef.new(shape: CreatePlatformApplicationInput)
|
404
|
-
o.output = Shapes::ShapeRef.new(shape: CreatePlatformApplicationResponse)
|
405
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
406
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
407
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
408
|
-
end)
|
409
|
-
|
410
|
-
api.add_operation(:create_platform_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
411
|
-
o.name = "CreatePlatformEndpoint"
|
412
|
-
o.http_method = "POST"
|
413
|
-
o.http_request_uri = "/"
|
414
|
-
o.input = Shapes::ShapeRef.new(shape: CreatePlatformEndpointInput)
|
415
|
-
o.output = Shapes::ShapeRef.new(shape: CreateEndpointResponse)
|
416
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
417
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
418
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
419
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
420
|
-
end)
|
421
|
-
|
422
|
-
api.add_operation(:create_topic, Seahorse::Model::Operation.new.tap do |o|
|
423
|
-
o.name = "CreateTopic"
|
424
|
-
o.http_method = "POST"
|
425
|
-
o.http_request_uri = "/"
|
426
|
-
o.input = Shapes::ShapeRef.new(shape: CreateTopicInput)
|
427
|
-
o.output = Shapes::ShapeRef.new(shape: CreateTopicResponse)
|
428
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
429
|
-
o.errors << Shapes::ShapeRef.new(shape: TopicLimitExceededException)
|
430
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
431
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
432
|
-
end)
|
433
|
-
|
434
|
-
api.add_operation(:delete_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
435
|
-
o.name = "DeleteEndpoint"
|
436
|
-
o.http_method = "POST"
|
437
|
-
o.http_request_uri = "/"
|
438
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteEndpointInput)
|
439
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
440
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
441
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
442
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
443
|
-
end)
|
444
|
-
|
445
|
-
api.add_operation(:delete_platform_application, Seahorse::Model::Operation.new.tap do |o|
|
446
|
-
o.name = "DeletePlatformApplication"
|
447
|
-
o.http_method = "POST"
|
448
|
-
o.http_request_uri = "/"
|
449
|
-
o.input = Shapes::ShapeRef.new(shape: DeletePlatformApplicationInput)
|
450
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
451
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
452
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
453
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
454
|
-
end)
|
455
|
-
|
456
|
-
api.add_operation(:delete_topic, Seahorse::Model::Operation.new.tap do |o|
|
457
|
-
o.name = "DeleteTopic"
|
458
|
-
o.http_method = "POST"
|
459
|
-
o.http_request_uri = "/"
|
460
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteTopicInput)
|
461
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
462
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
463
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
464
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
465
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
466
|
-
end)
|
467
|
-
|
468
|
-
api.add_operation(:get_endpoint_attributes, Seahorse::Model::Operation.new.tap do |o|
|
469
|
-
o.name = "GetEndpointAttributes"
|
470
|
-
o.http_method = "POST"
|
471
|
-
o.http_request_uri = "/"
|
472
|
-
o.input = Shapes::ShapeRef.new(shape: GetEndpointAttributesInput)
|
473
|
-
o.output = Shapes::ShapeRef.new(shape: GetEndpointAttributesResponse)
|
474
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
475
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
476
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
477
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
478
|
-
end)
|
479
|
-
|
480
|
-
api.add_operation(:get_platform_application_attributes, Seahorse::Model::Operation.new.tap do |o|
|
481
|
-
o.name = "GetPlatformApplicationAttributes"
|
482
|
-
o.http_method = "POST"
|
483
|
-
o.http_request_uri = "/"
|
484
|
-
o.input = Shapes::ShapeRef.new(shape: GetPlatformApplicationAttributesInput)
|
485
|
-
o.output = Shapes::ShapeRef.new(shape: GetPlatformApplicationAttributesResponse)
|
486
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
487
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
488
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
489
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
490
|
-
end)
|
491
|
-
|
492
|
-
api.add_operation(:get_sms_attributes, Seahorse::Model::Operation.new.tap do |o|
|
493
|
-
o.name = "GetSMSAttributes"
|
494
|
-
o.http_method = "POST"
|
495
|
-
o.http_request_uri = "/"
|
496
|
-
o.input = Shapes::ShapeRef.new(shape: GetSMSAttributesInput)
|
497
|
-
o.output = Shapes::ShapeRef.new(shape: GetSMSAttributesResponse)
|
498
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
499
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
500
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
501
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
502
|
-
end)
|
503
|
-
|
504
|
-
api.add_operation(:get_subscription_attributes, Seahorse::Model::Operation.new.tap do |o|
|
505
|
-
o.name = "GetSubscriptionAttributes"
|
506
|
-
o.http_method = "POST"
|
507
|
-
o.http_request_uri = "/"
|
508
|
-
o.input = Shapes::ShapeRef.new(shape: GetSubscriptionAttributesInput)
|
509
|
-
o.output = Shapes::ShapeRef.new(shape: GetSubscriptionAttributesResponse)
|
510
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
511
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
512
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
513
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
514
|
-
end)
|
515
|
-
|
516
|
-
api.add_operation(:get_topic_attributes, Seahorse::Model::Operation.new.tap do |o|
|
517
|
-
o.name = "GetTopicAttributes"
|
518
|
-
o.http_method = "POST"
|
519
|
-
o.http_request_uri = "/"
|
520
|
-
o.input = Shapes::ShapeRef.new(shape: GetTopicAttributesInput)
|
521
|
-
o.output = Shapes::ShapeRef.new(shape: GetTopicAttributesResponse)
|
522
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
523
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
524
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
525
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
526
|
-
end)
|
527
|
-
|
528
|
-
api.add_operation(:list_endpoints_by_platform_application, Seahorse::Model::Operation.new.tap do |o|
|
529
|
-
o.name = "ListEndpointsByPlatformApplication"
|
530
|
-
o.http_method = "POST"
|
531
|
-
o.http_request_uri = "/"
|
532
|
-
o.input = Shapes::ShapeRef.new(shape: ListEndpointsByPlatformApplicationInput)
|
533
|
-
o.output = Shapes::ShapeRef.new(shape: ListEndpointsByPlatformApplicationResponse)
|
534
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
535
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
536
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
537
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
538
|
-
o[:pager] = Aws::Pager.new(
|
539
|
-
tokens: {
|
540
|
-
"next_token" => "next_token"
|
541
|
-
}
|
542
|
-
)
|
543
|
-
end)
|
544
|
-
|
545
|
-
api.add_operation(:list_phone_numbers_opted_out, Seahorse::Model::Operation.new.tap do |o|
|
546
|
-
o.name = "ListPhoneNumbersOptedOut"
|
547
|
-
o.http_method = "POST"
|
548
|
-
o.http_request_uri = "/"
|
549
|
-
o.input = Shapes::ShapeRef.new(shape: ListPhoneNumbersOptedOutInput)
|
550
|
-
o.output = Shapes::ShapeRef.new(shape: ListPhoneNumbersOptedOutResponse)
|
551
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
552
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
553
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
554
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
555
|
-
end)
|
556
|
-
|
557
|
-
api.add_operation(:list_platform_applications, Seahorse::Model::Operation.new.tap do |o|
|
558
|
-
o.name = "ListPlatformApplications"
|
559
|
-
o.http_method = "POST"
|
560
|
-
o.http_request_uri = "/"
|
561
|
-
o.input = Shapes::ShapeRef.new(shape: ListPlatformApplicationsInput)
|
562
|
-
o.output = Shapes::ShapeRef.new(shape: ListPlatformApplicationsResponse)
|
563
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
564
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
565
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
566
|
-
o[:pager] = Aws::Pager.new(
|
567
|
-
tokens: {
|
568
|
-
"next_token" => "next_token"
|
569
|
-
}
|
570
|
-
)
|
571
|
-
end)
|
572
|
-
|
573
|
-
api.add_operation(:list_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
574
|
-
o.name = "ListSubscriptions"
|
575
|
-
o.http_method = "POST"
|
576
|
-
o.http_request_uri = "/"
|
577
|
-
o.input = Shapes::ShapeRef.new(shape: ListSubscriptionsInput)
|
578
|
-
o.output = Shapes::ShapeRef.new(shape: ListSubscriptionsResponse)
|
579
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
580
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
581
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
582
|
-
o[:pager] = Aws::Pager.new(
|
583
|
-
tokens: {
|
584
|
-
"next_token" => "next_token"
|
585
|
-
}
|
586
|
-
)
|
587
|
-
end)
|
588
|
-
|
589
|
-
api.add_operation(:list_subscriptions_by_topic, Seahorse::Model::Operation.new.tap do |o|
|
590
|
-
o.name = "ListSubscriptionsByTopic"
|
591
|
-
o.http_method = "POST"
|
592
|
-
o.http_request_uri = "/"
|
593
|
-
o.input = Shapes::ShapeRef.new(shape: ListSubscriptionsByTopicInput)
|
594
|
-
o.output = Shapes::ShapeRef.new(shape: ListSubscriptionsByTopicResponse)
|
595
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
596
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
597
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
598
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
599
|
-
o[:pager] = Aws::Pager.new(
|
600
|
-
tokens: {
|
601
|
-
"next_token" => "next_token"
|
602
|
-
}
|
603
|
-
)
|
604
|
-
end)
|
605
|
-
|
606
|
-
api.add_operation(:list_topics, Seahorse::Model::Operation.new.tap do |o|
|
607
|
-
o.name = "ListTopics"
|
608
|
-
o.http_method = "POST"
|
609
|
-
o.http_request_uri = "/"
|
610
|
-
o.input = Shapes::ShapeRef.new(shape: ListTopicsInput)
|
611
|
-
o.output = Shapes::ShapeRef.new(shape: ListTopicsResponse)
|
612
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
613
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
614
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
615
|
-
o[:pager] = Aws::Pager.new(
|
616
|
-
tokens: {
|
617
|
-
"next_token" => "next_token"
|
618
|
-
}
|
619
|
-
)
|
620
|
-
end)
|
621
|
-
|
622
|
-
api.add_operation(:opt_in_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
623
|
-
o.name = "OptInPhoneNumber"
|
624
|
-
o.http_method = "POST"
|
625
|
-
o.http_request_uri = "/"
|
626
|
-
o.input = Shapes::ShapeRef.new(shape: OptInPhoneNumberInput)
|
627
|
-
o.output = Shapes::ShapeRef.new(shape: OptInPhoneNumberResponse)
|
628
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
629
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
630
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
631
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
632
|
-
end)
|
633
|
-
|
634
|
-
api.add_operation(:publish, Seahorse::Model::Operation.new.tap do |o|
|
635
|
-
o.name = "Publish"
|
636
|
-
o.http_method = "POST"
|
637
|
-
o.http_request_uri = "/"
|
638
|
-
o.input = Shapes::ShapeRef.new(shape: PublishInput)
|
639
|
-
o.output = Shapes::ShapeRef.new(shape: PublishResponse)
|
640
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
641
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
642
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
643
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
644
|
-
o.errors << Shapes::ShapeRef.new(shape: EndpointDisabledException)
|
645
|
-
o.errors << Shapes::ShapeRef.new(shape: PlatformApplicationDisabledException)
|
646
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
647
|
-
end)
|
648
|
-
|
649
|
-
api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
|
650
|
-
o.name = "RemovePermission"
|
651
|
-
o.http_method = "POST"
|
652
|
-
o.http_request_uri = "/"
|
653
|
-
o.input = Shapes::ShapeRef.new(shape: RemovePermissionInput)
|
654
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
655
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
656
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
657
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
658
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
659
|
-
end)
|
660
|
-
|
661
|
-
api.add_operation(:set_endpoint_attributes, Seahorse::Model::Operation.new.tap do |o|
|
662
|
-
o.name = "SetEndpointAttributes"
|
663
|
-
o.http_method = "POST"
|
664
|
-
o.http_request_uri = "/"
|
665
|
-
o.input = Shapes::ShapeRef.new(shape: SetEndpointAttributesInput)
|
666
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
667
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
668
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
669
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
670
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
671
|
-
end)
|
672
|
-
|
673
|
-
api.add_operation(:set_platform_application_attributes, Seahorse::Model::Operation.new.tap do |o|
|
674
|
-
o.name = "SetPlatformApplicationAttributes"
|
675
|
-
o.http_method = "POST"
|
676
|
-
o.http_request_uri = "/"
|
677
|
-
o.input = Shapes::ShapeRef.new(shape: SetPlatformApplicationAttributesInput)
|
678
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
679
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
680
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
681
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
682
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
683
|
-
end)
|
684
|
-
|
685
|
-
api.add_operation(:set_sms_attributes, Seahorse::Model::Operation.new.tap do |o|
|
686
|
-
o.name = "SetSMSAttributes"
|
687
|
-
o.http_method = "POST"
|
688
|
-
o.http_request_uri = "/"
|
689
|
-
o.input = Shapes::ShapeRef.new(shape: SetSMSAttributesInput)
|
690
|
-
o.output = Shapes::ShapeRef.new(shape: SetSMSAttributesResponse)
|
691
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
692
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
693
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
694
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
695
|
-
end)
|
696
|
-
|
697
|
-
api.add_operation(:set_subscription_attributes, Seahorse::Model::Operation.new.tap do |o|
|
698
|
-
o.name = "SetSubscriptionAttributes"
|
699
|
-
o.http_method = "POST"
|
700
|
-
o.http_request_uri = "/"
|
701
|
-
o.input = Shapes::ShapeRef.new(shape: SetSubscriptionAttributesInput)
|
702
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
703
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
704
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
705
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
706
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
707
|
-
end)
|
708
|
-
|
709
|
-
api.add_operation(:set_topic_attributes, Seahorse::Model::Operation.new.tap do |o|
|
710
|
-
o.name = "SetTopicAttributes"
|
711
|
-
o.http_method = "POST"
|
712
|
-
o.http_request_uri = "/"
|
713
|
-
o.input = Shapes::ShapeRef.new(shape: SetTopicAttributesInput)
|
714
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
715
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
716
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
717
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
718
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
719
|
-
end)
|
720
|
-
|
721
|
-
api.add_operation(:subscribe, Seahorse::Model::Operation.new.tap do |o|
|
722
|
-
o.name = "Subscribe"
|
723
|
-
o.http_method = "POST"
|
724
|
-
o.http_request_uri = "/"
|
725
|
-
o.input = Shapes::ShapeRef.new(shape: SubscribeInput)
|
726
|
-
o.output = Shapes::ShapeRef.new(shape: SubscribeResponse)
|
727
|
-
o.errors << Shapes::ShapeRef.new(shape: SubscriptionLimitExceededException)
|
728
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
729
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
730
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
731
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
732
|
-
end)
|
733
|
-
|
734
|
-
api.add_operation(:unsubscribe, Seahorse::Model::Operation.new.tap do |o|
|
735
|
-
o.name = "Unsubscribe"
|
736
|
-
o.http_method = "POST"
|
737
|
-
o.http_request_uri = "/"
|
738
|
-
o.input = Shapes::ShapeRef.new(shape: UnsubscribeInput)
|
739
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
740
|
-
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
741
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
742
|
-
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
743
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
744
|
-
end)
|
745
|
-
end
|
324
|
+
Subscription.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, location_name: "SubscriptionArn"))
|
325
|
+
Subscription.add_member(:owner, Shapes::ShapeRef.new(shape: account, location_name: "Owner"))
|
326
|
+
Subscription.add_member(:protocol, Shapes::ShapeRef.new(shape: protocol, location_name: "Protocol"))
|
327
|
+
Subscription.add_member(:endpoint, Shapes::ShapeRef.new(shape: endpoint, location_name: "Endpoint"))
|
328
|
+
Subscription.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, location_name: "TopicArn"))
|
329
|
+
Subscription.struct_class = Types::Subscription
|
746
330
|
|
331
|
+
SubscriptionAttributesMap.key = Shapes::ShapeRef.new(shape: attributeName)
|
332
|
+
SubscriptionAttributesMap.value = Shapes::ShapeRef.new(shape: attributeValue)
|
333
|
+
|
334
|
+
SubscriptionsList.member = Shapes::ShapeRef.new(shape: Subscription)
|
335
|
+
|
336
|
+
Topic.add_member(:topic_arn, Shapes::ShapeRef.new(shape: topicARN, location_name: "TopicArn"))
|
337
|
+
Topic.struct_class = Types::Topic
|
338
|
+
|
339
|
+
TopicAttributesMap.key = Shapes::ShapeRef.new(shape: attributeName)
|
340
|
+
TopicAttributesMap.value = Shapes::ShapeRef.new(shape: attributeValue)
|
341
|
+
|
342
|
+
TopicsList.member = Shapes::ShapeRef.new(shape: Topic)
|
343
|
+
|
344
|
+
UnsubscribeInput.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: subscriptionARN, required: true, location_name: "SubscriptionArn"))
|
345
|
+
UnsubscribeInput.struct_class = Types::UnsubscribeInput
|
346
|
+
|
347
|
+
|
348
|
+
# @api private
|
349
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
350
|
+
|
351
|
+
api.version = "2010-03-31"
|
352
|
+
|
353
|
+
api.metadata = {
|
354
|
+
"endpointPrefix" => "sns",
|
355
|
+
"protocol" => "query",
|
356
|
+
"serviceFullName" => "Amazon Simple Notification Service",
|
357
|
+
"signatureVersion" => "v4",
|
358
|
+
"xmlNamespace" => "http://sns.amazonaws.com/doc/2010-03-31/",
|
359
|
+
}
|
360
|
+
|
361
|
+
api.add_operation(:add_permission, Seahorse::Model::Operation.new.tap do |o|
|
362
|
+
o.name = "AddPermission"
|
363
|
+
o.http_method = "POST"
|
364
|
+
o.http_request_uri = "/"
|
365
|
+
o.input = Shapes::ShapeRef.new(shape: AddPermissionInput)
|
366
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
367
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
368
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
369
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
370
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
371
|
+
end)
|
372
|
+
|
373
|
+
api.add_operation(:check_if_phone_number_is_opted_out, Seahorse::Model::Operation.new.tap do |o|
|
374
|
+
o.name = "CheckIfPhoneNumberIsOptedOut"
|
375
|
+
o.http_method = "POST"
|
376
|
+
o.http_request_uri = "/"
|
377
|
+
o.input = Shapes::ShapeRef.new(shape: CheckIfPhoneNumberIsOptedOutInput)
|
378
|
+
o.output = Shapes::ShapeRef.new(shape: CheckIfPhoneNumberIsOptedOutResponse)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
381
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
382
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
383
|
+
end)
|
384
|
+
|
385
|
+
api.add_operation(:confirm_subscription, Seahorse::Model::Operation.new.tap do |o|
|
386
|
+
o.name = "ConfirmSubscription"
|
387
|
+
o.http_method = "POST"
|
388
|
+
o.http_request_uri = "/"
|
389
|
+
o.input = Shapes::ShapeRef.new(shape: ConfirmSubscriptionInput)
|
390
|
+
o.output = Shapes::ShapeRef.new(shape: ConfirmSubscriptionResponse)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: SubscriptionLimitExceededException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
396
|
+
end)
|
397
|
+
|
398
|
+
api.add_operation(:create_platform_application, Seahorse::Model::Operation.new.tap do |o|
|
399
|
+
o.name = "CreatePlatformApplication"
|
400
|
+
o.http_method = "POST"
|
401
|
+
o.http_request_uri = "/"
|
402
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePlatformApplicationInput)
|
403
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePlatformApplicationResponse)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
407
|
+
end)
|
408
|
+
|
409
|
+
api.add_operation(:create_platform_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
410
|
+
o.name = "CreatePlatformEndpoint"
|
411
|
+
o.http_method = "POST"
|
412
|
+
o.http_request_uri = "/"
|
413
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePlatformEndpointInput)
|
414
|
+
o.output = Shapes::ShapeRef.new(shape: CreateEndpointResponse)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
419
|
+
end)
|
420
|
+
|
421
|
+
api.add_operation(:create_topic, Seahorse::Model::Operation.new.tap do |o|
|
422
|
+
o.name = "CreateTopic"
|
423
|
+
o.http_method = "POST"
|
424
|
+
o.http_request_uri = "/"
|
425
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTopicInput)
|
426
|
+
o.output = Shapes::ShapeRef.new(shape: CreateTopicResponse)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: TopicLimitExceededException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
431
|
+
end)
|
432
|
+
|
433
|
+
api.add_operation(:delete_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
434
|
+
o.name = "DeleteEndpoint"
|
435
|
+
o.http_method = "POST"
|
436
|
+
o.http_request_uri = "/"
|
437
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEndpointInput)
|
438
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
442
|
+
end)
|
443
|
+
|
444
|
+
api.add_operation(:delete_platform_application, Seahorse::Model::Operation.new.tap do |o|
|
445
|
+
o.name = "DeletePlatformApplication"
|
446
|
+
o.http_method = "POST"
|
447
|
+
o.http_request_uri = "/"
|
448
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePlatformApplicationInput)
|
449
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
453
|
+
end)
|
454
|
+
|
455
|
+
api.add_operation(:delete_topic, Seahorse::Model::Operation.new.tap do |o|
|
456
|
+
o.name = "DeleteTopic"
|
457
|
+
o.http_method = "POST"
|
458
|
+
o.http_request_uri = "/"
|
459
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTopicInput)
|
460
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
461
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
462
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
465
|
+
end)
|
466
|
+
|
467
|
+
api.add_operation(:get_endpoint_attributes, Seahorse::Model::Operation.new.tap do |o|
|
468
|
+
o.name = "GetEndpointAttributes"
|
469
|
+
o.http_method = "POST"
|
470
|
+
o.http_request_uri = "/"
|
471
|
+
o.input = Shapes::ShapeRef.new(shape: GetEndpointAttributesInput)
|
472
|
+
o.output = Shapes::ShapeRef.new(shape: GetEndpointAttributesResponse)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
476
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
477
|
+
end)
|
478
|
+
|
479
|
+
api.add_operation(:get_platform_application_attributes, Seahorse::Model::Operation.new.tap do |o|
|
480
|
+
o.name = "GetPlatformApplicationAttributes"
|
481
|
+
o.http_method = "POST"
|
482
|
+
o.http_request_uri = "/"
|
483
|
+
o.input = Shapes::ShapeRef.new(shape: GetPlatformApplicationAttributesInput)
|
484
|
+
o.output = Shapes::ShapeRef.new(shape: GetPlatformApplicationAttributesResponse)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
489
|
+
end)
|
490
|
+
|
491
|
+
api.add_operation(:get_sms_attributes, Seahorse::Model::Operation.new.tap do |o|
|
492
|
+
o.name = "GetSMSAttributes"
|
493
|
+
o.http_method = "POST"
|
494
|
+
o.http_request_uri = "/"
|
495
|
+
o.input = Shapes::ShapeRef.new(shape: GetSMSAttributesInput)
|
496
|
+
o.output = Shapes::ShapeRef.new(shape: GetSMSAttributesResponse)
|
497
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
501
|
+
end)
|
502
|
+
|
503
|
+
api.add_operation(:get_subscription_attributes, Seahorse::Model::Operation.new.tap do |o|
|
504
|
+
o.name = "GetSubscriptionAttributes"
|
505
|
+
o.http_method = "POST"
|
506
|
+
o.http_request_uri = "/"
|
507
|
+
o.input = Shapes::ShapeRef.new(shape: GetSubscriptionAttributesInput)
|
508
|
+
o.output = Shapes::ShapeRef.new(shape: GetSubscriptionAttributesResponse)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
513
|
+
end)
|
514
|
+
|
515
|
+
api.add_operation(:get_topic_attributes, Seahorse::Model::Operation.new.tap do |o|
|
516
|
+
o.name = "GetTopicAttributes"
|
517
|
+
o.http_method = "POST"
|
518
|
+
o.http_request_uri = "/"
|
519
|
+
o.input = Shapes::ShapeRef.new(shape: GetTopicAttributesInput)
|
520
|
+
o.output = Shapes::ShapeRef.new(shape: GetTopicAttributesResponse)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
525
|
+
end)
|
526
|
+
|
527
|
+
api.add_operation(:list_endpoints_by_platform_application, Seahorse::Model::Operation.new.tap do |o|
|
528
|
+
o.name = "ListEndpointsByPlatformApplication"
|
529
|
+
o.http_method = "POST"
|
530
|
+
o.http_request_uri = "/"
|
531
|
+
o.input = Shapes::ShapeRef.new(shape: ListEndpointsByPlatformApplicationInput)
|
532
|
+
o.output = Shapes::ShapeRef.new(shape: ListEndpointsByPlatformApplicationResponse)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
536
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
537
|
+
o[:pager] = Aws::Pager.new(
|
538
|
+
tokens: {
|
539
|
+
"next_token" => "next_token"
|
540
|
+
}
|
541
|
+
)
|
542
|
+
end)
|
543
|
+
|
544
|
+
api.add_operation(:list_phone_numbers_opted_out, Seahorse::Model::Operation.new.tap do |o|
|
545
|
+
o.name = "ListPhoneNumbersOptedOut"
|
546
|
+
o.http_method = "POST"
|
547
|
+
o.http_request_uri = "/"
|
548
|
+
o.input = Shapes::ShapeRef.new(shape: ListPhoneNumbersOptedOutInput)
|
549
|
+
o.output = Shapes::ShapeRef.new(shape: ListPhoneNumbersOptedOutResponse)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
554
|
+
end)
|
555
|
+
|
556
|
+
api.add_operation(:list_platform_applications, Seahorse::Model::Operation.new.tap do |o|
|
557
|
+
o.name = "ListPlatformApplications"
|
558
|
+
o.http_method = "POST"
|
559
|
+
o.http_request_uri = "/"
|
560
|
+
o.input = Shapes::ShapeRef.new(shape: ListPlatformApplicationsInput)
|
561
|
+
o.output = Shapes::ShapeRef.new(shape: ListPlatformApplicationsResponse)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
565
|
+
o[:pager] = Aws::Pager.new(
|
566
|
+
tokens: {
|
567
|
+
"next_token" => "next_token"
|
568
|
+
}
|
569
|
+
)
|
570
|
+
end)
|
571
|
+
|
572
|
+
api.add_operation(:list_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
573
|
+
o.name = "ListSubscriptions"
|
574
|
+
o.http_method = "POST"
|
575
|
+
o.http_request_uri = "/"
|
576
|
+
o.input = Shapes::ShapeRef.new(shape: ListSubscriptionsInput)
|
577
|
+
o.output = Shapes::ShapeRef.new(shape: ListSubscriptionsResponse)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
579
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
580
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
581
|
+
o[:pager] = Aws::Pager.new(
|
582
|
+
tokens: {
|
583
|
+
"next_token" => "next_token"
|
584
|
+
}
|
585
|
+
)
|
586
|
+
end)
|
587
|
+
|
588
|
+
api.add_operation(:list_subscriptions_by_topic, Seahorse::Model::Operation.new.tap do |o|
|
589
|
+
o.name = "ListSubscriptionsByTopic"
|
590
|
+
o.http_method = "POST"
|
591
|
+
o.http_request_uri = "/"
|
592
|
+
o.input = Shapes::ShapeRef.new(shape: ListSubscriptionsByTopicInput)
|
593
|
+
o.output = Shapes::ShapeRef.new(shape: ListSubscriptionsByTopicResponse)
|
594
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
598
|
+
o[:pager] = Aws::Pager.new(
|
599
|
+
tokens: {
|
600
|
+
"next_token" => "next_token"
|
601
|
+
}
|
602
|
+
)
|
603
|
+
end)
|
604
|
+
|
605
|
+
api.add_operation(:list_topics, Seahorse::Model::Operation.new.tap do |o|
|
606
|
+
o.name = "ListTopics"
|
607
|
+
o.http_method = "POST"
|
608
|
+
o.http_request_uri = "/"
|
609
|
+
o.input = Shapes::ShapeRef.new(shape: ListTopicsInput)
|
610
|
+
o.output = Shapes::ShapeRef.new(shape: ListTopicsResponse)
|
611
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
612
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
613
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
614
|
+
o[:pager] = Aws::Pager.new(
|
615
|
+
tokens: {
|
616
|
+
"next_token" => "next_token"
|
617
|
+
}
|
618
|
+
)
|
619
|
+
end)
|
620
|
+
|
621
|
+
api.add_operation(:opt_in_phone_number, Seahorse::Model::Operation.new.tap do |o|
|
622
|
+
o.name = "OptInPhoneNumber"
|
623
|
+
o.http_method = "POST"
|
624
|
+
o.http_request_uri = "/"
|
625
|
+
o.input = Shapes::ShapeRef.new(shape: OptInPhoneNumberInput)
|
626
|
+
o.output = Shapes::ShapeRef.new(shape: OptInPhoneNumberResponse)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
631
|
+
end)
|
632
|
+
|
633
|
+
api.add_operation(:publish, Seahorse::Model::Operation.new.tap do |o|
|
634
|
+
o.name = "Publish"
|
635
|
+
o.http_method = "POST"
|
636
|
+
o.http_request_uri = "/"
|
637
|
+
o.input = Shapes::ShapeRef.new(shape: PublishInput)
|
638
|
+
o.output = Shapes::ShapeRef.new(shape: PublishResponse)
|
639
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: EndpointDisabledException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: PlatformApplicationDisabledException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
646
|
+
end)
|
647
|
+
|
648
|
+
api.add_operation(:remove_permission, Seahorse::Model::Operation.new.tap do |o|
|
649
|
+
o.name = "RemovePermission"
|
650
|
+
o.http_method = "POST"
|
651
|
+
o.http_request_uri = "/"
|
652
|
+
o.input = Shapes::ShapeRef.new(shape: RemovePermissionInput)
|
653
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
654
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
655
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
658
|
+
end)
|
659
|
+
|
660
|
+
api.add_operation(:set_endpoint_attributes, Seahorse::Model::Operation.new.tap do |o|
|
661
|
+
o.name = "SetEndpointAttributes"
|
662
|
+
o.http_method = "POST"
|
663
|
+
o.http_request_uri = "/"
|
664
|
+
o.input = Shapes::ShapeRef.new(shape: SetEndpointAttributesInput)
|
665
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
670
|
+
end)
|
671
|
+
|
672
|
+
api.add_operation(:set_platform_application_attributes, Seahorse::Model::Operation.new.tap do |o|
|
673
|
+
o.name = "SetPlatformApplicationAttributes"
|
674
|
+
o.http_method = "POST"
|
675
|
+
o.http_request_uri = "/"
|
676
|
+
o.input = Shapes::ShapeRef.new(shape: SetPlatformApplicationAttributesInput)
|
677
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
682
|
+
end)
|
683
|
+
|
684
|
+
api.add_operation(:set_sms_attributes, Seahorse::Model::Operation.new.tap do |o|
|
685
|
+
o.name = "SetSMSAttributes"
|
686
|
+
o.http_method = "POST"
|
687
|
+
o.http_request_uri = "/"
|
688
|
+
o.input = Shapes::ShapeRef.new(shape: SetSMSAttributesInput)
|
689
|
+
o.output = Shapes::ShapeRef.new(shape: SetSMSAttributesResponse)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
694
|
+
end)
|
695
|
+
|
696
|
+
api.add_operation(:set_subscription_attributes, Seahorse::Model::Operation.new.tap do |o|
|
697
|
+
o.name = "SetSubscriptionAttributes"
|
698
|
+
o.http_method = "POST"
|
699
|
+
o.http_request_uri = "/"
|
700
|
+
o.input = Shapes::ShapeRef.new(shape: SetSubscriptionAttributesInput)
|
701
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
706
|
+
end)
|
707
|
+
|
708
|
+
api.add_operation(:set_topic_attributes, Seahorse::Model::Operation.new.tap do |o|
|
709
|
+
o.name = "SetTopicAttributes"
|
710
|
+
o.http_method = "POST"
|
711
|
+
o.http_request_uri = "/"
|
712
|
+
o.input = Shapes::ShapeRef.new(shape: SetTopicAttributesInput)
|
713
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
714
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
715
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
718
|
+
end)
|
719
|
+
|
720
|
+
api.add_operation(:subscribe, Seahorse::Model::Operation.new.tap do |o|
|
721
|
+
o.name = "Subscribe"
|
722
|
+
o.http_method = "POST"
|
723
|
+
o.http_request_uri = "/"
|
724
|
+
o.input = Shapes::ShapeRef.new(shape: SubscribeInput)
|
725
|
+
o.output = Shapes::ShapeRef.new(shape: SubscribeResponse)
|
726
|
+
o.errors << Shapes::ShapeRef.new(shape: SubscriptionLimitExceededException)
|
727
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
728
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
731
|
+
end)
|
732
|
+
|
733
|
+
api.add_operation(:unsubscribe, Seahorse::Model::Operation.new.tap do |o|
|
734
|
+
o.name = "Unsubscribe"
|
735
|
+
o.http_method = "POST"
|
736
|
+
o.http_request_uri = "/"
|
737
|
+
o.input = Shapes::ShapeRef.new(shape: UnsubscribeInput)
|
738
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
739
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
743
|
+
end)
|
747
744
|
end
|
745
|
+
|
748
746
|
end
|
749
747
|
end
|