aws-sdk-core 2.0.0.rc14 → 2.0.0.rc15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -3
  3. data/apis/AutoScaling.api.json +1943 -0
  4. data/apis/{autoscaling-2011-01-01.paginators.json → AutoScaling.paginators.json} +0 -0
  5. data/apis/CloudFormation.api.json +785 -0
  6. data/apis/{cloudformation-2010-05-15.paginators.json → CloudFormation.paginators.json} +0 -0
  7. data/apis/CloudFront.api.json +2581 -0
  8. data/apis/{cloudfront-2014-05-31.paginators.json → CloudFront.paginators.json} +0 -0
  9. data/apis/{cloudfront-2014-01-31.waiters.json → CloudFront.waiters.json} +0 -0
  10. data/apis/CloudSearch.api.json +1955 -0
  11. data/apis/{cloudsearch-2013-01-01.paginators.json → CloudSearch.paginators.json} +0 -0
  12. data/apis/CloudSearchDomain.api.json +349 -0
  13. data/apis/CloudTrail.api.json +559 -0
  14. data/apis/{cloudtrail-2013-11-01.paginators.json → CloudTrail.paginators.json} +0 -0
  15. data/apis/CloudWatch.api.json +917 -0
  16. data/apis/{monitoring-2010-08-01.paginators.json → CloudWatch.paginators.json} +0 -0
  17. data/apis/CloudWatchLogs.api.json +816 -0
  18. data/apis/{logs-2014-03-28.paginators.json → CloudWatchLogs.paginators.json} +0 -0
  19. data/apis/CognitoIdentity.api.json +631 -0
  20. data/apis/CognitoSync.api.json +721 -0
  21. data/apis/DataPipeline.api.json +940 -0
  22. data/apis/{datapipeline-2012-10-29.paginators.json → DataPipeline.paginators.json} +0 -0
  23. data/apis/DirectConnect.api.json +833 -0
  24. data/apis/{directconnect-2012-10-25.paginators.json → DirectConnect.paginators.json} +0 -0
  25. data/apis/DynamoDB.api.json +1210 -0
  26. data/apis/{dynamodb-2011-12-05.paginators.json → DynamoDB.paginators.json} +0 -0
  27. data/apis/{dynamodb-2012-08-10.waiters.json → DynamoDB.waiters.json} +0 -0
  28. data/apis/EC2.api.json +9914 -0
  29. data/apis/{ec2-2014-06-15.paginators.json → EC2.paginators.json} +0 -0
  30. data/apis/{ec2-2014-06-15.resources.json → EC2.resources.json} +0 -0
  31. data/apis/{ec2-2014-06-15.waiters.json → EC2.waiters.json} +0 -0
  32. data/apis/EMR.api.json +1339 -0
  33. data/apis/{elasticmapreduce-2009-03-31.paginators.json → EMR.paginators.json} +0 -0
  34. data/apis/ElastiCache.api.json +3410 -0
  35. data/apis/{elasticache-2014-03-24.paginators.json → ElastiCache.paginators.json} +0 -0
  36. data/apis/ElasticBeanstalk.api.json +1540 -0
  37. data/apis/{elasticbeanstalk-2010-12-01.paginators.json → ElasticBeanstalk.paginators.json} +0 -0
  38. data/apis/ElasticLoadBalancing.api.json +2131 -0
  39. data/apis/{elasticloadbalancing-2012-06-01.paginators.json → ElasticLoadBalancing.paginators.json} +0 -0
  40. data/apis/ElasticTranscoder.api.json +1647 -0
  41. data/apis/{elastictranscoder-2012-09-25.paginators.json → ElasticTranscoder.paginators.json} +0 -0
  42. data/apis/Glacier.api.json +1456 -0
  43. data/apis/{glacier-2012-06-01.paginators.json → Glacier.paginators.json} +0 -0
  44. data/apis/{glacier-2012-06-01.resources.json → Glacier.resources.json} +0 -0
  45. data/apis/{glacier-2012-06-01.waiters.json → Glacier.waiters.json} +0 -0
  46. data/apis/IAM.api.json +4033 -0
  47. data/apis/{iam-2010-05-08.paginators.json → IAM.paginators.json} +0 -0
  48. data/apis/{iam-2010-05-08.resources.json → IAM.resources.json} +0 -0
  49. data/apis/ImportExport.api.json +515 -0
  50. data/apis/{importexport-2010-06-01.paginators.json → ImportExport.paginators.json} +0 -0
  51. data/apis/Kinesis.api.json +548 -0
  52. data/apis/{kinesis-2013-12-02.paginators.json → Kinesis.paginators.json} +0 -0
  53. data/apis/OpsWorks.api.json +2524 -0
  54. data/apis/{opsworks-2013-02-18.paginators.json → OpsWorks.paginators.json} +0 -0
  55. data/apis/RDS.api.json +4473 -0
  56. data/apis/{rds-2013-02-12.paginators.json → RDS.paginators.json} +0 -0
  57. data/apis/{rds-2013-09-09.waiters.json → RDS.waiters.json} +0 -0
  58. data/apis/Redshift.api.json +4482 -0
  59. data/apis/{redshift-2012-12-01.paginators.json → Redshift.paginators.json} +0 -0
  60. data/apis/{redshift-2012-12-01.waiters.json → Redshift.waiters.json} +0 -0
  61. data/apis/Route53.api.json +1935 -0
  62. data/apis/{route53-2013-04-01.paginators.json → Route53.paginators.json} +0 -0
  63. data/apis/Route53Domains.api.json +1129 -0
  64. data/apis/{s3-2006-03-01.api.json → S3.api.json} +336 -942
  65. data/apis/{s3-2006-03-01.paginators.json → S3.paginators.json} +1 -1
  66. data/apis/{s3-2006-03-01.resources.json → S3.resources.json} +0 -0
  67. data/apis/{s3-2006-03-01.waiters.json → S3.waiters.json} +0 -0
  68. data/apis/SES.api.json +644 -0
  69. data/apis/{email-2010-12-01.paginators.json → SES.paginators.json} +0 -0
  70. data/apis/{email-2010-12-01.waiters.json → SES.waiters.json} +0 -0
  71. data/apis/SNS.api.json +1760 -0
  72. data/apis/{sns-2010-03-31.paginators.json → SNS.paginators.json} +0 -0
  73. data/apis/{sns-2010-03-31.resources.json → SNS.resources.json} +0 -0
  74. data/apis/SQS.api.json +1113 -0
  75. data/apis/{sqs-2012-11-05.paginators.json → SQS.paginators.json} +0 -0
  76. data/apis/{sqs-2012-11-05.resources.json → SQS.resources.json} +0 -0
  77. data/apis/STS.api.json +594 -0
  78. data/apis/SWF.api.json +2656 -0
  79. data/apis/{swf-2012-01-25.paginators.json → SWF.paginators.json} +0 -0
  80. data/apis/SimpleDB.api.json +954 -0
  81. data/apis/{sdb-2009-04-15.paginators.json → SimpleDB.paginators.json} +0 -0
  82. data/apis/StorageGateway.api.json +2311 -0
  83. data/apis/{storagegateway-2013-06-30.paginators.json → StorageGateway.paginators.json} +0 -0
  84. data/apis/Support.api.json +869 -0
  85. data/apis/{support-2013-04-15.paginators.json → Support.paginators.json} +0 -0
  86. data/lib/aws.rb +96 -53
  87. data/lib/aws/api/documenter.rb +238 -0
  88. data/lib/aws/api/{documentor.rb → operation_documenter.rb} +9 -5
  89. data/lib/aws/api/{doc_example.rb → operation_example.rb} +8 -7
  90. data/lib/aws/api/service_customizations.rb +3 -1
  91. data/lib/aws/client.rb +38 -0
  92. data/lib/aws/credential_provider_chain.rb +1 -0
  93. data/lib/aws/dynamodb/attribute_value.rb +87 -0
  94. data/lib/aws/empty_structure.rb +4 -3
  95. data/lib/aws/endpoint_provider.rb +1 -0
  96. data/lib/aws/errors.rb +2 -0
  97. data/lib/aws/instance_profile_credentials.rb +1 -1
  98. data/lib/aws/plugins/csd_conditional_signing.rb +32 -0
  99. data/lib/aws/plugins/dynamodb_simple_attributes.rb +179 -0
  100. data/lib/aws/plugins/global_configuration.rb +13 -3
  101. data/lib/aws/plugins/protocols/json_rpc.rb +9 -7
  102. data/lib/aws/plugins/regional_endpoint.rb +1 -1
  103. data/lib/aws/plugins/request_signer.rb +13 -6
  104. data/lib/aws/plugins/response_paging.rb +1 -2
  105. data/lib/aws/plugins/s3_url_encoded_keys.rb +92 -0
  106. data/lib/aws/plugins/user_agent.rb +1 -2
  107. data/lib/aws/signers/v4.rb +1 -1
  108. data/lib/aws/structure.rb +49 -2
  109. data/lib/aws/version.rb +1 -1
  110. data/lib/aws/xml/builder.rb +1 -0
  111. data/lib/seahorse.rb +2 -1
  112. data/lib/seahorse/client/handler_list.rb +10 -3
  113. data/lib/seahorse/client/http/request.rb +0 -8
  114. data/lib/seahorse/client/xml/builder.rb +0 -1
  115. data/lib/seahorse/model/shape_map.rb +1 -0
  116. data/lib/seahorse/model/shapes.rb +5 -0
  117. metadata +93 -107
  118. data/apis/autoscaling-2011-01-01.api.json +0 -3063
  119. data/apis/cloudformation-2010-05-15.api.json +0 -1306
  120. data/apis/cloudfront-2014-01-31.api.json +0 -3478
  121. data/apis/cloudfront-2014-01-31.paginators.json +0 -32
  122. data/apis/cloudfront-2014-05-31.api.json +0 -3540
  123. data/apis/cloudfront-2014-05-31.waiters.json +0 -29
  124. data/apis/cloudsearch-2011-02-01.api.json +0 -2093
  125. data/apis/cloudsearch-2011-02-01.paginators.json +0 -13
  126. data/apis/cloudsearch-2013-01-01.api.json +0 -2655
  127. data/apis/cloudsearchdomain-2013-01-01.api.json +0 -508
  128. data/apis/cloudtrail-2013-11-01.api.json +0 -773
  129. data/apis/cognito-identity-2014-06-30.api.json +0 -884
  130. data/apis/cognito-sync-2014-06-30.api.json +0 -1029
  131. data/apis/datapipeline-2012-10-29.api.json +0 -1432
  132. data/apis/directconnect-2012-10-25.api.json +0 -1174
  133. data/apis/dynamodb-2011-12-05.api.json +0 -1208
  134. data/apis/dynamodb-2011-12-05.waiters.json +0 -27
  135. data/apis/dynamodb-2012-08-10.api.json +0 -1857
  136. data/apis/dynamodb-2012-08-10.paginators.json +0 -26
  137. data/apis/ec2-2014-06-15.api.json +0 -11670
  138. data/apis/elasticache-2014-03-24.api.json +0 -4789
  139. data/apis/elasticache-2014-07-15.api.json +0 -4826
  140. data/apis/elasticache-2014-07-15.paginators.json +0 -76
  141. data/apis/elasticbeanstalk-2010-12-01.api.json +0 -2442
  142. data/apis/elasticloadbalancing-2012-06-01.api.json +0 -2605
  143. data/apis/elasticmapreduce-2009-03-31.api.json +0 -2282
  144. data/apis/elastictranscoder-2012-09-25.api.json +0 -2478
  145. data/apis/email-2010-12-01.api.json +0 -954
  146. data/apis/glacier-2012-06-01.api.json +0 -2012
  147. data/apis/iam-2010-05-08.api.json +0 -5322
  148. data/apis/importexport-2010-06-01.api.json +0 -687
  149. data/apis/kinesis-2013-12-02.api.json +0 -769
  150. data/apis/logs-2014-03-28.api.json +0 -942
  151. data/apis/manifest.json +0 -259
  152. data/apis/monitoring-2010-08-01.api.json +0 -1338
  153. data/apis/opsworks-2013-02-18.api.json +0 -4348
  154. data/apis/rds-2013-01-10.api.json +0 -6074
  155. data/apis/rds-2013-01-10.paginators.json +0 -97
  156. data/apis/rds-2013-02-12.api.json +0 -6392
  157. data/apis/rds-2013-09-09.api.json +0 -6564
  158. data/apis/rds-2013-09-09.paginators.json +0 -110
  159. data/apis/redshift-2012-12-01.api.json +0 -6318
  160. data/apis/route53-2013-04-01.api.json +0 -2493
  161. data/apis/route53domains-2014-05-15.api.json +0 -1622
  162. data/apis/sdb-2009-04-15.api.json +0 -1178
  163. data/apis/sns-2010-03-31.api.json +0 -2275
  164. data/apis/sqs-2012-11-05.api.json +0 -1438
  165. data/apis/storagegateway-2013-06-30.api.json +0 -3153
  166. data/apis/sts-2011-06-15.api.json +0 -786
  167. data/apis/support-2013-04-15.api.json +0 -1379
  168. data/apis/swf-2012-01-25.api.json +0 -4463
  169. data/lib/aws/api/manifest.rb +0 -29
  170. data/lib/aws/api/manifest_builder.rb +0 -57
  171. data/lib/aws/api/minifier.rb +0 -42
  172. data/lib/aws/response_handler.rb +0 -38
  173. data/lib/aws/service_builder.rb +0 -56
@@ -1,2275 +0,0 @@
1
- {
2
- "metadata":{
3
- "apiVersion":"2010-03-31",
4
- "endpointPrefix":"sns",
5
- "serviceAbbreviation":"Amazon SNS",
6
- "serviceFullName":"Amazon Simple Notification Service",
7
- "signatureVersion":"v4",
8
- "xmlNamespace":"http://sns.amazonaws.com/doc/2010-03-31/",
9
- "protocol":"query"
10
- },
11
- "documentation":"<fullname>Amazon Simple Notification Service</fullname> <p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see <a href=\"http://aws.amazon.com/sns/\">http://aws.amazon.com/sns</a>. For detailed information about Amazon SNS features and their associated API calls, see the <a href=\"http://docs.aws.amazon.com/sns/latest/dg/\">Amazon SNS Developer Guide</a>. </p> <p>We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>. </p>",
12
- "operations":{
13
- "AddPermission":{
14
- "name":"AddPermission",
15
- "http":{
16
- "method":"POST",
17
- "requestUri":"/"
18
- },
19
- "input":{"shape":"AddPermissionInput"},
20
- "errors":[
21
- {
22
- "shape":"InvalidParameterException",
23
- "error":{
24
- "code":"InvalidParameter",
25
- "httpStatusCode":400,
26
- "senderFault":true
27
- },
28
- "exception":true,
29
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
30
- },
31
- {
32
- "shape":"InternalErrorException",
33
- "error":{
34
- "code":"InternalError",
35
- "httpStatusCode":500
36
- },
37
- "exception":true,
38
- "fault":true,
39
- "documentation":"<p>Indicates an internal service error.</p>"
40
- },
41
- {
42
- "shape":"AuthorizationErrorException",
43
- "error":{
44
- "code":"AuthorizationError",
45
- "httpStatusCode":403,
46
- "senderFault":true
47
- },
48
- "exception":true,
49
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
50
- },
51
- {
52
- "shape":"NotFoundException",
53
- "error":{
54
- "code":"NotFound",
55
- "httpStatusCode":404,
56
- "senderFault":true
57
- },
58
- "exception":true,
59
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
60
- }
61
- ],
62
- "documentation":"<p>Adds a statement to a topic's access control policy, granting access for the specified AWS accounts to the specified actions.</p>"
63
- },
64
- "ConfirmSubscription":{
65
- "name":"ConfirmSubscription",
66
- "http":{
67
- "method":"POST",
68
- "requestUri":"/"
69
- },
70
- "input":{
71
- "shape":"ConfirmSubscriptionInput",
72
- "documentation":"Input for ConfirmSubscription action."
73
- },
74
- "output":{
75
- "shape":"ConfirmSubscriptionResponse",
76
- "documentation":"Response for ConfirmSubscriptions action.",
77
- "resultWrapper":"ConfirmSubscriptionResult"
78
- },
79
- "errors":[
80
- {
81
- "shape":"SubscriptionLimitExceededException",
82
- "error":{
83
- "code":"SubscriptionLimitExceeded",
84
- "httpStatusCode":403,
85
- "senderFault":true
86
- },
87
- "exception":true,
88
- "documentation":"<p>Indicates that the customer already owns the maximum allowed number of subscriptions.</p>"
89
- },
90
- {
91
- "shape":"InvalidParameterException",
92
- "error":{
93
- "code":"InvalidParameter",
94
- "httpStatusCode":400,
95
- "senderFault":true
96
- },
97
- "exception":true,
98
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
99
- },
100
- {
101
- "shape":"NotFoundException",
102
- "error":{
103
- "code":"NotFound",
104
- "httpStatusCode":404,
105
- "senderFault":true
106
- },
107
- "exception":true,
108
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
109
- },
110
- {
111
- "shape":"InternalErrorException",
112
- "error":{
113
- "code":"InternalError",
114
- "httpStatusCode":500
115
- },
116
- "exception":true,
117
- "fault":true,
118
- "documentation":"<p>Indicates an internal service error.</p>"
119
- },
120
- {
121
- "shape":"AuthorizationErrorException",
122
- "error":{
123
- "code":"AuthorizationError",
124
- "httpStatusCode":403,
125
- "senderFault":true
126
- },
127
- "exception":true,
128
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
129
- }
130
- ],
131
- "documentation":"<p>Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier <code>Subscribe</code> action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the <code>AuthenticateOnUnsubscribe</code> flag is set to \"true\".</p>"
132
- },
133
- "CreatePlatformApplication":{
134
- "name":"CreatePlatformApplication",
135
- "http":{
136
- "method":"POST",
137
- "requestUri":"/"
138
- },
139
- "input":{
140
- "shape":"CreatePlatformApplicationInput",
141
- "documentation":"<p>Input for CreatePlatformApplication action.</p>"
142
- },
143
- "output":{
144
- "shape":"CreatePlatformApplicationResponse",
145
- "documentation":"<p>Response from CreatePlatformApplication action.</p>",
146
- "resultWrapper":"CreatePlatformApplicationResult"
147
- },
148
- "errors":[
149
- {
150
- "shape":"InvalidParameterException",
151
- "error":{
152
- "code":"InvalidParameter",
153
- "httpStatusCode":400,
154
- "senderFault":true
155
- },
156
- "exception":true,
157
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
158
- },
159
- {
160
- "shape":"InternalErrorException",
161
- "error":{
162
- "code":"InternalError",
163
- "httpStatusCode":500
164
- },
165
- "exception":true,
166
- "fault":true,
167
- "documentation":"<p>Indicates an internal service error.</p>"
168
- },
169
- {
170
- "shape":"AuthorizationErrorException",
171
- "error":{
172
- "code":"AuthorizationError",
173
- "httpStatusCode":403,
174
- "senderFault":true
175
- },
176
- "exception":true,
177
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
178
- }
179
- ],
180
- "documentation":"<p>Creates a platform application object for one of the supported push notification services, such as APNS and GCM, to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the <code>CreatePlatformApplication</code> action. The PlatformPrincipal is received from the notification service. For APNS/APNS_SANDBOX, PlatformPrincipal is \"SSL certificate\". For GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is \"client id\". The PlatformCredential is also received from the notification service. For APNS/APNS_SANDBOX, PlatformCredential is \"private key\". For GCM, PlatformCredential is \"API key\". For ADM, PlatformCredential is \"client secret\". The PlatformApplicationArn that is returned when using <code>CreatePlatformApplication</code> is then used as an attribute for the <code>CreatePlatformEndpoint</code> action. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
181
- },
182
- "CreatePlatformEndpoint":{
183
- "name":"CreatePlatformEndpoint",
184
- "http":{
185
- "method":"POST",
186
- "requestUri":"/"
187
- },
188
- "input":{
189
- "shape":"CreatePlatformEndpointInput",
190
- "documentation":"<p>Input for CreatePlatformEndpoint action.</p>"
191
- },
192
- "output":{
193
- "shape":"CreateEndpointResponse",
194
- "documentation":"<p>Response from CreateEndpoint action.</p>",
195
- "resultWrapper":"CreatePlatformEndpointResult"
196
- },
197
- "errors":[
198
- {
199
- "shape":"InvalidParameterException",
200
- "error":{
201
- "code":"InvalidParameter",
202
- "httpStatusCode":400,
203
- "senderFault":true
204
- },
205
- "exception":true,
206
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
207
- },
208
- {
209
- "shape":"InternalErrorException",
210
- "error":{
211
- "code":"InternalError",
212
- "httpStatusCode":500
213
- },
214
- "exception":true,
215
- "fault":true,
216
- "documentation":"<p>Indicates an internal service error.</p>"
217
- },
218
- {
219
- "shape":"AuthorizationErrorException",
220
- "error":{
221
- "code":"AuthorizationError",
222
- "httpStatusCode":403,
223
- "senderFault":true
224
- },
225
- "exception":true,
226
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
227
- },
228
- {
229
- "shape":"NotFoundException",
230
- "error":{
231
- "code":"NotFound",
232
- "httpStatusCode":404,
233
- "senderFault":true
234
- },
235
- "exception":true,
236
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
237
- }
238
- ],
239
- "documentation":"<p>Creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM and APNS. <code>CreatePlatformEndpoint</code> requires the PlatformApplicationArn that is returned from <code>CreatePlatformApplication</code>. The EndpointArn that is returned when using <code>CreatePlatformEndpoint</code> can then be used by the <code>Publish</code> action to send a message to a mobile app or by the <code>Subscribe</code> action for subscription to a topic. The <code>CreatePlatformEndpoint</code> action is idempotent, so if the requester already owns an endpoint with the same device token and attributes, that endpoint's ARN is returned without creating a new endpoint. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p> <p>When using <code>CreatePlatformEndpoint</code> with Baidu, two attributes must be provided: ChannelId and UserId. The token field must also contain the ChannelId. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushBaiduEndpoint.html\">Creating an Amazon SNS Endpoint for Baidu</a>. </p>"
240
- },
241
- "CreateTopic":{
242
- "name":"CreateTopic",
243
- "http":{
244
- "method":"POST",
245
- "requestUri":"/"
246
- },
247
- "input":{
248
- "shape":"CreateTopicInput",
249
- "documentation":"<p>Input for CreateTopic action.</p>"
250
- },
251
- "output":{
252
- "shape":"CreateTopicResponse",
253
- "documentation":"<p>Response from CreateTopic action.</p>",
254
- "resultWrapper":"CreateTopicResult"
255
- },
256
- "errors":[
257
- {
258
- "shape":"InvalidParameterException",
259
- "error":{
260
- "code":"InvalidParameter",
261
- "httpStatusCode":400,
262
- "senderFault":true
263
- },
264
- "exception":true,
265
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
266
- },
267
- {
268
- "shape":"TopicLimitExceededException",
269
- "error":{
270
- "code":"TopicLimitExceeded",
271
- "httpStatusCode":403,
272
- "senderFault":true
273
- },
274
- "exception":true,
275
- "documentation":"<p>Indicates that the customer already owns the maximum allowed number of topics.</p>"
276
- },
277
- {
278
- "shape":"InternalErrorException",
279
- "error":{
280
- "code":"InternalError",
281
- "httpStatusCode":500
282
- },
283
- "exception":true,
284
- "fault":true,
285
- "documentation":"<p>Indicates an internal service error.</p>"
286
- },
287
- {
288
- "shape":"AuthorizationErrorException",
289
- "error":{
290
- "code":"AuthorizationError",
291
- "httpStatusCode":403,
292
- "senderFault":true
293
- },
294
- "exception":true,
295
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
296
- }
297
- ],
298
- "documentation":"<p>Creates a topic to which notifications can be published. Users can create at most 3000 topics. For more information, see <a href=\"http://aws.amazon.com/sns/\">http://aws.amazon.com/sns</a>. This action is idempotent, so if the requester already owns a topic with the specified name, that topic's ARN is returned without creating a new topic.</p>"
299
- },
300
- "DeleteEndpoint":{
301
- "name":"DeleteEndpoint",
302
- "http":{
303
- "method":"POST",
304
- "requestUri":"/"
305
- },
306
- "input":{
307
- "shape":"DeleteEndpointInput",
308
- "documentation":"<p>Input for DeleteEndpoint action.</p>"
309
- },
310
- "errors":[
311
- {
312
- "shape":"InvalidParameterException",
313
- "error":{
314
- "code":"InvalidParameter",
315
- "httpStatusCode":400,
316
- "senderFault":true
317
- },
318
- "exception":true,
319
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
320
- },
321
- {
322
- "shape":"InternalErrorException",
323
- "error":{
324
- "code":"InternalError",
325
- "httpStatusCode":500
326
- },
327
- "exception":true,
328
- "fault":true,
329
- "documentation":"<p>Indicates an internal service error.</p>"
330
- },
331
- {
332
- "shape":"AuthorizationErrorException",
333
- "error":{
334
- "code":"AuthorizationError",
335
- "httpStatusCode":403,
336
- "senderFault":true
337
- },
338
- "exception":true,
339
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
340
- }
341
- ],
342
- "documentation":"<p>Deletes the endpoint from Amazon SNS. This action is idempotent. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
343
- },
344
- "DeletePlatformApplication":{
345
- "name":"DeletePlatformApplication",
346
- "http":{
347
- "method":"POST",
348
- "requestUri":"/"
349
- },
350
- "input":{
351
- "shape":"DeletePlatformApplicationInput",
352
- "documentation":"<p>Input for DeletePlatformApplication action.</p>"
353
- },
354
- "errors":[
355
- {
356
- "shape":"InvalidParameterException",
357
- "error":{
358
- "code":"InvalidParameter",
359
- "httpStatusCode":400,
360
- "senderFault":true
361
- },
362
- "exception":true,
363
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
364
- },
365
- {
366
- "shape":"InternalErrorException",
367
- "error":{
368
- "code":"InternalError",
369
- "httpStatusCode":500
370
- },
371
- "exception":true,
372
- "fault":true,
373
- "documentation":"<p>Indicates an internal service error.</p>"
374
- },
375
- {
376
- "shape":"AuthorizationErrorException",
377
- "error":{
378
- "code":"AuthorizationError",
379
- "httpStatusCode":403,
380
- "senderFault":true
381
- },
382
- "exception":true,
383
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
384
- }
385
- ],
386
- "documentation":"<p>Deletes a platform application object for one of the supported push notification services, such as APNS and GCM. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
387
- },
388
- "DeleteTopic":{
389
- "name":"DeleteTopic",
390
- "http":{
391
- "method":"POST",
392
- "requestUri":"/"
393
- },
394
- "input":{"shape":"DeleteTopicInput"},
395
- "errors":[
396
- {
397
- "shape":"InvalidParameterException",
398
- "error":{
399
- "code":"InvalidParameter",
400
- "httpStatusCode":400,
401
- "senderFault":true
402
- },
403
- "exception":true,
404
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
405
- },
406
- {
407
- "shape":"InternalErrorException",
408
- "error":{
409
- "code":"InternalError",
410
- "httpStatusCode":500
411
- },
412
- "exception":true,
413
- "fault":true,
414
- "documentation":"<p>Indicates an internal service error.</p>"
415
- },
416
- {
417
- "shape":"AuthorizationErrorException",
418
- "error":{
419
- "code":"AuthorizationError",
420
- "httpStatusCode":403,
421
- "senderFault":true
422
- },
423
- "exception":true,
424
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
425
- },
426
- {
427
- "shape":"NotFoundException",
428
- "error":{
429
- "code":"NotFound",
430
- "httpStatusCode":404,
431
- "senderFault":true
432
- },
433
- "exception":true,
434
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
435
- }
436
- ],
437
- "documentation":"<p>Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error.</p>"
438
- },
439
- "GetEndpointAttributes":{
440
- "name":"GetEndpointAttributes",
441
- "http":{
442
- "method":"POST",
443
- "requestUri":"/"
444
- },
445
- "input":{
446
- "shape":"GetEndpointAttributesInput",
447
- "documentation":"<p>Input for GetEndpointAttributes action.</p>"
448
- },
449
- "output":{
450
- "shape":"GetEndpointAttributesResponse",
451
- "documentation":"<p>Response from GetEndpointAttributes of the EndpointArn.</p>",
452
- "resultWrapper":"GetEndpointAttributesResult"
453
- },
454
- "errors":[
455
- {
456
- "shape":"InvalidParameterException",
457
- "error":{
458
- "code":"InvalidParameter",
459
- "httpStatusCode":400,
460
- "senderFault":true
461
- },
462
- "exception":true,
463
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
464
- },
465
- {
466
- "shape":"InternalErrorException",
467
- "error":{
468
- "code":"InternalError",
469
- "httpStatusCode":500
470
- },
471
- "exception":true,
472
- "fault":true,
473
- "documentation":"<p>Indicates an internal service error.</p>"
474
- },
475
- {
476
- "shape":"AuthorizationErrorException",
477
- "error":{
478
- "code":"AuthorizationError",
479
- "httpStatusCode":403,
480
- "senderFault":true
481
- },
482
- "exception":true,
483
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
484
- },
485
- {
486
- "shape":"NotFoundException",
487
- "error":{
488
- "code":"NotFound",
489
- "httpStatusCode":404,
490
- "senderFault":true
491
- },
492
- "exception":true,
493
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
494
- }
495
- ],
496
- "documentation":"<p>Retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM and APNS. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
497
- },
498
- "GetPlatformApplicationAttributes":{
499
- "name":"GetPlatformApplicationAttributes",
500
- "http":{
501
- "method":"POST",
502
- "requestUri":"/"
503
- },
504
- "input":{
505
- "shape":"GetPlatformApplicationAttributesInput",
506
- "documentation":"<p>Input for GetPlatformApplicationAttributes action.</p>"
507
- },
508
- "output":{
509
- "shape":"GetPlatformApplicationAttributesResponse",
510
- "documentation":"<p>Response for GetPlatformApplicationAttributes action.</p>",
511
- "resultWrapper":"GetPlatformApplicationAttributesResult"
512
- },
513
- "errors":[
514
- {
515
- "shape":"InvalidParameterException",
516
- "error":{
517
- "code":"InvalidParameter",
518
- "httpStatusCode":400,
519
- "senderFault":true
520
- },
521
- "exception":true,
522
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
523
- },
524
- {
525
- "shape":"InternalErrorException",
526
- "error":{
527
- "code":"InternalError",
528
- "httpStatusCode":500
529
- },
530
- "exception":true,
531
- "fault":true,
532
- "documentation":"<p>Indicates an internal service error.</p>"
533
- },
534
- {
535
- "shape":"AuthorizationErrorException",
536
- "error":{
537
- "code":"AuthorizationError",
538
- "httpStatusCode":403,
539
- "senderFault":true
540
- },
541
- "exception":true,
542
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
543
- },
544
- {
545
- "shape":"NotFoundException",
546
- "error":{
547
- "code":"NotFound",
548
- "httpStatusCode":404,
549
- "senderFault":true
550
- },
551
- "exception":true,
552
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
553
- }
554
- ],
555
- "documentation":"<p>Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
556
- },
557
- "GetSubscriptionAttributes":{
558
- "name":"GetSubscriptionAttributes",
559
- "http":{
560
- "method":"POST",
561
- "requestUri":"/"
562
- },
563
- "input":{
564
- "shape":"GetSubscriptionAttributesInput",
565
- "documentation":"<p>Input for GetSubscriptionAttributes.</p>"
566
- },
567
- "output":{
568
- "shape":"GetSubscriptionAttributesResponse",
569
- "documentation":"<p>Response for GetSubscriptionAttributes action.</p>",
570
- "resultWrapper":"GetSubscriptionAttributesResult"
571
- },
572
- "errors":[
573
- {
574
- "shape":"InvalidParameterException",
575
- "error":{
576
- "code":"InvalidParameter",
577
- "httpStatusCode":400,
578
- "senderFault":true
579
- },
580
- "exception":true,
581
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
582
- },
583
- {
584
- "shape":"InternalErrorException",
585
- "error":{
586
- "code":"InternalError",
587
- "httpStatusCode":500
588
- },
589
- "exception":true,
590
- "fault":true,
591
- "documentation":"<p>Indicates an internal service error.</p>"
592
- },
593
- {
594
- "shape":"NotFoundException",
595
- "error":{
596
- "code":"NotFound",
597
- "httpStatusCode":404,
598
- "senderFault":true
599
- },
600
- "exception":true,
601
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
602
- },
603
- {
604
- "shape":"AuthorizationErrorException",
605
- "error":{
606
- "code":"AuthorizationError",
607
- "httpStatusCode":403,
608
- "senderFault":true
609
- },
610
- "exception":true,
611
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
612
- }
613
- ],
614
- "documentation":"<p>Returns all of the properties of a subscription.</p>"
615
- },
616
- "GetTopicAttributes":{
617
- "name":"GetTopicAttributes",
618
- "http":{
619
- "method":"POST",
620
- "requestUri":"/"
621
- },
622
- "input":{
623
- "shape":"GetTopicAttributesInput",
624
- "documentation":"<p>Input for GetTopicAttributes action.</p>"
625
- },
626
- "output":{
627
- "shape":"GetTopicAttributesResponse",
628
- "documentation":"<p>Response for GetTopicAttributes action.</p>",
629
- "resultWrapper":"GetTopicAttributesResult"
630
- },
631
- "errors":[
632
- {
633
- "shape":"InvalidParameterException",
634
- "error":{
635
- "code":"InvalidParameter",
636
- "httpStatusCode":400,
637
- "senderFault":true
638
- },
639
- "exception":true,
640
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
641
- },
642
- {
643
- "shape":"InternalErrorException",
644
- "error":{
645
- "code":"InternalError",
646
- "httpStatusCode":500
647
- },
648
- "exception":true,
649
- "fault":true,
650
- "documentation":"<p>Indicates an internal service error.</p>"
651
- },
652
- {
653
- "shape":"NotFoundException",
654
- "error":{
655
- "code":"NotFound",
656
- "httpStatusCode":404,
657
- "senderFault":true
658
- },
659
- "exception":true,
660
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
661
- },
662
- {
663
- "shape":"AuthorizationErrorException",
664
- "error":{
665
- "code":"AuthorizationError",
666
- "httpStatusCode":403,
667
- "senderFault":true
668
- },
669
- "exception":true,
670
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
671
- }
672
- ],
673
- "documentation":"<p>Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user. </p>"
674
- },
675
- "ListEndpointsByPlatformApplication":{
676
- "name":"ListEndpointsByPlatformApplication",
677
- "http":{
678
- "method":"POST",
679
- "requestUri":"/"
680
- },
681
- "input":{
682
- "shape":"ListEndpointsByPlatformApplicationInput",
683
- "documentation":"<p>Input for ListEndpointsByPlatformApplication action.</p>"
684
- },
685
- "output":{
686
- "shape":"ListEndpointsByPlatformApplicationResponse",
687
- "documentation":"<p>Response for ListEndpointsByPlatformApplication action.</p>",
688
- "resultWrapper":"ListEndpointsByPlatformApplicationResult"
689
- },
690
- "errors":[
691
- {
692
- "shape":"InvalidParameterException",
693
- "error":{
694
- "code":"InvalidParameter",
695
- "httpStatusCode":400,
696
- "senderFault":true
697
- },
698
- "exception":true,
699
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
700
- },
701
- {
702
- "shape":"InternalErrorException",
703
- "error":{
704
- "code":"InternalError",
705
- "httpStatusCode":500
706
- },
707
- "exception":true,
708
- "fault":true,
709
- "documentation":"<p>Indicates an internal service error.</p>"
710
- },
711
- {
712
- "shape":"AuthorizationErrorException",
713
- "error":{
714
- "code":"AuthorizationError",
715
- "httpStatusCode":403,
716
- "senderFault":true
717
- },
718
- "exception":true,
719
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
720
- },
721
- {
722
- "shape":"NotFoundException",
723
- "error":{
724
- "code":"NotFound",
725
- "httpStatusCode":404,
726
- "senderFault":true
727
- },
728
- "exception":true,
729
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
730
- }
731
- ],
732
- "documentation":"<p>Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS. The results for <code>ListEndpointsByPlatformApplication</code> are paginated and return a limited list of endpoints, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call <code>ListEndpointsByPlatformApplication</code> again using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
733
- },
734
- "ListPlatformApplications":{
735
- "name":"ListPlatformApplications",
736
- "http":{
737
- "method":"POST",
738
- "requestUri":"/"
739
- },
740
- "input":{
741
- "shape":"ListPlatformApplicationsInput",
742
- "documentation":"<p>Input for ListPlatformApplications action.</p>"
743
- },
744
- "output":{
745
- "shape":"ListPlatformApplicationsResponse",
746
- "documentation":"<p>Response for ListPlatformApplications action.</p>",
747
- "resultWrapper":"ListPlatformApplicationsResult"
748
- },
749
- "errors":[
750
- {
751
- "shape":"InvalidParameterException",
752
- "error":{
753
- "code":"InvalidParameter",
754
- "httpStatusCode":400,
755
- "senderFault":true
756
- },
757
- "exception":true,
758
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
759
- },
760
- {
761
- "shape":"InternalErrorException",
762
- "error":{
763
- "code":"InternalError",
764
- "httpStatusCode":500
765
- },
766
- "exception":true,
767
- "fault":true,
768
- "documentation":"<p>Indicates an internal service error.</p>"
769
- },
770
- {
771
- "shape":"AuthorizationErrorException",
772
- "error":{
773
- "code":"AuthorizationError",
774
- "httpStatusCode":403,
775
- "senderFault":true
776
- },
777
- "exception":true,
778
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
779
- }
780
- ],
781
- "documentation":"<p>Lists the platform application objects for the supported push notification services, such as APNS and GCM. The results for <code>ListPlatformApplications</code> are paginated and return a limited list of applications, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call <code>ListPlatformApplications</code> using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
782
- },
783
- "ListSubscriptions":{
784
- "name":"ListSubscriptions",
785
- "http":{
786
- "method":"POST",
787
- "requestUri":"/"
788
- },
789
- "input":{
790
- "shape":"ListSubscriptionsInput",
791
- "documentation":"Input for ListSubscriptions action."
792
- },
793
- "output":{
794
- "shape":"ListSubscriptionsResponse",
795
- "documentation":"<p>Response for ListSubscriptions action</p>",
796
- "resultWrapper":"ListSubscriptionsResult"
797
- },
798
- "errors":[
799
- {
800
- "shape":"InvalidParameterException",
801
- "error":{
802
- "code":"InvalidParameter",
803
- "httpStatusCode":400,
804
- "senderFault":true
805
- },
806
- "exception":true,
807
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
808
- },
809
- {
810
- "shape":"InternalErrorException",
811
- "error":{
812
- "code":"InternalError",
813
- "httpStatusCode":500
814
- },
815
- "exception":true,
816
- "fault":true,
817
- "documentation":"<p>Indicates an internal service error.</p>"
818
- },
819
- {
820
- "shape":"AuthorizationErrorException",
821
- "error":{
822
- "code":"AuthorizationError",
823
- "httpStatusCode":403,
824
- "senderFault":true
825
- },
826
- "exception":true,
827
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
828
- }
829
- ],
830
- "documentation":"<p>Returns a list of the requester's subscriptions. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a <code>NextToken</code> is also returned. Use the <code>NextToken</code> parameter in a new <code>ListSubscriptions</code> call to get further results.</p>"
831
- },
832
- "ListSubscriptionsByTopic":{
833
- "name":"ListSubscriptionsByTopic",
834
- "http":{
835
- "method":"POST",
836
- "requestUri":"/"
837
- },
838
- "input":{
839
- "shape":"ListSubscriptionsByTopicInput",
840
- "documentation":"<p>Input for ListSubscriptionsByTopic action.</p>"
841
- },
842
- "output":{
843
- "shape":"ListSubscriptionsByTopicResponse",
844
- "documentation":"<p>Response for ListSubscriptionsByTopic action.</p>",
845
- "resultWrapper":"ListSubscriptionsByTopicResult"
846
- },
847
- "errors":[
848
- {
849
- "shape":"InvalidParameterException",
850
- "error":{
851
- "code":"InvalidParameter",
852
- "httpStatusCode":400,
853
- "senderFault":true
854
- },
855
- "exception":true,
856
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
857
- },
858
- {
859
- "shape":"InternalErrorException",
860
- "error":{
861
- "code":"InternalError",
862
- "httpStatusCode":500
863
- },
864
- "exception":true,
865
- "fault":true,
866
- "documentation":"<p>Indicates an internal service error.</p>"
867
- },
868
- {
869
- "shape":"NotFoundException",
870
- "error":{
871
- "code":"NotFound",
872
- "httpStatusCode":404,
873
- "senderFault":true
874
- },
875
- "exception":true,
876
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
877
- },
878
- {
879
- "shape":"AuthorizationErrorException",
880
- "error":{
881
- "code":"AuthorizationError",
882
- "httpStatusCode":403,
883
- "senderFault":true
884
- },
885
- "exception":true,
886
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
887
- }
888
- ],
889
- "documentation":"<p>Returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a <code>NextToken</code> is also returned. Use the <code>NextToken</code> parameter in a new <code>ListSubscriptionsByTopic</code> call to get further results.</p>"
890
- },
891
- "ListTopics":{
892
- "name":"ListTopics",
893
- "http":{
894
- "method":"POST",
895
- "requestUri":"/"
896
- },
897
- "input":{"shape":"ListTopicsInput"},
898
- "output":{
899
- "shape":"ListTopicsResponse",
900
- "documentation":"<p>Response for ListTopics action.</p>",
901
- "resultWrapper":"ListTopicsResult"
902
- },
903
- "errors":[
904
- {
905
- "shape":"InvalidParameterException",
906
- "error":{
907
- "code":"InvalidParameter",
908
- "httpStatusCode":400,
909
- "senderFault":true
910
- },
911
- "exception":true,
912
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
913
- },
914
- {
915
- "shape":"InternalErrorException",
916
- "error":{
917
- "code":"InternalError",
918
- "httpStatusCode":500
919
- },
920
- "exception":true,
921
- "fault":true,
922
- "documentation":"<p>Indicates an internal service error.</p>"
923
- },
924
- {
925
- "shape":"AuthorizationErrorException",
926
- "error":{
927
- "code":"AuthorizationError",
928
- "httpStatusCode":403,
929
- "senderFault":true
930
- },
931
- "exception":true,
932
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
933
- }
934
- ],
935
- "documentation":"<p>Returns a list of the requester's topics. Each call returns a limited list of topics, up to 100. If there are more topics, a <code>NextToken</code> is also returned. Use the <code>NextToken</code> parameter in a new <code>ListTopics</code> call to get further results.</p>"
936
- },
937
- "Publish":{
938
- "name":"Publish",
939
- "http":{
940
- "method":"POST",
941
- "requestUri":"/"
942
- },
943
- "input":{
944
- "shape":"PublishInput",
945
- "documentation":"<p>Input for Publish action.</p>"
946
- },
947
- "output":{
948
- "shape":"PublishResponse",
949
- "documentation":"<p>Response for Publish action.</p>",
950
- "resultWrapper":"PublishResult"
951
- },
952
- "errors":[
953
- {
954
- "shape":"InvalidParameterException",
955
- "error":{
956
- "code":"InvalidParameter",
957
- "httpStatusCode":400,
958
- "senderFault":true
959
- },
960
- "exception":true,
961
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
962
- },
963
- {
964
- "shape":"InvalidParameterValueException",
965
- "error":{
966
- "code":"ParameterValueInvalid",
967
- "httpStatusCode":400,
968
- "senderFault":true
969
- },
970
- "exception":true,
971
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
972
- },
973
- {
974
- "shape":"InternalErrorException",
975
- "error":{
976
- "code":"InternalError",
977
- "httpStatusCode":500
978
- },
979
- "exception":true,
980
- "fault":true,
981
- "documentation":"<p>Indicates an internal service error.</p>"
982
- },
983
- {
984
- "shape":"NotFoundException",
985
- "error":{
986
- "code":"NotFound",
987
- "httpStatusCode":404,
988
- "senderFault":true
989
- },
990
- "exception":true,
991
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
992
- },
993
- {
994
- "shape":"EndpointDisabledException",
995
- "error":{
996
- "code":"EndpointDisabled",
997
- "httpStatusCode":400,
998
- "senderFault":true
999
- },
1000
- "exception":true,
1001
- "documentation":"<p>Exception error indicating endpoint disabled.</p>"
1002
- },
1003
- {
1004
- "shape":"PlatformApplicationDisabledException",
1005
- "error":{
1006
- "code":"PlatformApplicationDisabled",
1007
- "httpStatusCode":400,
1008
- "senderFault":true
1009
- },
1010
- "exception":true,
1011
- "documentation":"<p>Exception error indicating platform application disabled.</p>"
1012
- },
1013
- {
1014
- "shape":"AuthorizationErrorException",
1015
- "error":{
1016
- "code":"AuthorizationError",
1017
- "httpStatusCode":403,
1018
- "senderFault":true
1019
- },
1020
- "exception":true,
1021
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1022
- }
1023
- ],
1024
- "documentation":"<p>Sends a message to all of a topic's subscribed endpoints. When a <code>messageId</code> is returned, the message has been saved and Amazon SNS will attempt to deliver it to the topic's subscribers shortly. The format of the outgoing message to each subscribed endpoint depends on the notification protocol selected.</p> <p>To use the <code>Publish</code> action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn. The EndpointArn is returned when making a call with the <code>CreatePlatformEndpoint</code> action. The second example below shows a request and response for publishing to a mobile endpoint. </p>"
1025
- },
1026
- "RemovePermission":{
1027
- "name":"RemovePermission",
1028
- "http":{
1029
- "method":"POST",
1030
- "requestUri":"/"
1031
- },
1032
- "input":{
1033
- "shape":"RemovePermissionInput",
1034
- "documentation":"<p>Input for RemovePermission action.</p>"
1035
- },
1036
- "errors":[
1037
- {
1038
- "shape":"InvalidParameterException",
1039
- "error":{
1040
- "code":"InvalidParameter",
1041
- "httpStatusCode":400,
1042
- "senderFault":true
1043
- },
1044
- "exception":true,
1045
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1046
- },
1047
- {
1048
- "shape":"InternalErrorException",
1049
- "error":{
1050
- "code":"InternalError",
1051
- "httpStatusCode":500
1052
- },
1053
- "exception":true,
1054
- "fault":true,
1055
- "documentation":"<p>Indicates an internal service error.</p>"
1056
- },
1057
- {
1058
- "shape":"AuthorizationErrorException",
1059
- "error":{
1060
- "code":"AuthorizationError",
1061
- "httpStatusCode":403,
1062
- "senderFault":true
1063
- },
1064
- "exception":true,
1065
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1066
- },
1067
- {
1068
- "shape":"NotFoundException",
1069
- "error":{
1070
- "code":"NotFound",
1071
- "httpStatusCode":404,
1072
- "senderFault":true
1073
- },
1074
- "exception":true,
1075
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
1076
- }
1077
- ],
1078
- "documentation":"<p>Removes a statement from a topic's access control policy.</p>"
1079
- },
1080
- "SetEndpointAttributes":{
1081
- "name":"SetEndpointAttributes",
1082
- "http":{
1083
- "method":"POST",
1084
- "requestUri":"/"
1085
- },
1086
- "input":{
1087
- "shape":"SetEndpointAttributesInput",
1088
- "documentation":"<p>Input for SetEndpointAttributes action.</p>"
1089
- },
1090
- "errors":[
1091
- {
1092
- "shape":"InvalidParameterException",
1093
- "error":{
1094
- "code":"InvalidParameter",
1095
- "httpStatusCode":400,
1096
- "senderFault":true
1097
- },
1098
- "exception":true,
1099
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1100
- },
1101
- {
1102
- "shape":"InternalErrorException",
1103
- "error":{
1104
- "code":"InternalError",
1105
- "httpStatusCode":500
1106
- },
1107
- "exception":true,
1108
- "fault":true,
1109
- "documentation":"<p>Indicates an internal service error.</p>"
1110
- },
1111
- {
1112
- "shape":"AuthorizationErrorException",
1113
- "error":{
1114
- "code":"AuthorizationError",
1115
- "httpStatusCode":403,
1116
- "senderFault":true
1117
- },
1118
- "exception":true,
1119
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1120
- },
1121
- {
1122
- "shape":"NotFoundException",
1123
- "error":{
1124
- "code":"NotFound",
1125
- "httpStatusCode":404,
1126
- "senderFault":true
1127
- },
1128
- "exception":true,
1129
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
1130
- }
1131
- ],
1132
- "documentation":"<p>Sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM and APNS. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
1133
- },
1134
- "SetPlatformApplicationAttributes":{
1135
- "name":"SetPlatformApplicationAttributes",
1136
- "http":{
1137
- "method":"POST",
1138
- "requestUri":"/"
1139
- },
1140
- "input":{
1141
- "shape":"SetPlatformApplicationAttributesInput",
1142
- "documentation":"<p>Input for SetPlatformApplicationAttributes action.</p>"
1143
- },
1144
- "errors":[
1145
- {
1146
- "shape":"InvalidParameterException",
1147
- "error":{
1148
- "code":"InvalidParameter",
1149
- "httpStatusCode":400,
1150
- "senderFault":true
1151
- },
1152
- "exception":true,
1153
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1154
- },
1155
- {
1156
- "shape":"InternalErrorException",
1157
- "error":{
1158
- "code":"InternalError",
1159
- "httpStatusCode":500
1160
- },
1161
- "exception":true,
1162
- "fault":true,
1163
- "documentation":"<p>Indicates an internal service error.</p>"
1164
- },
1165
- {
1166
- "shape":"AuthorizationErrorException",
1167
- "error":{
1168
- "code":"AuthorizationError",
1169
- "httpStatusCode":403,
1170
- "senderFault":true
1171
- },
1172
- "exception":true,
1173
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1174
- },
1175
- {
1176
- "shape":"NotFoundException",
1177
- "error":{
1178
- "code":"NotFound",
1179
- "httpStatusCode":404,
1180
- "senderFault":true
1181
- },
1182
- "exception":true,
1183
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
1184
- }
1185
- ],
1186
- "documentation":"<p>Sets the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html\">Using Amazon SNS Mobile Push Notifications</a>. </p>"
1187
- },
1188
- "SetSubscriptionAttributes":{
1189
- "name":"SetSubscriptionAttributes",
1190
- "http":{
1191
- "method":"POST",
1192
- "requestUri":"/"
1193
- },
1194
- "input":{
1195
- "shape":"SetSubscriptionAttributesInput",
1196
- "documentation":"<p>Input for SetSubscriptionAttributes action.</p>"
1197
- },
1198
- "errors":[
1199
- {
1200
- "shape":"InvalidParameterException",
1201
- "error":{
1202
- "code":"InvalidParameter",
1203
- "httpStatusCode":400,
1204
- "senderFault":true
1205
- },
1206
- "exception":true,
1207
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1208
- },
1209
- {
1210
- "shape":"InternalErrorException",
1211
- "error":{
1212
- "code":"InternalError",
1213
- "httpStatusCode":500
1214
- },
1215
- "exception":true,
1216
- "fault":true,
1217
- "documentation":"<p>Indicates an internal service error.</p>"
1218
- },
1219
- {
1220
- "shape":"NotFoundException",
1221
- "error":{
1222
- "code":"NotFound",
1223
- "httpStatusCode":404,
1224
- "senderFault":true
1225
- },
1226
- "exception":true,
1227
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
1228
- },
1229
- {
1230
- "shape":"AuthorizationErrorException",
1231
- "error":{
1232
- "code":"AuthorizationError",
1233
- "httpStatusCode":403,
1234
- "senderFault":true
1235
- },
1236
- "exception":true,
1237
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1238
- }
1239
- ],
1240
- "documentation":"<p>Allows a subscription owner to set an attribute of the topic to a new value.</p>"
1241
- },
1242
- "SetTopicAttributes":{
1243
- "name":"SetTopicAttributes",
1244
- "http":{
1245
- "method":"POST",
1246
- "requestUri":"/"
1247
- },
1248
- "input":{
1249
- "shape":"SetTopicAttributesInput",
1250
- "documentation":"<p>Input for SetTopicAttributes action.</p>"
1251
- },
1252
- "errors":[
1253
- {
1254
- "shape":"InvalidParameterException",
1255
- "error":{
1256
- "code":"InvalidParameter",
1257
- "httpStatusCode":400,
1258
- "senderFault":true
1259
- },
1260
- "exception":true,
1261
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1262
- },
1263
- {
1264
- "shape":"InternalErrorException",
1265
- "error":{
1266
- "code":"InternalError",
1267
- "httpStatusCode":500
1268
- },
1269
- "exception":true,
1270
- "fault":true,
1271
- "documentation":"<p>Indicates an internal service error.</p>"
1272
- },
1273
- {
1274
- "shape":"NotFoundException",
1275
- "error":{
1276
- "code":"NotFound",
1277
- "httpStatusCode":404,
1278
- "senderFault":true
1279
- },
1280
- "exception":true,
1281
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
1282
- },
1283
- {
1284
- "shape":"AuthorizationErrorException",
1285
- "error":{
1286
- "code":"AuthorizationError",
1287
- "httpStatusCode":403,
1288
- "senderFault":true
1289
- },
1290
- "exception":true,
1291
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1292
- }
1293
- ],
1294
- "documentation":"<p>Allows a topic owner to set an attribute of the topic to a new value.</p>"
1295
- },
1296
- "Subscribe":{
1297
- "name":"Subscribe",
1298
- "http":{
1299
- "method":"POST",
1300
- "requestUri":"/"
1301
- },
1302
- "input":{
1303
- "shape":"SubscribeInput",
1304
- "documentation":"Input for Subscribe action."
1305
- },
1306
- "output":{
1307
- "shape":"SubscribeResponse",
1308
- "documentation":"Response for Subscribe action.",
1309
- "resultWrapper":"SubscribeResult"
1310
- },
1311
- "errors":[
1312
- {
1313
- "shape":"SubscriptionLimitExceededException",
1314
- "error":{
1315
- "code":"SubscriptionLimitExceeded",
1316
- "httpStatusCode":403,
1317
- "senderFault":true
1318
- },
1319
- "exception":true,
1320
- "documentation":"<p>Indicates that the customer already owns the maximum allowed number of subscriptions.</p>"
1321
- },
1322
- {
1323
- "shape":"InvalidParameterException",
1324
- "error":{
1325
- "code":"InvalidParameter",
1326
- "httpStatusCode":400,
1327
- "senderFault":true
1328
- },
1329
- "exception":true,
1330
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1331
- },
1332
- {
1333
- "shape":"InternalErrorException",
1334
- "error":{
1335
- "code":"InternalError",
1336
- "httpStatusCode":500
1337
- },
1338
- "exception":true,
1339
- "fault":true,
1340
- "documentation":"<p>Indicates an internal service error.</p>"
1341
- },
1342
- {
1343
- "shape":"NotFoundException",
1344
- "error":{
1345
- "code":"NotFound",
1346
- "httpStatusCode":404,
1347
- "senderFault":true
1348
- },
1349
- "exception":true,
1350
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
1351
- },
1352
- {
1353
- "shape":"AuthorizationErrorException",
1354
- "error":{
1355
- "code":"AuthorizationError",
1356
- "httpStatusCode":403,
1357
- "senderFault":true
1358
- },
1359
- "exception":true,
1360
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1361
- }
1362
- ],
1363
- "documentation":"<p>Prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a subscription, the endpoint owner must call the <code>ConfirmSubscription</code> action with the token from the confirmation message. Confirmation tokens are valid for three days.</p>"
1364
- },
1365
- "Unsubscribe":{
1366
- "name":"Unsubscribe",
1367
- "http":{
1368
- "method":"POST",
1369
- "requestUri":"/"
1370
- },
1371
- "input":{
1372
- "shape":"UnsubscribeInput",
1373
- "documentation":"<p>Input for Unsubscribe action.</p>"
1374
- },
1375
- "errors":[
1376
- {
1377
- "shape":"InvalidParameterException",
1378
- "error":{
1379
- "code":"InvalidParameter",
1380
- "httpStatusCode":400,
1381
- "senderFault":true
1382
- },
1383
- "exception":true,
1384
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1385
- },
1386
- {
1387
- "shape":"InternalErrorException",
1388
- "error":{
1389
- "code":"InternalError",
1390
- "httpStatusCode":500
1391
- },
1392
- "exception":true,
1393
- "fault":true,
1394
- "documentation":"<p>Indicates an internal service error.</p>"
1395
- },
1396
- {
1397
- "shape":"AuthorizationErrorException",
1398
- "error":{
1399
- "code":"AuthorizationError",
1400
- "httpStatusCode":403,
1401
- "senderFault":true
1402
- },
1403
- "exception":true,
1404
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1405
- },
1406
- {
1407
- "shape":"NotFoundException",
1408
- "error":{
1409
- "code":"NotFound",
1410
- "httpStatusCode":404,
1411
- "senderFault":true
1412
- },
1413
- "exception":true,
1414
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
1415
- }
1416
- ],
1417
- "documentation":"<p>Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an AWS signature is required. If the <code>Unsubscribe</code> call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the <code>Unsubscribe</code> request was unintended.</p>"
1418
- }
1419
- },
1420
- "shapes":{
1421
- "ActionsList":{
1422
- "type":"list",
1423
- "member":{"shape":"action"}
1424
- },
1425
- "AddPermissionInput":{
1426
- "type":"structure",
1427
- "required":[
1428
- "TopicArn",
1429
- "Label",
1430
- "AWSAccountId",
1431
- "ActionName"
1432
- ],
1433
- "members":{
1434
- "TopicArn":{
1435
- "shape":"topicARN",
1436
- "documentation":"<p>The ARN of the topic whose access control policy you wish to modify.</p>"
1437
- },
1438
- "Label":{
1439
- "shape":"label",
1440
- "documentation":"<p>A unique identifier for the new policy statement.</p>"
1441
- },
1442
- "AWSAccountId":{
1443
- "shape":"DelegatesList",
1444
- "documentation":"<p>The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service. </p>"
1445
- },
1446
- "ActionName":{
1447
- "shape":"ActionsList",
1448
- "documentation":"<p>The action you want to allow for the specified principal(s).</p> <p>Valid values: any Amazon SNS action name.</p>"
1449
- }
1450
- }
1451
- },
1452
- "AuthorizationErrorException":{
1453
- "type":"structure",
1454
- "members":{
1455
- "message":{"shape":"string"}
1456
- },
1457
- "error":{
1458
- "code":"AuthorizationError",
1459
- "httpStatusCode":403,
1460
- "senderFault":true
1461
- },
1462
- "exception":true,
1463
- "documentation":"<p>Indicates that the user has been denied access to the requested resource.</p>"
1464
- },
1465
- "Binary":{"type":"blob"},
1466
- "ConfirmSubscriptionInput":{
1467
- "type":"structure",
1468
- "required":[
1469
- "TopicArn",
1470
- "Token"
1471
- ],
1472
- "members":{
1473
- "TopicArn":{
1474
- "shape":"topicARN",
1475
- "documentation":"<p>The ARN of the topic for which you wish to confirm a subscription.</p>"
1476
- },
1477
- "Token":{
1478
- "shape":"token",
1479
- "documentation":"<p>Short-lived token sent to an endpoint during the <code>Subscribe</code> action.</p>"
1480
- },
1481
- "AuthenticateOnUnsubscribe":{
1482
- "shape":"authenticateOnUnsubscribe",
1483
- "documentation":"<p>Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is <code>true</code> and the request has an AWS signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires AWS authentication. </p>"
1484
- }
1485
- },
1486
- "documentation":"Input for ConfirmSubscription action."
1487
- },
1488
- "ConfirmSubscriptionResponse":{
1489
- "type":"structure",
1490
- "members":{
1491
- "SubscriptionArn":{
1492
- "shape":"subscriptionARN",
1493
- "documentation":"<p>The ARN of the created subscription.</p>"
1494
- }
1495
- },
1496
- "documentation":"Response for ConfirmSubscriptions action."
1497
- },
1498
- "CreateEndpointResponse":{
1499
- "type":"structure",
1500
- "members":{
1501
- "EndpointArn":{
1502
- "shape":"String",
1503
- "documentation":"<p>EndpointArn returned from CreateEndpoint action.</p>"
1504
- }
1505
- },
1506
- "documentation":"<p>Response from CreateEndpoint action.</p>"
1507
- },
1508
- "CreatePlatformApplicationInput":{
1509
- "type":"structure",
1510
- "required":[
1511
- "Name",
1512
- "Platform",
1513
- "Attributes"
1514
- ],
1515
- "members":{
1516
- "Name":{
1517
- "shape":"String",
1518
- "documentation":"<p>Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.</p>"
1519
- },
1520
- "Platform":{
1521
- "shape":"String",
1522
- "documentation":"<p>The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).</p>"
1523
- },
1524
- "Attributes":{
1525
- "shape":"MapStringToString",
1526
- "documentation":"<p>For a list of attributes, see <a href=\"http://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html\">SetPlatformApplicationAttributes</a></p>"
1527
- }
1528
- },
1529
- "documentation":"<p>Input for CreatePlatformApplication action.</p>"
1530
- },
1531
- "CreatePlatformApplicationResponse":{
1532
- "type":"structure",
1533
- "members":{
1534
- "PlatformApplicationArn":{
1535
- "shape":"String",
1536
- "documentation":"<p>PlatformApplicationArn is returned.</p>"
1537
- }
1538
- },
1539
- "documentation":"<p>Response from CreatePlatformApplication action.</p>"
1540
- },
1541
- "CreatePlatformEndpointInput":{
1542
- "type":"structure",
1543
- "required":[
1544
- "PlatformApplicationArn",
1545
- "Token"
1546
- ],
1547
- "members":{
1548
- "PlatformApplicationArn":{
1549
- "shape":"String",
1550
- "documentation":"<p>PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.</p>"
1551
- },
1552
- "Token":{
1553
- "shape":"String",
1554
- "documentation":"<p>Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM or ADM, the device token equivalent is called the registration ID.</p>"
1555
- },
1556
- "CustomUserData":{
1557
- "shape":"String",
1558
- "documentation":"<p>Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.</p>"
1559
- },
1560
- "Attributes":{
1561
- "shape":"MapStringToString",
1562
- "documentation":"<p>For a list of attributes, see <a href=\"http://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html\">SetEndpointAttributes</a>.</p>"
1563
- }
1564
- },
1565
- "documentation":"<p>Input for CreatePlatformEndpoint action.</p>"
1566
- },
1567
- "CreateTopicInput":{
1568
- "type":"structure",
1569
- "required":["Name"],
1570
- "members":{
1571
- "Name":{
1572
- "shape":"topicName",
1573
- "documentation":"<p>The name of the topic you want to create.</p> <p>Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. </p>"
1574
- }
1575
- },
1576
- "documentation":"<p>Input for CreateTopic action.</p>"
1577
- },
1578
- "CreateTopicResponse":{
1579
- "type":"structure",
1580
- "members":{
1581
- "TopicArn":{
1582
- "shape":"topicARN",
1583
- "documentation":"<p>The Amazon Resource Name (ARN) assigned to the created topic.</p>"
1584
- }
1585
- },
1586
- "documentation":"<p>Response from CreateTopic action.</p>"
1587
- },
1588
- "DelegatesList":{
1589
- "type":"list",
1590
- "member":{"shape":"delegate"}
1591
- },
1592
- "DeleteEndpointInput":{
1593
- "type":"structure",
1594
- "required":["EndpointArn"],
1595
- "members":{
1596
- "EndpointArn":{
1597
- "shape":"String",
1598
- "documentation":"<p>EndpointArn of endpoint to delete.</p>"
1599
- }
1600
- },
1601
- "documentation":"<p>Input for DeleteEndpoint action.</p>"
1602
- },
1603
- "DeletePlatformApplicationInput":{
1604
- "type":"structure",
1605
- "required":["PlatformApplicationArn"],
1606
- "members":{
1607
- "PlatformApplicationArn":{
1608
- "shape":"String",
1609
- "documentation":"<p>PlatformApplicationArn of platform application object to delete.</p>"
1610
- }
1611
- },
1612
- "documentation":"<p>Input for DeletePlatformApplication action.</p>"
1613
- },
1614
- "DeleteTopicInput":{
1615
- "type":"structure",
1616
- "required":["TopicArn"],
1617
- "members":{
1618
- "TopicArn":{
1619
- "shape":"topicARN",
1620
- "documentation":"<p>The ARN of the topic you want to delete.</p>"
1621
- }
1622
- }
1623
- },
1624
- "Endpoint":{
1625
- "type":"structure",
1626
- "members":{
1627
- "EndpointArn":{
1628
- "shape":"String",
1629
- "documentation":"<p>EndpointArn for mobile app and device.</p>"
1630
- },
1631
- "Attributes":{
1632
- "shape":"MapStringToString",
1633
- "documentation":"<p>Attributes for endpoint.</p>"
1634
- }
1635
- },
1636
- "documentation":"<p>Endpoint for mobile app and device.</p>"
1637
- },
1638
- "EndpointDisabledException":{
1639
- "type":"structure",
1640
- "members":{
1641
- "message":{
1642
- "shape":"string",
1643
- "documentation":"<p>Message for endpoint disabled.</p>"
1644
- }
1645
- },
1646
- "error":{
1647
- "code":"EndpointDisabled",
1648
- "httpStatusCode":400,
1649
- "senderFault":true
1650
- },
1651
- "exception":true,
1652
- "documentation":"<p>Exception error indicating endpoint disabled.</p>"
1653
- },
1654
- "GetEndpointAttributesInput":{
1655
- "type":"structure",
1656
- "required":["EndpointArn"],
1657
- "members":{
1658
- "EndpointArn":{
1659
- "shape":"String",
1660
- "documentation":"<p>EndpointArn for GetEndpointAttributes input.</p>"
1661
- }
1662
- },
1663
- "documentation":"<p>Input for GetEndpointAttributes action.</p>"
1664
- },
1665
- "GetEndpointAttributesResponse":{
1666
- "type":"structure",
1667
- "members":{
1668
- "Attributes":{
1669
- "shape":"MapStringToString",
1670
- "documentation":"<p>Attributes include the following:</p> <ul> <li> <code>CustomUserData</code> -- arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.</li> <li> <code>Enabled</code> -- flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token.</li> <li> <code>Token</code> -- device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.</li> </ul>"
1671
- }
1672
- },
1673
- "documentation":"<p>Response from GetEndpointAttributes of the EndpointArn.</p>"
1674
- },
1675
- "GetPlatformApplicationAttributesInput":{
1676
- "type":"structure",
1677
- "required":["PlatformApplicationArn"],
1678
- "members":{
1679
- "PlatformApplicationArn":{
1680
- "shape":"String",
1681
- "documentation":"<p>PlatformApplicationArn for GetPlatformApplicationAttributesInput.</p>"
1682
- }
1683
- },
1684
- "documentation":"<p>Input for GetPlatformApplicationAttributes action.</p>"
1685
- },
1686
- "GetPlatformApplicationAttributesResponse":{
1687
- "type":"structure",
1688
- "members":{
1689
- "Attributes":{
1690
- "shape":"MapStringToString",
1691
- "documentation":"<p>Attributes include the following:</p> <ul> <li> <code>EventEndpointCreated</code> -- Topic ARN to which EndpointCreated event notifications should be sent.</li> <li> <code>EventEndpointDeleted</code> -- Topic ARN to which EndpointDeleted event notifications should be sent.</li> <li> <code>EventEndpointUpdated</code> -- Topic ARN to which EndpointUpdate event notifications should be sent.</li> <li> <code>EventDeliveryFailure</code> -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.</li> </ul>"
1692
- }
1693
- },
1694
- "documentation":"<p>Response for GetPlatformApplicationAttributes action.</p>"
1695
- },
1696
- "GetSubscriptionAttributesInput":{
1697
- "type":"structure",
1698
- "required":["SubscriptionArn"],
1699
- "members":{
1700
- "SubscriptionArn":{
1701
- "shape":"subscriptionARN",
1702
- "documentation":"<p>The ARN of the subscription whose properties you want to get.</p>"
1703
- }
1704
- },
1705
- "documentation":"<p>Input for GetSubscriptionAttributes.</p>"
1706
- },
1707
- "GetSubscriptionAttributesResponse":{
1708
- "type":"structure",
1709
- "members":{
1710
- "Attributes":{
1711
- "shape":"SubscriptionAttributesMap",
1712
- "documentation":"<p>A map of the subscription's attributes. Attributes in this map include the following:</p> <ul> <li> <code>SubscriptionArn</code> -- the subscription's ARN</li> <li> <code>TopicArn</code> -- the topic ARN that the subscription is associated with</li> <li> <code>Owner</code> -- the AWS account ID of the subscription's owner</li> <li> <code>ConfirmationWasAuthenticated</code> -- true if the subscription confirmation request was authenticated</li> <li> <code>DeliveryPolicy</code> -- the JSON serialization of the subscription's delivery policy</li> <li> <code>EffectiveDeliveryPolicy</code> -- the JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults</li> </ul>"
1713
- }
1714
- },
1715
- "documentation":"<p>Response for GetSubscriptionAttributes action.</p>"
1716
- },
1717
- "GetTopicAttributesInput":{
1718
- "type":"structure",
1719
- "required":["TopicArn"],
1720
- "members":{
1721
- "TopicArn":{
1722
- "shape":"topicARN",
1723
- "documentation":"<p>The ARN of the topic whose properties you want to get.</p>"
1724
- }
1725
- },
1726
- "documentation":"<p>Input for GetTopicAttributes action.</p>"
1727
- },
1728
- "GetTopicAttributesResponse":{
1729
- "type":"structure",
1730
- "members":{
1731
- "Attributes":{
1732
- "shape":"TopicAttributesMap",
1733
- "documentation":"<p>A map of the topic's attributes. Attributes in this map include the following:</p> <ul> <li> <code>TopicArn</code> -- the topic's ARN</li> <li> <code>Owner</code> -- the AWS account ID of the topic's owner</li> <li> <code>Policy</code> -- the JSON serialization of the topic's access control policy</li> <li> <code>DisplayName</code> -- the human-readable name used in the \"From\" field for notifications to email and email-json endpoints</li> <li> <code>SubscriptionsPending</code> -- the number of subscriptions pending confirmation on this topic</li> <li> <code>SubscriptionsConfirmed</code> -- the number of confirmed subscriptions on this topic</li> <li> <code>SubscriptionsDeleted</code> -- the number of deleted subscriptions on this topic</li> <li> <code>DeliveryPolicy</code> -- the JSON serialization of the topic's delivery policy</li> <li> <code>EffectiveDeliveryPolicy</code> -- the JSON serialization of the effective delivery policy that takes into account system defaults</li> </ul>"
1734
- }
1735
- },
1736
- "documentation":"<p>Response for GetTopicAttributes action.</p>"
1737
- },
1738
- "InternalErrorException":{
1739
- "type":"structure",
1740
- "members":{
1741
- "message":{"shape":"string"}
1742
- },
1743
- "error":{
1744
- "code":"InternalError",
1745
- "httpStatusCode":500
1746
- },
1747
- "exception":true,
1748
- "fault":true,
1749
- "documentation":"<p>Indicates an internal service error.</p>"
1750
- },
1751
- "InvalidParameterException":{
1752
- "type":"structure",
1753
- "members":{
1754
- "message":{"shape":"string"}
1755
- },
1756
- "error":{
1757
- "code":"InvalidParameter",
1758
- "httpStatusCode":400,
1759
- "senderFault":true
1760
- },
1761
- "exception":true,
1762
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1763
- },
1764
- "InvalidParameterValueException":{
1765
- "type":"structure",
1766
- "members":{
1767
- "message":{"shape":"string"}
1768
- },
1769
- "error":{
1770
- "code":"ParameterValueInvalid",
1771
- "httpStatusCode":400,
1772
- "senderFault":true
1773
- },
1774
- "exception":true,
1775
- "documentation":"<p>Indicates that a request parameter does not comply with the associated constraints.</p>"
1776
- },
1777
- "ListEndpointsByPlatformApplicationInput":{
1778
- "type":"structure",
1779
- "required":["PlatformApplicationArn"],
1780
- "members":{
1781
- "PlatformApplicationArn":{
1782
- "shape":"String",
1783
- "documentation":"<p>PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action.</p>"
1784
- },
1785
- "NextToken":{
1786
- "shape":"String",
1787
- "documentation":"<p>NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results.</p>"
1788
- }
1789
- },
1790
- "documentation":"<p>Input for ListEndpointsByPlatformApplication action.</p>"
1791
- },
1792
- "ListEndpointsByPlatformApplicationResponse":{
1793
- "type":"structure",
1794
- "members":{
1795
- "Endpoints":{
1796
- "shape":"ListOfEndpoints",
1797
- "documentation":"<p>Endpoints returned for ListEndpointsByPlatformApplication action.</p>"
1798
- },
1799
- "NextToken":{
1800
- "shape":"String",
1801
- "documentation":"<p>NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results.</p>"
1802
- }
1803
- },
1804
- "documentation":"<p>Response for ListEndpointsByPlatformApplication action.</p>"
1805
- },
1806
- "ListOfEndpoints":{
1807
- "type":"list",
1808
- "member":{"shape":"Endpoint"}
1809
- },
1810
- "ListOfPlatformApplications":{
1811
- "type":"list",
1812
- "member":{"shape":"PlatformApplication"}
1813
- },
1814
- "ListPlatformApplicationsInput":{
1815
- "type":"structure",
1816
- "members":{
1817
- "NextToken":{
1818
- "shape":"String",
1819
- "documentation":"<p>NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results.</p>"
1820
- }
1821
- },
1822
- "documentation":"<p>Input for ListPlatformApplications action.</p>"
1823
- },
1824
- "ListPlatformApplicationsResponse":{
1825
- "type":"structure",
1826
- "members":{
1827
- "PlatformApplications":{
1828
- "shape":"ListOfPlatformApplications",
1829
- "documentation":"<p>Platform applications returned when calling ListPlatformApplications action.</p>"
1830
- },
1831
- "NextToken":{
1832
- "shape":"String",
1833
- "documentation":"<p>NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results.</p>"
1834
- }
1835
- },
1836
- "documentation":"<p>Response for ListPlatformApplications action.</p>"
1837
- },
1838
- "ListSubscriptionsByTopicInput":{
1839
- "type":"structure",
1840
- "required":["TopicArn"],
1841
- "members":{
1842
- "TopicArn":{
1843
- "shape":"topicARN",
1844
- "documentation":"<p>The ARN of the topic for which you wish to find subscriptions.</p>"
1845
- },
1846
- "NextToken":{
1847
- "shape":"nextToken",
1848
- "documentation":"<p>Token returned by the previous <code>ListSubscriptionsByTopic</code> request.</p>"
1849
- }
1850
- },
1851
- "documentation":"<p>Input for ListSubscriptionsByTopic action.</p>"
1852
- },
1853
- "ListSubscriptionsByTopicResponse":{
1854
- "type":"structure",
1855
- "members":{
1856
- "Subscriptions":{
1857
- "shape":"SubscriptionsList",
1858
- "documentation":"<p>A list of subscriptions.</p>"
1859
- },
1860
- "NextToken":{
1861
- "shape":"nextToken",
1862
- "documentation":"<p>Token to pass along to the next <code>ListSubscriptionsByTopic</code> request. This element is returned if there are more subscriptions to retrieve.</p>"
1863
- }
1864
- },
1865
- "documentation":"<p>Response for ListSubscriptionsByTopic action.</p>"
1866
- },
1867
- "ListSubscriptionsInput":{
1868
- "type":"structure",
1869
- "members":{
1870
- "NextToken":{
1871
- "shape":"nextToken",
1872
- "documentation":"<p>Token returned by the previous <code>ListSubscriptions</code> request.</p>"
1873
- }
1874
- },
1875
- "documentation":"Input for ListSubscriptions action."
1876
- },
1877
- "ListSubscriptionsResponse":{
1878
- "type":"structure",
1879
- "members":{
1880
- "Subscriptions":{
1881
- "shape":"SubscriptionsList",
1882
- "documentation":"<p>A list of subscriptions.</p>"
1883
- },
1884
- "NextToken":{
1885
- "shape":"nextToken",
1886
- "documentation":"<p>Token to pass along to the next <code>ListSubscriptions</code> request. This element is returned if there are more subscriptions to retrieve.</p>"
1887
- }
1888
- },
1889
- "documentation":"<p>Response for ListSubscriptions action</p>"
1890
- },
1891
- "ListTopicsInput":{
1892
- "type":"structure",
1893
- "members":{
1894
- "NextToken":{
1895
- "shape":"nextToken",
1896
- "documentation":"<p>Token returned by the previous <code>ListTopics</code> request.</p>"
1897
- }
1898
- }
1899
- },
1900
- "ListTopicsResponse":{
1901
- "type":"structure",
1902
- "members":{
1903
- "Topics":{
1904
- "shape":"TopicsList",
1905
- "documentation":"<p>A list of topic ARNs.</p>"
1906
- },
1907
- "NextToken":{
1908
- "shape":"nextToken",
1909
- "documentation":"<p>Token to pass along to the next <code>ListTopics</code> request. This element is returned if there are additional topics to retrieve.</p>"
1910
- }
1911
- },
1912
- "documentation":"<p>Response for ListTopics action.</p>"
1913
- },
1914
- "MapStringToString":{
1915
- "type":"map",
1916
- "key":{"shape":"String"},
1917
- "value":{"shape":"String"}
1918
- },
1919
- "MessageAttributeMap":{
1920
- "type":"map",
1921
- "key":{
1922
- "shape":"String",
1923
- "locationName":"Name"
1924
- },
1925
- "value":{
1926
- "shape":"MessageAttributeValue",
1927
- "locationName":"Value"
1928
- }
1929
- },
1930
- "MessageAttributeValue":{
1931
- "type":"structure",
1932
- "required":["DataType"],
1933
- "members":{
1934
- "DataType":{
1935
- "shape":"String",
1936
- "documentation":"<p>Amazon SNS supports the following logical data types: String, Number, and Binary. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html#SNSMessageAttributes.DataTypes\">Message Attribute Data Types</a>.</p>"
1937
- },
1938
- "StringValue":{
1939
- "shape":"String",
1940
- "documentation":"<p>Strings are Unicode with UTF8 binary encoding. For a list of code values, see <a href=\"http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters\">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>"
1941
- },
1942
- "BinaryValue":{
1943
- "shape":"Binary",
1944
- "documentation":"<p>Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images.</p>"
1945
- }
1946
- },
1947
- "documentation":"<p>The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/api/API_Publish.html\">Publish</a>.</p> <p>Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes). For more information, see <a href=\"http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html\">Using Amazon SNS Message Attributes</a>.</p>"
1948
- },
1949
- "NotFoundException":{
1950
- "type":"structure",
1951
- "members":{
1952
- "message":{"shape":"string"}
1953
- },
1954
- "error":{
1955
- "code":"NotFound",
1956
- "httpStatusCode":404,
1957
- "senderFault":true
1958
- },
1959
- "exception":true,
1960
- "documentation":"<p>Indicates that the requested resource does not exist.</p>"
1961
- },
1962
- "PlatformApplication":{
1963
- "type":"structure",
1964
- "members":{
1965
- "PlatformApplicationArn":{
1966
- "shape":"String",
1967
- "documentation":"<p>PlatformApplicationArn for platform application object.</p>"
1968
- },
1969
- "Attributes":{
1970
- "shape":"MapStringToString",
1971
- "documentation":"<p>Attributes for platform application object.</p>"
1972
- }
1973
- },
1974
- "documentation":"<p>Platform application object.</p>"
1975
- },
1976
- "PlatformApplicationDisabledException":{
1977
- "type":"structure",
1978
- "members":{
1979
- "message":{
1980
- "shape":"string",
1981
- "documentation":"<p>Message for platform application disabled.</p>"
1982
- }
1983
- },
1984
- "error":{
1985
- "code":"PlatformApplicationDisabled",
1986
- "httpStatusCode":400,
1987
- "senderFault":true
1988
- },
1989
- "exception":true,
1990
- "documentation":"<p>Exception error indicating platform application disabled.</p>"
1991
- },
1992
- "PublishInput":{
1993
- "type":"structure",
1994
- "required":["Message"],
1995
- "members":{
1996
- "TopicArn":{
1997
- "shape":"topicARN",
1998
- "documentation":"<p>The topic you want to publish to.</p>"
1999
- },
2000
- "TargetArn":{
2001
- "shape":"String",
2002
- "documentation":"<p>Either TopicArn or EndpointArn, but not both.</p>"
2003
- },
2004
- "Message":{
2005
- "shape":"message",
2006
- "documentation":"<p>The message you want to send to the topic.</p> <p>If you want to send the same message to all transport protocols, include the text of the message as a String value.</p> <p>If you want to send different messages for each transport protocol, set the value of the <code>MessageStructure</code> parameter to <code>json</code> and use a JSON object for the <code>Message</code> parameter. See the Examples section for the format of the JSON object. </p> <p>Constraints: Messages must be UTF-8 encoded strings at most 256 KB in size (262144 bytes, not 262144 characters).</p> <p>JSON-specific constraints: <ul> <li>Keys in the JSON object that correspond to supported transport protocols must have simple JSON string values. </li> <li>The values will be parsed (unescaped) before they are used in outgoing messages.</li> <li>Outbound notifications are JSON encoded (meaning that the characters will be reescaped for sending).</li> <li>Values have a minimum length of 0 (the empty string, \"\", is allowed).</li> <li>Values have a maximum length bounded by the overall message size (so, including multiple protocols may limit message sizes).</li> <li>Non-string values will cause the key to be ignored.</li> <li>Keys that do not correspond to supported transport protocols are ignored.</li> <li>Duplicate keys are not allowed.</li> <li>Failure to parse or validate any key or value in the message will cause the <code>Publish</code> call to return an error (no partial delivery).</li> </ul> </p>"
2007
- },
2008
- "Subject":{
2009
- "shape":"subject",
2010
- "documentation":"<p>Optional parameter to be used as the \"Subject\" line when the message is delivered to email endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints.</p> <p>Constraints: Subjects must be ASCII text that begins with a letter, number, or punctuation mark; must not include line breaks or control characters; and must be less than 100 characters long.</p>"
2011
- },
2012
- "MessageStructure":{
2013
- "shape":"messageStructure",
2014
- "documentation":"<p>Set <code>MessageStructure</code> to <code>json</code> if you want to send a different message for each protocol. For example, using one publish action, you can send a short message to your SMS subscribers and a longer message to your email subscribers. If you set <code>MessageStructure</code> to <code>json</code>, the value of the <code>Message</code> parameter must: </p> <ul> <li>be a syntactically valid JSON object; and</li> <li>contain at least a top-level JSON key of \"default\" with a value that is a string.</li> </ul> <p> You can define other top-level keys that define the message you want to send to a specific transport protocol (e.g., \"http\"). </p> <p>For information about sending different messages for each protocol using the AWS Management Console, go to <a href=\"http://docs.aws.amazon.com/sns/latest/gsg/Publish.html#sns-message-formatting-by-protocol\">Create Different Messages for Each Protocol</a> in the <i>Amazon Simple Notification Service Getting Started Guide</i>. </p> <p>Valid value: <code>json</code></p>"
2015
- },
2016
- "MessageAttributes":{
2017
- "shape":"MessageAttributeMap",
2018
- "documentation":"<p>Message attributes for Publish action.</p>"
2019
- }
2020
- },
2021
- "documentation":"<p>Input for Publish action.</p>"
2022
- },
2023
- "PublishResponse":{
2024
- "type":"structure",
2025
- "members":{
2026
- "MessageId":{
2027
- "shape":"messageId",
2028
- "documentation":"<p>Unique identifier assigned to the published message.</p> <p>Length Constraint: Maximum 100 characters</p>"
2029
- }
2030
- },
2031
- "documentation":"<p>Response for Publish action.</p>"
2032
- },
2033
- "RemovePermissionInput":{
2034
- "type":"structure",
2035
- "required":[
2036
- "TopicArn",
2037
- "Label"
2038
- ],
2039
- "members":{
2040
- "TopicArn":{
2041
- "shape":"topicARN",
2042
- "documentation":"<p>The ARN of the topic whose access control policy you wish to modify.</p>"
2043
- },
2044
- "Label":{
2045
- "shape":"label",
2046
- "documentation":"<p>The unique label of the statement you want to remove.</p>"
2047
- }
2048
- },
2049
- "documentation":"<p>Input for RemovePermission action.</p>"
2050
- },
2051
- "SetEndpointAttributesInput":{
2052
- "type":"structure",
2053
- "required":[
2054
- "EndpointArn",
2055
- "Attributes"
2056
- ],
2057
- "members":{
2058
- "EndpointArn":{
2059
- "shape":"String",
2060
- "documentation":"<p>EndpointArn used for SetEndpointAttributes action.</p>"
2061
- },
2062
- "Attributes":{
2063
- "shape":"MapStringToString",
2064
- "documentation":"<p>A map of the endpoint attributes. Attributes in this map include the following:</p> <ul> <li> <code>CustomUserData</code> -- arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.</li> <li> <code>Enabled</code> -- flag that enables/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token.</li> <li> <code>Token</code> -- device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service.</li> </ul>"
2065
- }
2066
- },
2067
- "documentation":"<p>Input for SetEndpointAttributes action.</p>"
2068
- },
2069
- "SetPlatformApplicationAttributesInput":{
2070
- "type":"structure",
2071
- "required":[
2072
- "PlatformApplicationArn",
2073
- "Attributes"
2074
- ],
2075
- "members":{
2076
- "PlatformApplicationArn":{
2077
- "shape":"String",
2078
- "documentation":"<p>PlatformApplicationArn for SetPlatformApplicationAttributes action.</p>"
2079
- },
2080
- "Attributes":{
2081
- "shape":"MapStringToString",
2082
- "documentation":"<p>A map of the platform application attributes. Attributes in this map include the following:</p> <ul> <li> <code>PlatformCredential</code> -- The credential received from the notification service. For APNS/APNS_SANDBOX, PlatformCredential is \"private key\". For GCM, PlatformCredential is \"API key\". For ADM, PlatformCredential is \"client secret\".</li> <li> <code>PlatformPrincipal</code> -- The principal received from the notification service. For APNS/APNS_SANDBOX, PlatformPrincipal is \"SSL certificate\". For GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is \"client id\".</li> <li> <code>EventEndpointCreated</code> -- Topic ARN to which EndpointCreated event notifications should be sent.</li> <li> <code>EventEndpointDeleted</code> -- Topic ARN to which EndpointDeleted event notifications should be sent.</li> <li> <code>EventEndpointUpdated</code> -- Topic ARN to which EndpointUpdate event notifications should be sent.</li> <li> <code>EventDeliveryFailure</code> -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application's endpoints.</li> </ul>"
2083
- }
2084
- },
2085
- "documentation":"<p>Input for SetPlatformApplicationAttributes action.</p>"
2086
- },
2087
- "SetSubscriptionAttributesInput":{
2088
- "type":"structure",
2089
- "required":[
2090
- "SubscriptionArn",
2091
- "AttributeName"
2092
- ],
2093
- "members":{
2094
- "SubscriptionArn":{
2095
- "shape":"subscriptionARN",
2096
- "documentation":"<p>The ARN of the subscription to modify.</p>"
2097
- },
2098
- "AttributeName":{
2099
- "shape":"attributeName",
2100
- "documentation":"<p>The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.</p> <p>Valid values: <code>DeliveryPolicy</code> | <code>RawMessageDelivery</code></p>"
2101
- },
2102
- "AttributeValue":{
2103
- "shape":"attributeValue",
2104
- "documentation":"<p>The new value for the attribute in JSON format.</p>"
2105
- }
2106
- },
2107
- "documentation":"<p>Input for SetSubscriptionAttributes action.</p>"
2108
- },
2109
- "SetTopicAttributesInput":{
2110
- "type":"structure",
2111
- "required":[
2112
- "TopicArn",
2113
- "AttributeName"
2114
- ],
2115
- "members":{
2116
- "TopicArn":{
2117
- "shape":"topicARN",
2118
- "documentation":"<p>The ARN of the topic to modify.</p>"
2119
- },
2120
- "AttributeName":{
2121
- "shape":"attributeName",
2122
- "documentation":"<p>The name of the attribute you want to set. Only a subset of the topic's attributes are mutable.</p> <p>Valid values: <code>Policy</code> | <code>DisplayName</code> | <code>DeliveryPolicy</code></p>"
2123
- },
2124
- "AttributeValue":{
2125
- "shape":"attributeValue",
2126
- "documentation":"<p>The new value for the attribute.</p>"
2127
- }
2128
- },
2129
- "documentation":"<p>Input for SetTopicAttributes action.</p>"
2130
- },
2131
- "String":{"type":"string"},
2132
- "SubscribeInput":{
2133
- "type":"structure",
2134
- "required":[
2135
- "TopicArn",
2136
- "Protocol"
2137
- ],
2138
- "members":{
2139
- "TopicArn":{
2140
- "shape":"topicARN",
2141
- "documentation":"<p>The ARN of the topic you want to subscribe to.</p>"
2142
- },
2143
- "Protocol":{
2144
- "shape":"protocol",
2145
- "documentation":"<p>The protocol you want to use. Supported protocols include:</p> <ul> <li> <code>http</code> -- delivery of JSON-encoded message via HTTP POST</li> <li> <code>https</code> -- delivery of JSON-encoded message via HTTPS POST</li> <li> <code>email</code> -- delivery of message via SMTP</li> <li> <code>email-json</code> -- delivery of JSON-encoded message via SMTP</li> <li> <code>sms</code> -- delivery of message via SMS</li> <li> <code>sqs</code> -- delivery of JSON-encoded message to an Amazon SQS queue</li> <li> <code>application</code> -- delivery of JSON-encoded message to an EndpointArn for a mobile app and device.</li> </ul>"
2146
- },
2147
- "Endpoint":{
2148
- "shape":"endpoint",
2149
- "documentation":"<p>The endpoint that you want to receive notifications. Endpoints vary by protocol:</p> <ul> <li>For the <code>http</code> protocol, the endpoint is an URL beginning with \"http://\"</li> <li>For the <code>https</code> protocol, the endpoint is a URL beginning with \"https://\"</li> <li>For the <code>email</code> protocol, the endpoint is an email address</li> <li>For the <code>email-json</code> protocol, the endpoint is an email address</li> <li>For the <code>sms</code> protocol, the endpoint is a phone number of an SMS-enabled device</li> <li>For the <code>sqs</code> protocol, the endpoint is the ARN of an Amazon SQS queue</li> <li>For the <code>application</code> protocol, the endpoint is the EndpointArn of a mobile app and device.</li> </ul>"
2150
- }
2151
- },
2152
- "documentation":"Input for Subscribe action."
2153
- },
2154
- "SubscribeResponse":{
2155
- "type":"structure",
2156
- "members":{
2157
- "SubscriptionArn":{
2158
- "shape":"subscriptionARN",
2159
- "documentation":"<p>The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation).</p>"
2160
- }
2161
- },
2162
- "documentation":"Response for Subscribe action."
2163
- },
2164
- "Subscription":{
2165
- "type":"structure",
2166
- "members":{
2167
- "SubscriptionArn":{
2168
- "shape":"subscriptionARN",
2169
- "documentation":"<p>The subscription's ARN.</p>"
2170
- },
2171
- "Owner":{
2172
- "shape":"account",
2173
- "documentation":"<p>The subscription's owner.</p>"
2174
- },
2175
- "Protocol":{
2176
- "shape":"protocol",
2177
- "documentation":"<p>The subscription's protocol.</p>"
2178
- },
2179
- "Endpoint":{
2180
- "shape":"endpoint",
2181
- "documentation":"<p>The subscription's endpoint (format depends on the protocol).</p>"
2182
- },
2183
- "TopicArn":{
2184
- "shape":"topicARN",
2185
- "documentation":"<p>The ARN of the subscription's topic.</p>"
2186
- }
2187
- },
2188
- "documentation":"<p>A wrapper type for the attributes of an Amazon SNS subscription.</p>"
2189
- },
2190
- "SubscriptionAttributesMap":{
2191
- "type":"map",
2192
- "key":{"shape":"attributeName"},
2193
- "value":{"shape":"attributeValue"}
2194
- },
2195
- "SubscriptionLimitExceededException":{
2196
- "type":"structure",
2197
- "members":{
2198
- "message":{"shape":"string"}
2199
- },
2200
- "error":{
2201
- "code":"SubscriptionLimitExceeded",
2202
- "httpStatusCode":403,
2203
- "senderFault":true
2204
- },
2205
- "exception":true,
2206
- "documentation":"<p>Indicates that the customer already owns the maximum allowed number of subscriptions.</p>"
2207
- },
2208
- "SubscriptionsList":{
2209
- "type":"list",
2210
- "member":{"shape":"Subscription"}
2211
- },
2212
- "Topic":{
2213
- "type":"structure",
2214
- "members":{
2215
- "TopicArn":{
2216
- "shape":"topicARN",
2217
- "documentation":"<p>The topic's ARN.</p>"
2218
- }
2219
- },
2220
- "documentation":"<p>A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a topic's attributes, use <code>GetTopicAttributes</code>.</p>"
2221
- },
2222
- "TopicAttributesMap":{
2223
- "type":"map",
2224
- "key":{"shape":"attributeName"},
2225
- "value":{"shape":"attributeValue"}
2226
- },
2227
- "TopicLimitExceededException":{
2228
- "type":"structure",
2229
- "members":{
2230
- "message":{"shape":"string"}
2231
- },
2232
- "error":{
2233
- "code":"TopicLimitExceeded",
2234
- "httpStatusCode":403,
2235
- "senderFault":true
2236
- },
2237
- "exception":true,
2238
- "documentation":"<p>Indicates that the customer already owns the maximum allowed number of topics.</p>"
2239
- },
2240
- "TopicsList":{
2241
- "type":"list",
2242
- "member":{"shape":"Topic"}
2243
- },
2244
- "UnsubscribeInput":{
2245
- "type":"structure",
2246
- "required":["SubscriptionArn"],
2247
- "members":{
2248
- "SubscriptionArn":{
2249
- "shape":"subscriptionARN",
2250
- "documentation":"<p>The ARN of the subscription to be deleted.</p>"
2251
- }
2252
- },
2253
- "documentation":"<p>Input for Unsubscribe action.</p>"
2254
- },
2255
- "account":{"type":"string"},
2256
- "action":{"type":"string"},
2257
- "attributeName":{"type":"string"},
2258
- "attributeValue":{"type":"string"},
2259
- "authenticateOnUnsubscribe":{"type":"string"},
2260
- "delegate":{"type":"string"},
2261
- "endpoint":{"type":"string"},
2262
- "label":{"type":"string"},
2263
- "message":{"type":"string"},
2264
- "messageId":{"type":"string"},
2265
- "messageStructure":{"type":"string"},
2266
- "nextToken":{"type":"string"},
2267
- "protocol":{"type":"string"},
2268
- "string":{"type":"string"},
2269
- "subject":{"type":"string"},
2270
- "subscriptionARN":{"type":"string"},
2271
- "token":{"type":"string"},
2272
- "topicARN":{"type":"string"},
2273
- "topicName":{"type":"string"}
2274
- }
2275
- }