aws-sdk-core 2.6.1 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. checksums.yaml +4 -4
  2. data/apis/acm/2015-12-08/api-2.json +93 -4
  3. data/apis/acm/2015-12-08/paginators-1.json +2 -2
  4. data/apis/apigateway/2015-07-09/api-2.json +640 -30
  5. data/apis/application-autoscaling/2016-02-06/api-2.json +5 -2
  6. data/apis/appstream/2016-12-01/api-2.json +820 -0
  7. data/apis/appstream/2016-12-01/examples-1.json +5 -0
  8. data/apis/appstream/2016-12-01/waiters-2.json +55 -0
  9. data/apis/autoscaling/2011-01-01/api-2.json +1 -0
  10. data/apis/autoscaling/2011-01-01/resources-1.json +12 -1
  11. data/apis/batch/2016-08-10/api-2.json +885 -0
  12. data/apis/batch/2016-08-10/examples-1.json +589 -0
  13. data/apis/budgets/2016-10-20/api-2.json +696 -0
  14. data/apis/budgets/2016-10-20/examples-1.json +5 -0
  15. data/apis/cloudformation/2010-05-15/api-2.json +138 -12
  16. data/apis/cloudformation/2010-05-15/examples-1.json +153 -0
  17. data/apis/cloudformation/2010-05-15/resources-1.json +10 -1
  18. data/apis/cloudformation/2010-05-15/waiters-2.json +18 -96
  19. data/apis/cloudfront/2016-01-28/api-2.json +1 -0
  20. data/apis/cloudfront/2016-08-01/api-2.json +1 -0
  21. data/apis/cloudfront/2016-08-20/api-2.json +1 -0
  22. data/apis/cloudfront/2016-09-07/api-2.json +1 -0
  23. data/apis/cloudfront/2016-09-29/api-2.json +2599 -0
  24. data/apis/cloudfront/2016-09-29/examples-1.json +5 -0
  25. data/apis/cloudfront/2016-09-29/paginators-1.json +32 -0
  26. data/apis/cloudfront/2016-09-29/waiters-2.json +47 -0
  27. data/apis/cloudfront/2016-11-25/api-2.json +2665 -0
  28. data/apis/cloudfront/2016-11-25/examples-1.json +5 -0
  29. data/apis/cloudfront/2016-11-25/paginators-1.json +32 -0
  30. data/apis/cloudfront/2016-11-25/waiters-2.json +47 -0
  31. data/apis/cloudhsm/2014-05-30/api-2.json +2 -1
  32. data/apis/cloudsearch/2013-01-01/api-2.json +2 -1
  33. data/apis/cloudsearchdomain/2013-01-01/api-2.json +2 -1
  34. data/apis/cloudtrail/2013-11-01/api-2.json +109 -3
  35. data/apis/cloudtrail/2013-11-01/paginators-1.json +6 -0
  36. data/apis/codebuild/2016-10-06/api-2.json +702 -0
  37. data/apis/codebuild/2016-10-06/examples-1.json +5 -0
  38. data/apis/codecommit/2015-04-13/api-2.json +2 -1
  39. data/apis/codedeploy/2014-10-06/api-2.json +138 -17
  40. data/apis/codepipeline/2015-07-09/api-2.json +3 -2
  41. data/apis/cognito-identity/2014-06-30/api-2.json +84 -5
  42. data/apis/cognito-idp/2016-04-18/api-2.json +472 -10
  43. data/apis/cognito-sync/2014-06-30/api-2.json +2 -1
  44. data/apis/config/2014-11-12/api-2.json +40 -9
  45. data/apis/config/2014-11-12/paginators-1.json +2 -2
  46. data/apis/cur/2017-01-06/api-2.json +226 -0
  47. data/apis/cur/2017-01-06/examples-1.json +5 -0
  48. data/apis/cur/2017-01-06/paginators-1.json +9 -0
  49. data/apis/datapipeline/2012-10-29/api-2.json +2 -1
  50. data/apis/devicefarm/2015-06-23/api-2.json +2 -1
  51. data/apis/devicefarm/2015-06-23/examples-1.json +1237 -0
  52. data/apis/directconnect/2012-10-25/api-2.json +257 -10
  53. data/apis/discovery/2015-11-01/api-2.json +316 -5
  54. data/apis/dms/2016-01-01/api-2.json +45 -9
  55. data/apis/ds/2015-04-16/api-2.json +144 -1
  56. data/apis/dynamodb/2011-12-05/api-2.json +802 -0
  57. data/apis/dynamodb/2011-12-05/examples-1.json +5 -0
  58. data/apis/dynamodb/2011-12-05/paginators-1.json +26 -0
  59. data/apis/dynamodb/2011-12-05/waiters-2.json +35 -0
  60. data/apis/dynamodb/2012-08-10/api-2.json +115 -1
  61. data/apis/dynamodb/2012-08-10/examples-1.json +623 -0
  62. data/apis/dynamodb/2012-08-10/paginators-1.json +4 -4
  63. data/apis/ec2/2015-10-01/api-2.json +1 -0
  64. data/apis/ec2/2016-04-01/api-2.json +1 -0
  65. data/apis/ec2/2016-09-15/api-2.json +14415 -0
  66. data/apis/ec2/2016-09-15/examples-1.json +3740 -0
  67. data/apis/ec2/2016-09-15/paginators-1.json +138 -0
  68. data/apis/ec2/2016-09-15/resources-1.json +2582 -0
  69. data/apis/ec2/2016-09-15/waiters-2.json +593 -0
  70. data/apis/ec2/2016-11-15/api-2.json +15037 -0
  71. data/apis/ec2/2016-11-15/examples-1.json +3740 -0
  72. data/apis/ec2/2016-11-15/paginators-1.json +138 -0
  73. data/apis/ec2/2016-11-15/resources-1.json +2582 -0
  74. data/apis/ec2/2016-11-15/waiters-2.json +593 -0
  75. data/apis/ecr/2015-09-21/api-2.json +88 -4
  76. data/apis/ecr/2015-09-21/paginators-1.json +12 -6
  77. data/apis/ecs/2014-11-13/api-2.json +183 -9
  78. data/apis/elasticache/2015-02-02/api-2.json +57 -9
  79. data/apis/elasticache/2015-02-02/examples-1.json +2963 -0
  80. data/apis/elasticbeanstalk/2010-12-01/api-2.json +155 -6
  81. data/apis/elasticfilesystem/2015-02-01/api-2.json +2 -1
  82. data/apis/elasticfilesystem/2015-02-01/examples-1.json +217 -0
  83. data/apis/elasticloadbalancing/2012-06-01/api-2.json +1 -0
  84. data/apis/elasticloadbalancingv2/2015-12-01/api-2.json +1 -0
  85. data/apis/elasticmapreduce/2009-03-31/api-2.json +449 -5
  86. data/apis/elastictranscoder/2012-09-25/api-2.json +44 -13
  87. data/apis/elastictranscoder/2012-09-25/examples-1.json +5 -0
  88. data/apis/email/2010-12-01/api-2.json +425 -4
  89. data/apis/es/2015-01-01/api-2.json +1 -0
  90. data/apis/events/2015-10-07/api-2.json +1 -0
  91. data/apis/firehose/2015-08-04/api-2.json +151 -4
  92. data/apis/firehose/2015-08-04/examples-1.json +5 -0
  93. data/apis/gamelift/2015-10-01/api-2.json +367 -787
  94. data/apis/gamelift/2015-10-01/examples-1.json +2 -2
  95. data/apis/glacier/2012-06-01/api-2.json +369 -779
  96. data/apis/glacier/2012-06-01/examples-1.json +806 -0
  97. data/apis/glacier/2012-06-01/paginators-1.json +5 -5
  98. data/apis/health/2016-08-04/api-2.json +547 -0
  99. data/apis/health/2016-08-04/examples-1.json +5 -0
  100. data/apis/health/2016-08-04/paginators-1.json +31 -0
  101. data/apis/iam/2010-05-08/api-2.json +209 -0
  102. data/apis/iam/2010-05-08/examples-1.json +1186 -0
  103. data/apis/importexport/2010-06-01/api-2.json +1 -0
  104. data/apis/inspector/2016-02-16/api-2.json +2 -1
  105. data/apis/inspector/2016-02-16/examples-1.json +1135 -0
  106. data/apis/iot/2015-05-28/api-2.json +16 -0
  107. data/apis/iot-data/2015-05-28/api-2.json +1 -0
  108. data/apis/kinesis/2013-12-02/api-2.json +80 -12
  109. data/apis/kinesisanalytics/2015-08-14/api-2.json +7 -2
  110. data/apis/kms/2014-11-01/api-2.json +4 -2
  111. data/apis/kms/2014-11-01/examples-1.json +810 -0
  112. data/apis/lambda/2014-11-11/api-2.json +1 -0
  113. data/apis/lambda/2015-03-31/api-2.json +162 -9
  114. data/apis/lambda/2015-03-31/examples-1.json +609 -0
  115. data/apis/lightsail/2016-11-28/api-2.json +2137 -0
  116. data/apis/lightsail/2016-11-28/examples-1.json +5 -0
  117. data/apis/logs/2014-03-28/api-2.json +113 -6
  118. data/apis/machinelearning/2014-12-12/api-2.json +1 -0
  119. data/apis/marketplacecommerceanalytics/2015-07-01/api-2.json +5 -2
  120. data/apis/meteringmarketplace/2016-01-14/api-2.json +136 -0
  121. data/apis/monitoring/2010-08-01/api-2.json +27 -6
  122. data/apis/opsworks/2013-02-18/api-2.json +1 -0
  123. data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
  124. data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
  125. data/apis/pinpoint/2016-12-01/api-2.json +2753 -0
  126. data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
  127. data/apis/polly/2016-06-10/api-2.json +504 -0
  128. data/apis/polly/2016-06-10/examples-1.json +171 -0
  129. data/apis/rds/2013-01-10/api-2.json +2902 -0
  130. data/apis/rds/2013-01-10/examples-1.json +5 -0
  131. data/apis/rds/2013-01-10/paginators-1.json +97 -0
  132. data/apis/rds/2013-02-12/api-2.json +3058 -0
  133. data/apis/rds/2013-02-12/examples-1.json +5 -0
  134. data/apis/rds/2013-02-12/paginators-1.json +110 -0
  135. data/apis/rds/2013-09-09/api-2.json +3159 -0
  136. data/apis/rds/2013-09-09/examples-1.json +5 -0
  137. data/apis/rds/2013-09-09/paginators-1.json +110 -0
  138. data/apis/rds/2013-09-09/waiters-2.json +97 -0
  139. data/apis/rds/2014-09-01/api-2.json +3272 -0
  140. data/apis/rds/2014-09-01/examples-1.json +5 -0
  141. data/apis/rds/2014-09-01/paginators-1.json +4 -0
  142. data/apis/rds/2014-10-31/api-2.json +144 -11
  143. data/apis/rds/2014-10-31/examples-1.json +332 -4
  144. data/apis/rds/2014-10-31/paginators-1.json +18 -18
  145. data/apis/rds/2014-10-31/resources-1.json +1 -1
  146. data/apis/redshift/2012-12-01/api-2.json +10 -3
  147. data/apis/rekognition/2016-06-27/api-2.json +836 -0
  148. data/apis/rekognition/2016-06-27/examples-1.json +651 -0
  149. data/apis/rekognition/2016-06-27/paginators-1.json +16 -0
  150. data/apis/route53/2013-04-01/api-2.json +186 -219
  151. data/apis/route53/2013-04-01/paginators-1.json +9 -9
  152. data/apis/route53domains/2014-05-15/api-2.json +1 -0
  153. data/apis/s3/2006-03-01/api-2.json +871 -20
  154. data/apis/sdb/2009-04-15/api-2.json +1 -0
  155. data/apis/servicecatalog/2015-12-10/api-2.json +1214 -29
  156. data/apis/shield/2016-06-02/api-2.json +494 -0
  157. data/apis/shield/2016-06-02/examples-1.json +5 -0
  158. data/apis/sms/2016-10-24/api-2.json +612 -0
  159. data/apis/sms/2016-10-24/examples-1.json +5 -0
  160. data/apis/sms/2016-10-24/paginators-1.json +28 -0
  161. data/apis/snowball/2016-06-30/api-2.json +283 -11
  162. data/apis/snowball/2016-06-30/examples-1.json +437 -0
  163. data/apis/sns/2010-03-31/api-2.json +1 -0
  164. data/apis/sqs/2012-11-05/api-2.json +74 -38
  165. data/apis/sqs/2012-11-05/examples-1.json +0 -39
  166. data/apis/sqs/2012-11-05/resources-1.json +232 -0
  167. data/apis/ssm/2014-11-06/api-2.json +4036 -536
  168. data/apis/states/2016-11-23/api-2.json +1021 -0
  169. data/apis/states/2016-11-23/examples-1.json +5 -0
  170. data/apis/states/2016-11-23/paginators-1.json +28 -0
  171. data/apis/storagegateway/2013-06-30/api-2.json +269 -6
  172. data/apis/storagegateway/2013-06-30/examples-1.json +1376 -0
  173. data/apis/streams.dynamodb/2012-08-10/api-2.json +2 -1
  174. data/apis/streams.dynamodb/2012-08-10/examples-1.json +207 -0
  175. data/apis/sts/2011-06-15/api-2.json +1 -0
  176. data/apis/sts/2011-06-15/examples-1.json +201 -0
  177. data/apis/support/2013-04-15/api-2.json +1 -0
  178. data/apis/swf/2012-01-25/api-2.json +1 -0
  179. data/apis/waf/2015-08-24/api-2.json +12 -11
  180. data/apis/waf/2015-08-24/examples-1.json +1012 -0
  181. data/apis/waf-regional/2016-11-28/api-2.json +2090 -0
  182. data/apis/waf-regional/2016-11-28/examples-1.json +1017 -0
  183. data/apis/workspaces/2015-04-08/api-2.json +1 -0
  184. data/apis/xray/2016-04-12/api-2.json +491 -0
  185. data/apis/xray/2016-04-12/examples-1.json +5 -0
  186. data/endpoints.json +781 -392
  187. data/lib/aws-sdk-core/api/customizations.rb +16 -0
  188. data/lib/aws-sdk-core/api/docs/builder.rb +2 -1
  189. data/lib/aws-sdk-core/api/docs/client_type_documenter.rb +9 -0
  190. data/lib/aws-sdk-core/api/docs/crosslink.rb +43 -0
  191. data/lib/aws-sdk-core/api/docs/operation_documenter.rb +11 -2
  192. data/lib/aws-sdk-core/appstream.rb +6 -0
  193. data/lib/aws-sdk-core/batch.rb +5 -0
  194. data/lib/aws-sdk-core/budgets.rb +5 -0
  195. data/lib/aws-sdk-core/client.rb +1 -0
  196. data/lib/aws-sdk-core/client_waiters.rb +5 -5
  197. data/lib/aws-sdk-core/cloudfront/url_signer.rb +1 -1
  198. data/lib/aws-sdk-core/cloudfront.rb +5 -5
  199. data/lib/aws-sdk-core/codebuild.rb +5 -0
  200. data/lib/aws-sdk-core/costandusagereportservice.rb +6 -0
  201. data/lib/aws-sdk-core/credential_provider_chain.rb +3 -3
  202. data/lib/aws-sdk-core/cur.rb +6 -0
  203. data/lib/aws-sdk-core/ec2.rb +6 -6
  204. data/lib/aws-sdk-core/elastictranscoder.rb +1 -0
  205. data/lib/aws-sdk-core/firehose.rb +1 -0
  206. data/lib/aws-sdk-core/glacier.rb +1 -0
  207. data/lib/aws-sdk-core/health.rb +6 -0
  208. data/lib/aws-sdk-core/instance_profile_credentials.rb +1 -1
  209. data/lib/aws-sdk-core/lightsail.rb +5 -0
  210. data/lib/aws-sdk-core/opsworkscm.rb +5 -0
  211. data/lib/aws-sdk-core/partitions/region.rb +0 -12
  212. data/lib/aws-sdk-core/partitions/service.rb +1 -11
  213. data/lib/aws-sdk-core/pinpoint.rb +5 -0
  214. data/lib/aws-sdk-core/plugins/ec2_copy_encrypted_snapshot.rb +24 -55
  215. data/lib/aws-sdk-core/plugins/idempotency_token.rb +37 -0
  216. data/lib/aws-sdk-core/plugins/rds_cross_region_copying.rb +64 -0
  217. data/lib/aws-sdk-core/plugins/request_signer.rb +4 -0
  218. data/lib/aws-sdk-core/plugins/retry_errors.rb +1 -0
  219. data/lib/aws-sdk-core/plugins/s3_accelerate.rb +18 -1
  220. data/lib/aws-sdk-core/plugins/s3_bucket_dns.rb +1 -1
  221. data/lib/aws-sdk-core/plugins/s3_dualstack.rb +6 -9
  222. data/lib/aws-sdk-core/plugins/sqs_md5s.rb +1 -1
  223. data/lib/aws-sdk-core/polly/presigner.rb +70 -0
  224. data/lib/aws-sdk-core/polly.rb +13 -0
  225. data/lib/aws-sdk-core/rekognition.rb +6 -0
  226. data/lib/aws-sdk-core/rest/request/endpoint.rb +11 -66
  227. data/lib/aws-sdk-core/rest/request/querystring_builder.rb +90 -0
  228. data/lib/aws-sdk-core/shield.rb +5 -0
  229. data/lib/aws-sdk-core/signers/v4.rb +2 -1
  230. data/lib/aws-sdk-core/sms.rb +6 -0
  231. data/lib/aws-sdk-core/sqs.rb +1 -0
  232. data/lib/aws-sdk-core/states.rb +6 -0
  233. data/lib/aws-sdk-core/version.rb +1 -1
  234. data/lib/aws-sdk-core/wafregional.rb +5 -0
  235. data/lib/aws-sdk-core/xray.rb +5 -0
  236. data/lib/aws-sdk-core.rb +20 -0
  237. data/lib/seahorse/client/net_http/connection_pool.rb +11 -7
  238. data/lib/seahorse/client/net_http/handler.rb +5 -2
  239. data/lib/seahorse/client/plugin_list.rb +3 -1
  240. data/lib/seahorse/client/response.rb +9 -20
  241. data/service-models.json +66 -2
  242. metadata +115 -2
@@ -0,0 +1,2753 @@
1
+ {
2
+ "metadata" : {
3
+ "apiVersion" : "2016-12-01",
4
+ "endpointPrefix" : "pinpoint",
5
+ "signingName" : "mobiletargeting",
6
+ "serviceFullName" : "Amazon Pinpoint",
7
+ "signatureVersion":"v4",
8
+ "protocol" : "rest-json",
9
+ "jsonVersion" : "1.1"
10
+ },
11
+ "operations" : {
12
+ "CreateCampaign" : {
13
+ "name" : "CreateCampaign",
14
+ "http" : {
15
+ "method" : "POST",
16
+ "requestUri" : "/v1/apps/{application-id}/campaigns",
17
+ "responseCode" : 201
18
+ },
19
+ "input" : {
20
+ "shape" : "CreateCampaignRequest"
21
+ },
22
+ "output" : {
23
+ "shape" : "CreateCampaignResponse"
24
+ },
25
+ "errors" : [ {
26
+ "shape" : "BadRequestException"
27
+ }, {
28
+ "shape" : "InternalServerErrorException"
29
+ }, {
30
+ "shape" : "ForbiddenException"
31
+ }, {
32
+ "shape" : "NotFoundException"
33
+ }, {
34
+ "shape" : "MethodNotAllowedException"
35
+ }, {
36
+ "shape" : "TooManyRequestsException"
37
+ } ]
38
+ },
39
+ "CreateImportJob" : {
40
+ "name" : "CreateImportJob",
41
+ "http" : {
42
+ "method" : "POST",
43
+ "requestUri" : "/v1/apps/{application-id}/jobs/import",
44
+ "responseCode" : 201
45
+ },
46
+ "input" : {
47
+ "shape" : "CreateImportJobRequest"
48
+ },
49
+ "output" : {
50
+ "shape" : "CreateImportJobResponse"
51
+ },
52
+ "errors" : [ {
53
+ "shape" : "BadRequestException"
54
+ }, {
55
+ "shape" : "InternalServerErrorException"
56
+ }, {
57
+ "shape" : "ForbiddenException"
58
+ }, {
59
+ "shape" : "NotFoundException"
60
+ }, {
61
+ "shape" : "MethodNotAllowedException"
62
+ }, {
63
+ "shape" : "TooManyRequestsException"
64
+ } ]
65
+ },
66
+ "CreateSegment" : {
67
+ "name" : "CreateSegment",
68
+ "http" : {
69
+ "method" : "POST",
70
+ "requestUri" : "/v1/apps/{application-id}/segments",
71
+ "responseCode" : 201
72
+ },
73
+ "input" : {
74
+ "shape" : "CreateSegmentRequest"
75
+ },
76
+ "output" : {
77
+ "shape" : "CreateSegmentResponse"
78
+ },
79
+ "errors" : [ {
80
+ "shape" : "BadRequestException"
81
+ }, {
82
+ "shape" : "InternalServerErrorException"
83
+ }, {
84
+ "shape" : "ForbiddenException"
85
+ }, {
86
+ "shape" : "NotFoundException"
87
+ }, {
88
+ "shape" : "MethodNotAllowedException"
89
+ }, {
90
+ "shape" : "TooManyRequestsException"
91
+ } ]
92
+ },
93
+ "DeleteApnsChannel" : {
94
+ "name" : "DeleteApnsChannel",
95
+ "http" : {
96
+ "method" : "DELETE",
97
+ "requestUri" : "/v1/apps/{application-id}/channels/apns",
98
+ "responseCode" : 200
99
+ },
100
+ "input" : {
101
+ "shape" : "DeleteApnsChannelRequest"
102
+ },
103
+ "output" : {
104
+ "shape" : "DeleteApnsChannelResponse"
105
+ },
106
+ "errors" : [ {
107
+ "shape" : "BadRequestException"
108
+ }, {
109
+ "shape" : "InternalServerErrorException"
110
+ }, {
111
+ "shape" : "ForbiddenException"
112
+ }, {
113
+ "shape" : "NotFoundException"
114
+ }, {
115
+ "shape" : "MethodNotAllowedException"
116
+ }, {
117
+ "shape" : "TooManyRequestsException"
118
+ } ]
119
+ },
120
+ "DeleteCampaign" : {
121
+ "name" : "DeleteCampaign",
122
+ "http" : {
123
+ "method" : "DELETE",
124
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}",
125
+ "responseCode" : 200
126
+ },
127
+ "input" : {
128
+ "shape" : "DeleteCampaignRequest"
129
+ },
130
+ "output" : {
131
+ "shape" : "DeleteCampaignResponse"
132
+ },
133
+ "errors" : [ {
134
+ "shape" : "BadRequestException"
135
+ }, {
136
+ "shape" : "InternalServerErrorException"
137
+ }, {
138
+ "shape" : "ForbiddenException"
139
+ }, {
140
+ "shape" : "NotFoundException"
141
+ }, {
142
+ "shape" : "MethodNotAllowedException"
143
+ }, {
144
+ "shape" : "TooManyRequestsException"
145
+ } ]
146
+ },
147
+ "DeleteGcmChannel" : {
148
+ "name" : "DeleteGcmChannel",
149
+ "http" : {
150
+ "method" : "DELETE",
151
+ "requestUri" : "/v1/apps/{application-id}/channels/gcm",
152
+ "responseCode" : 200
153
+ },
154
+ "input" : {
155
+ "shape" : "DeleteGcmChannelRequest"
156
+ },
157
+ "output" : {
158
+ "shape" : "DeleteGcmChannelResponse"
159
+ },
160
+ "errors" : [ {
161
+ "shape" : "BadRequestException"
162
+ }, {
163
+ "shape" : "InternalServerErrorException"
164
+ }, {
165
+ "shape" : "ForbiddenException"
166
+ }, {
167
+ "shape" : "NotFoundException"
168
+ }, {
169
+ "shape" : "MethodNotAllowedException"
170
+ }, {
171
+ "shape" : "TooManyRequestsException"
172
+ } ]
173
+ },
174
+ "DeleteSegment" : {
175
+ "name" : "DeleteSegment",
176
+ "http" : {
177
+ "method" : "DELETE",
178
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}",
179
+ "responseCode" : 200
180
+ },
181
+ "input" : {
182
+ "shape" : "DeleteSegmentRequest"
183
+ },
184
+ "output" : {
185
+ "shape" : "DeleteSegmentResponse"
186
+ },
187
+ "errors" : [ {
188
+ "shape" : "BadRequestException"
189
+ }, {
190
+ "shape" : "InternalServerErrorException"
191
+ }, {
192
+ "shape" : "ForbiddenException"
193
+ }, {
194
+ "shape" : "NotFoundException"
195
+ }, {
196
+ "shape" : "MethodNotAllowedException"
197
+ }, {
198
+ "shape" : "TooManyRequestsException"
199
+ } ]
200
+ },
201
+ "GetApnsChannel" : {
202
+ "name" : "GetApnsChannel",
203
+ "http" : {
204
+ "method" : "GET",
205
+ "requestUri" : "/v1/apps/{application-id}/channels/apns",
206
+ "responseCode" : 200
207
+ },
208
+ "input" : {
209
+ "shape" : "GetApnsChannelRequest"
210
+ },
211
+ "output" : {
212
+ "shape" : "GetApnsChannelResponse"
213
+ },
214
+ "errors" : [ {
215
+ "shape" : "BadRequestException"
216
+ }, {
217
+ "shape" : "InternalServerErrorException"
218
+ }, {
219
+ "shape" : "ForbiddenException"
220
+ }, {
221
+ "shape" : "NotFoundException"
222
+ }, {
223
+ "shape" : "MethodNotAllowedException"
224
+ }, {
225
+ "shape" : "TooManyRequestsException"
226
+ } ]
227
+ },
228
+ "GetApplicationSettings" : {
229
+ "name" : "GetApplicationSettings",
230
+ "http" : {
231
+ "method" : "GET",
232
+ "requestUri" : "/v1/apps/{application-id}/settings",
233
+ "responseCode" : 200
234
+ },
235
+ "input" : {
236
+ "shape" : "GetApplicationSettingsRequest"
237
+ },
238
+ "output" : {
239
+ "shape" : "GetApplicationSettingsResponse"
240
+ },
241
+ "errors" : [ {
242
+ "shape" : "BadRequestException"
243
+ }, {
244
+ "shape" : "InternalServerErrorException"
245
+ }, {
246
+ "shape" : "ForbiddenException"
247
+ }, {
248
+ "shape" : "NotFoundException"
249
+ }, {
250
+ "shape" : "MethodNotAllowedException"
251
+ }, {
252
+ "shape" : "TooManyRequestsException"
253
+ } ]
254
+ },
255
+ "GetCampaign" : {
256
+ "name" : "GetCampaign",
257
+ "http" : {
258
+ "method" : "GET",
259
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}",
260
+ "responseCode" : 200
261
+ },
262
+ "input" : {
263
+ "shape" : "GetCampaignRequest"
264
+ },
265
+ "output" : {
266
+ "shape" : "GetCampaignResponse"
267
+ },
268
+ "errors" : [ {
269
+ "shape" : "BadRequestException"
270
+ }, {
271
+ "shape" : "InternalServerErrorException"
272
+ }, {
273
+ "shape" : "ForbiddenException"
274
+ }, {
275
+ "shape" : "NotFoundException"
276
+ }, {
277
+ "shape" : "MethodNotAllowedException"
278
+ }, {
279
+ "shape" : "TooManyRequestsException"
280
+ } ]
281
+ },
282
+ "GetCampaignActivities" : {
283
+ "name" : "GetCampaignActivities",
284
+ "http" : {
285
+ "method" : "GET",
286
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/activities",
287
+ "responseCode" : 200
288
+ },
289
+ "input" : {
290
+ "shape" : "GetCampaignActivitiesRequest"
291
+ },
292
+ "output" : {
293
+ "shape" : "GetCampaignActivitiesResponse"
294
+ },
295
+ "errors" : [ {
296
+ "shape" : "BadRequestException"
297
+ }, {
298
+ "shape" : "InternalServerErrorException"
299
+ }, {
300
+ "shape" : "ForbiddenException"
301
+ }, {
302
+ "shape" : "NotFoundException"
303
+ }, {
304
+ "shape" : "MethodNotAllowedException"
305
+ }, {
306
+ "shape" : "TooManyRequestsException"
307
+ } ]
308
+ },
309
+ "GetCampaignVersion" : {
310
+ "name" : "GetCampaignVersion",
311
+ "http" : {
312
+ "method" : "GET",
313
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}",
314
+ "responseCode" : 200
315
+ },
316
+ "input" : {
317
+ "shape" : "GetCampaignVersionRequest"
318
+ },
319
+ "output" : {
320
+ "shape" : "GetCampaignVersionResponse"
321
+ },
322
+ "errors" : [ {
323
+ "shape" : "BadRequestException"
324
+ }, {
325
+ "shape" : "InternalServerErrorException"
326
+ }, {
327
+ "shape" : "ForbiddenException"
328
+ }, {
329
+ "shape" : "NotFoundException"
330
+ }, {
331
+ "shape" : "MethodNotAllowedException"
332
+ }, {
333
+ "shape" : "TooManyRequestsException"
334
+ } ]
335
+ },
336
+ "GetCampaignVersions" : {
337
+ "name" : "GetCampaignVersions",
338
+ "http" : {
339
+ "method" : "GET",
340
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/versions",
341
+ "responseCode" : 200
342
+ },
343
+ "input" : {
344
+ "shape" : "GetCampaignVersionsRequest"
345
+ },
346
+ "output" : {
347
+ "shape" : "GetCampaignVersionsResponse"
348
+ },
349
+ "errors" : [ {
350
+ "shape" : "BadRequestException"
351
+ }, {
352
+ "shape" : "InternalServerErrorException"
353
+ }, {
354
+ "shape" : "ForbiddenException"
355
+ }, {
356
+ "shape" : "NotFoundException"
357
+ }, {
358
+ "shape" : "MethodNotAllowedException"
359
+ }, {
360
+ "shape" : "TooManyRequestsException"
361
+ } ]
362
+ },
363
+ "GetCampaigns" : {
364
+ "name" : "GetCampaigns",
365
+ "http" : {
366
+ "method" : "GET",
367
+ "requestUri" : "/v1/apps/{application-id}/campaigns",
368
+ "responseCode" : 200
369
+ },
370
+ "input" : {
371
+ "shape" : "GetCampaignsRequest"
372
+ },
373
+ "output" : {
374
+ "shape" : "GetCampaignsResponse"
375
+ },
376
+ "errors" : [ {
377
+ "shape" : "BadRequestException"
378
+ }, {
379
+ "shape" : "InternalServerErrorException"
380
+ }, {
381
+ "shape" : "ForbiddenException"
382
+ }, {
383
+ "shape" : "NotFoundException"
384
+ }, {
385
+ "shape" : "MethodNotAllowedException"
386
+ }, {
387
+ "shape" : "TooManyRequestsException"
388
+ } ]
389
+ },
390
+ "GetEndpoint" : {
391
+ "name" : "GetEndpoint",
392
+ "http" : {
393
+ "method" : "GET",
394
+ "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}",
395
+ "responseCode" : 200
396
+ },
397
+ "input" : {
398
+ "shape" : "GetEndpointRequest"
399
+ },
400
+ "output" : {
401
+ "shape" : "GetEndpointResponse"
402
+ },
403
+ "errors" : [ {
404
+ "shape" : "BadRequestException"
405
+ }, {
406
+ "shape" : "InternalServerErrorException"
407
+ }, {
408
+ "shape" : "ForbiddenException"
409
+ }, {
410
+ "shape" : "NotFoundException"
411
+ }, {
412
+ "shape" : "MethodNotAllowedException"
413
+ }, {
414
+ "shape" : "TooManyRequestsException"
415
+ } ]
416
+ },
417
+ "GetGcmChannel" : {
418
+ "name" : "GetGcmChannel",
419
+ "http" : {
420
+ "method" : "GET",
421
+ "requestUri" : "/v1/apps/{application-id}/channels/gcm",
422
+ "responseCode" : 200
423
+ },
424
+ "input" : {
425
+ "shape" : "GetGcmChannelRequest"
426
+ },
427
+ "output" : {
428
+ "shape" : "GetGcmChannelResponse"
429
+ },
430
+ "errors" : [ {
431
+ "shape" : "BadRequestException"
432
+ }, {
433
+ "shape" : "InternalServerErrorException"
434
+ }, {
435
+ "shape" : "ForbiddenException"
436
+ }, {
437
+ "shape" : "NotFoundException"
438
+ }, {
439
+ "shape" : "MethodNotAllowedException"
440
+ }, {
441
+ "shape" : "TooManyRequestsException"
442
+ } ]
443
+ },
444
+ "GetImportJob" : {
445
+ "name" : "GetImportJob",
446
+ "http" : {
447
+ "method" : "GET",
448
+ "requestUri" : "/v1/apps/{application-id}/jobs/import/{job-id}",
449
+ "responseCode" : 200
450
+ },
451
+ "input" : {
452
+ "shape" : "GetImportJobRequest"
453
+ },
454
+ "output" : {
455
+ "shape" : "GetImportJobResponse"
456
+ },
457
+ "errors" : [ {
458
+ "shape" : "BadRequestException"
459
+ }, {
460
+ "shape" : "InternalServerErrorException"
461
+ }, {
462
+ "shape" : "ForbiddenException"
463
+ }, {
464
+ "shape" : "NotFoundException"
465
+ }, {
466
+ "shape" : "MethodNotAllowedException"
467
+ }, {
468
+ "shape" : "TooManyRequestsException"
469
+ } ]
470
+ },
471
+ "GetImportJobs" : {
472
+ "name" : "GetImportJobs",
473
+ "http" : {
474
+ "method" : "GET",
475
+ "requestUri" : "/v1/apps/{application-id}/jobs/import",
476
+ "responseCode" : 200
477
+ },
478
+ "input" : {
479
+ "shape" : "GetImportJobsRequest"
480
+ },
481
+ "output" : {
482
+ "shape" : "GetImportJobsResponse"
483
+ },
484
+ "errors" : [ {
485
+ "shape" : "BadRequestException"
486
+ }, {
487
+ "shape" : "InternalServerErrorException"
488
+ }, {
489
+ "shape" : "ForbiddenException"
490
+ }, {
491
+ "shape" : "NotFoundException"
492
+ }, {
493
+ "shape" : "MethodNotAllowedException"
494
+ }, {
495
+ "shape" : "TooManyRequestsException"
496
+ } ]
497
+ },
498
+ "GetSegment" : {
499
+ "name" : "GetSegment",
500
+ "http" : {
501
+ "method" : "GET",
502
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}",
503
+ "responseCode" : 200
504
+ },
505
+ "input" : {
506
+ "shape" : "GetSegmentRequest"
507
+ },
508
+ "output" : {
509
+ "shape" : "GetSegmentResponse"
510
+ },
511
+ "errors" : [ {
512
+ "shape" : "BadRequestException"
513
+ }, {
514
+ "shape" : "InternalServerErrorException"
515
+ }, {
516
+ "shape" : "ForbiddenException"
517
+ }, {
518
+ "shape" : "NotFoundException"
519
+ }, {
520
+ "shape" : "MethodNotAllowedException"
521
+ }, {
522
+ "shape" : "TooManyRequestsException"
523
+ } ]
524
+ },
525
+ "GetSegmentImportJobs" : {
526
+ "name" : "GetSegmentImportJobs",
527
+ "http" : {
528
+ "method" : "GET",
529
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/jobs/import",
530
+ "responseCode" : 200
531
+ },
532
+ "input" : {
533
+ "shape" : "GetSegmentImportJobsRequest"
534
+ },
535
+ "output" : {
536
+ "shape" : "GetSegmentImportJobsResponse"
537
+ },
538
+ "errors" : [ {
539
+ "shape" : "BadRequestException"
540
+ }, {
541
+ "shape" : "InternalServerErrorException"
542
+ }, {
543
+ "shape" : "ForbiddenException"
544
+ }, {
545
+ "shape" : "NotFoundException"
546
+ }, {
547
+ "shape" : "MethodNotAllowedException"
548
+ }, {
549
+ "shape" : "TooManyRequestsException"
550
+ } ]
551
+ },
552
+ "GetSegmentVersion" : {
553
+ "name" : "GetSegmentVersion",
554
+ "http" : {
555
+ "method" : "GET",
556
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}",
557
+ "responseCode" : 200
558
+ },
559
+ "input" : {
560
+ "shape" : "GetSegmentVersionRequest"
561
+ },
562
+ "output" : {
563
+ "shape" : "GetSegmentVersionResponse"
564
+ },
565
+ "errors" : [ {
566
+ "shape" : "BadRequestException"
567
+ }, {
568
+ "shape" : "InternalServerErrorException"
569
+ }, {
570
+ "shape" : "ForbiddenException"
571
+ }, {
572
+ "shape" : "NotFoundException"
573
+ }, {
574
+ "shape" : "MethodNotAllowedException"
575
+ }, {
576
+ "shape" : "TooManyRequestsException"
577
+ } ]
578
+ },
579
+ "GetSegmentVersions" : {
580
+ "name" : "GetSegmentVersions",
581
+ "http" : {
582
+ "method" : "GET",
583
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/versions",
584
+ "responseCode" : 200
585
+ },
586
+ "input" : {
587
+ "shape" : "GetSegmentVersionsRequest"
588
+ },
589
+ "output" : {
590
+ "shape" : "GetSegmentVersionsResponse"
591
+ },
592
+ "errors" : [ {
593
+ "shape" : "BadRequestException"
594
+ }, {
595
+ "shape" : "InternalServerErrorException"
596
+ }, {
597
+ "shape" : "ForbiddenException"
598
+ }, {
599
+ "shape" : "NotFoundException"
600
+ }, {
601
+ "shape" : "MethodNotAllowedException"
602
+ }, {
603
+ "shape" : "TooManyRequestsException"
604
+ } ]
605
+ },
606
+ "GetSegments" : {
607
+ "name" : "GetSegments",
608
+ "http" : {
609
+ "method" : "GET",
610
+ "requestUri" : "/v1/apps/{application-id}/segments",
611
+ "responseCode" : 200
612
+ },
613
+ "input" : {
614
+ "shape" : "GetSegmentsRequest"
615
+ },
616
+ "output" : {
617
+ "shape" : "GetSegmentsResponse"
618
+ },
619
+ "errors" : [ {
620
+ "shape" : "BadRequestException"
621
+ }, {
622
+ "shape" : "InternalServerErrorException"
623
+ }, {
624
+ "shape" : "ForbiddenException"
625
+ }, {
626
+ "shape" : "NotFoundException"
627
+ }, {
628
+ "shape" : "MethodNotAllowedException"
629
+ }, {
630
+ "shape" : "TooManyRequestsException"
631
+ } ]
632
+ },
633
+ "UpdateApnsChannel" : {
634
+ "name" : "UpdateApnsChannel",
635
+ "http" : {
636
+ "method" : "PUT",
637
+ "requestUri" : "/v1/apps/{application-id}/channels/apns",
638
+ "responseCode" : 200
639
+ },
640
+ "input" : {
641
+ "shape" : "UpdateApnsChannelRequest"
642
+ },
643
+ "output" : {
644
+ "shape" : "UpdateApnsChannelResponse"
645
+ },
646
+ "errors" : [ {
647
+ "shape" : "BadRequestException"
648
+ }, {
649
+ "shape" : "InternalServerErrorException"
650
+ }, {
651
+ "shape" : "ForbiddenException"
652
+ }, {
653
+ "shape" : "NotFoundException"
654
+ }, {
655
+ "shape" : "MethodNotAllowedException"
656
+ }, {
657
+ "shape" : "TooManyRequestsException"
658
+ } ]
659
+ },
660
+ "UpdateApplicationSettings" : {
661
+ "name" : "UpdateApplicationSettings",
662
+ "http" : {
663
+ "method" : "PUT",
664
+ "requestUri" : "/v1/apps/{application-id}/settings",
665
+ "responseCode" : 200
666
+ },
667
+ "input" : {
668
+ "shape" : "UpdateApplicationSettingsRequest"
669
+ },
670
+ "output" : {
671
+ "shape" : "UpdateApplicationSettingsResponse"
672
+ },
673
+ "errors" : [ {
674
+ "shape" : "BadRequestException"
675
+ }, {
676
+ "shape" : "InternalServerErrorException"
677
+ }, {
678
+ "shape" : "ForbiddenException"
679
+ }, {
680
+ "shape" : "NotFoundException"
681
+ }, {
682
+ "shape" : "MethodNotAllowedException"
683
+ }, {
684
+ "shape" : "TooManyRequestsException"
685
+ } ]
686
+ },
687
+ "UpdateCampaign" : {
688
+ "name" : "UpdateCampaign",
689
+ "http" : {
690
+ "method" : "PUT",
691
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}",
692
+ "responseCode" : 200
693
+ },
694
+ "input" : {
695
+ "shape" : "UpdateCampaignRequest"
696
+ },
697
+ "output" : {
698
+ "shape" : "UpdateCampaignResponse"
699
+ },
700
+ "errors" : [ {
701
+ "shape" : "BadRequestException"
702
+ }, {
703
+ "shape" : "InternalServerErrorException"
704
+ }, {
705
+ "shape" : "ForbiddenException"
706
+ }, {
707
+ "shape" : "NotFoundException"
708
+ }, {
709
+ "shape" : "MethodNotAllowedException"
710
+ }, {
711
+ "shape" : "TooManyRequestsException"
712
+ } ]
713
+ },
714
+ "UpdateEndpoint" : {
715
+ "name" : "UpdateEndpoint",
716
+ "http" : {
717
+ "method" : "PUT",
718
+ "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}",
719
+ "responseCode" : 202
720
+ },
721
+ "input" : {
722
+ "shape" : "UpdateEndpointRequest"
723
+ },
724
+ "output" : {
725
+ "shape" : "UpdateEndpointResponse"
726
+ },
727
+ "errors" : [ {
728
+ "shape" : "BadRequestException"
729
+ }, {
730
+ "shape" : "InternalServerErrorException"
731
+ }, {
732
+ "shape" : "ForbiddenException"
733
+ }, {
734
+ "shape" : "NotFoundException"
735
+ }, {
736
+ "shape" : "MethodNotAllowedException"
737
+ }, {
738
+ "shape" : "TooManyRequestsException"
739
+ } ]
740
+ },
741
+ "UpdateEndpointsBatch" : {
742
+ "name" : "UpdateEndpointsBatch",
743
+ "http" : {
744
+ "method" : "PUT",
745
+ "requestUri" : "/v1/apps/{application-id}/endpoints",
746
+ "responseCode" : 202
747
+ },
748
+ "input" : {
749
+ "shape" : "UpdateEndpointsBatchRequest"
750
+ },
751
+ "output" : {
752
+ "shape" : "UpdateEndpointsBatchResponse"
753
+ },
754
+ "errors" : [ {
755
+ "shape" : "BadRequestException"
756
+ }, {
757
+ "shape" : "InternalServerErrorException"
758
+ }, {
759
+ "shape" : "ForbiddenException"
760
+ }, {
761
+ "shape" : "NotFoundException"
762
+ }, {
763
+ "shape" : "MethodNotAllowedException"
764
+ }, {
765
+ "shape" : "TooManyRequestsException"
766
+ } ]
767
+ },
768
+ "UpdateGcmChannel" : {
769
+ "name" : "UpdateGcmChannel",
770
+ "http" : {
771
+ "method" : "PUT",
772
+ "requestUri" : "/v1/apps/{application-id}/channels/gcm",
773
+ "responseCode" : 200
774
+ },
775
+ "input" : {
776
+ "shape" : "UpdateGcmChannelRequest"
777
+ },
778
+ "output" : {
779
+ "shape" : "UpdateGcmChannelResponse"
780
+ },
781
+ "errors" : [ {
782
+ "shape" : "BadRequestException"
783
+ }, {
784
+ "shape" : "InternalServerErrorException"
785
+ }, {
786
+ "shape" : "ForbiddenException"
787
+ }, {
788
+ "shape" : "NotFoundException"
789
+ }, {
790
+ "shape" : "MethodNotAllowedException"
791
+ }, {
792
+ "shape" : "TooManyRequestsException"
793
+ } ]
794
+ },
795
+ "UpdateSegment" : {
796
+ "name" : "UpdateSegment",
797
+ "http" : {
798
+ "method" : "PUT",
799
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}",
800
+ "responseCode" : 200
801
+ },
802
+ "input" : {
803
+ "shape" : "UpdateSegmentRequest"
804
+ },
805
+ "output" : {
806
+ "shape" : "UpdateSegmentResponse"
807
+ },
808
+ "errors" : [ {
809
+ "shape" : "BadRequestException"
810
+ }, {
811
+ "shape" : "InternalServerErrorException"
812
+ }, {
813
+ "shape" : "ForbiddenException"
814
+ }, {
815
+ "shape" : "NotFoundException"
816
+ }, {
817
+ "shape" : "MethodNotAllowedException"
818
+ }, {
819
+ "shape" : "TooManyRequestsException"
820
+ } ]
821
+ }
822
+ },
823
+ "shapes" : {
824
+ "APNSChannelRequest" : {
825
+ "type" : "structure",
826
+ "members" : {
827
+ "Certificate" : {
828
+ "shape" : "__string"
829
+ },
830
+ "PrivateKey" : {
831
+ "shape" : "__string"
832
+ }
833
+ }
834
+ },
835
+ "APNSChannelResponse" : {
836
+ "type" : "structure",
837
+ "members" : {
838
+ "ApplicationId" : {
839
+ "shape" : "__string"
840
+ },
841
+ "CreationDate" : {
842
+ "shape" : "__string"
843
+ },
844
+ "Id" : {
845
+ "shape" : "__string"
846
+ },
847
+ "IsArchived" : {
848
+ "shape" : "__boolean"
849
+ },
850
+ "LastModifiedBy" : {
851
+ "shape" : "__string"
852
+ },
853
+ "LastModifiedDate" : {
854
+ "shape" : "__string"
855
+ },
856
+ "Platform" : {
857
+ "shape" : "__string"
858
+ },
859
+ "Version" : {
860
+ "shape" : "__integer"
861
+ }
862
+ }
863
+ },
864
+ "Action" : {
865
+ "type" : "string",
866
+ "enum" : [ "OPEN_APP", "DEEP_LINK", "URL" ]
867
+ },
868
+ "ActivitiesResponse" : {
869
+ "type" : "structure",
870
+ "members" : {
871
+ "Item" : {
872
+ "shape" : "ListOfActivityResponse"
873
+ }
874
+ }
875
+ },
876
+ "ActivityResponse" : {
877
+ "type" : "structure",
878
+ "members" : {
879
+ "ApplicationId" : {
880
+ "shape" : "__string"
881
+ },
882
+ "CampaignId" : {
883
+ "shape" : "__string"
884
+ },
885
+ "End" : {
886
+ "shape" : "__string"
887
+ },
888
+ "Id" : {
889
+ "shape" : "__string"
890
+ },
891
+ "Result" : {
892
+ "shape" : "__string"
893
+ },
894
+ "ScheduledStart" : {
895
+ "shape" : "__string"
896
+ },
897
+ "Start" : {
898
+ "shape" : "__string"
899
+ },
900
+ "State" : {
901
+ "shape" : "__string"
902
+ },
903
+ "SuccessfulEndpointCount" : {
904
+ "shape" : "__integer"
905
+ },
906
+ "TotalEndpointCount" : {
907
+ "shape" : "__integer"
908
+ },
909
+ "TreatmentId" : {
910
+ "shape" : "__string"
911
+ }
912
+ }
913
+ },
914
+ "ApplicationSettingsResource" : {
915
+ "type" : "structure",
916
+ "members" : {
917
+ "ApplicationId" : {
918
+ "shape" : "__string"
919
+ },
920
+ "LastModifiedDate" : {
921
+ "shape" : "__string"
922
+ },
923
+ "Limits" : {
924
+ "shape" : "CampaignLimits"
925
+ },
926
+ "QuietTime" : {
927
+ "shape" : "QuietTime"
928
+ }
929
+ }
930
+ },
931
+ "AttributeDimension" : {
932
+ "type" : "structure",
933
+ "members" : {
934
+ "AttributeType" : {
935
+ "shape" : "AttributeType"
936
+ },
937
+ "Values" : {
938
+ "shape" : "ListOf__string"
939
+ }
940
+ }
941
+ },
942
+ "AttributeType" : {
943
+ "type" : "string",
944
+ "enum" : [ "INCLUSIVE", "EXCLUSIVE" ]
945
+ },
946
+ "BadRequestException" : {
947
+ "type" : "structure",
948
+ "members" : {
949
+ "Message" : {
950
+ "shape" : "__string"
951
+ }
952
+ },
953
+ "exception" : true,
954
+ "error" : {
955
+ "httpStatusCode" : 400
956
+ }
957
+ },
958
+ "CampaignLimits" : {
959
+ "type" : "structure",
960
+ "members" : {
961
+ "Daily" : {
962
+ "shape" : "__integer"
963
+ },
964
+ "Total" : {
965
+ "shape" : "__integer"
966
+ }
967
+ }
968
+ },
969
+ "CampaignResponse" : {
970
+ "type" : "structure",
971
+ "members" : {
972
+ "AdditionalTreatments" : {
973
+ "shape" : "ListOfTreatmentResource"
974
+ },
975
+ "ApplicationId" : {
976
+ "shape" : "__string"
977
+ },
978
+ "CreationDate" : {
979
+ "shape" : "__string"
980
+ },
981
+ "DefaultState" : {
982
+ "shape" : "CampaignState"
983
+ },
984
+ "Description" : {
985
+ "shape" : "__string"
986
+ },
987
+ "HoldoutPercent" : {
988
+ "shape" : "__integer"
989
+ },
990
+ "Id" : {
991
+ "shape" : "__string"
992
+ },
993
+ "IsPaused" : {
994
+ "shape" : "__boolean"
995
+ },
996
+ "LastModifiedDate" : {
997
+ "shape" : "__string"
998
+ },
999
+ "Limits" : {
1000
+ "shape" : "CampaignLimits"
1001
+ },
1002
+ "MessageConfiguration" : {
1003
+ "shape" : "MessageConfiguration"
1004
+ },
1005
+ "Name" : {
1006
+ "shape" : "__string"
1007
+ },
1008
+ "Schedule" : {
1009
+ "shape" : "Schedule"
1010
+ },
1011
+ "SegmentId" : {
1012
+ "shape" : "__string"
1013
+ },
1014
+ "SegmentVersion" : {
1015
+ "shape" : "__integer"
1016
+ },
1017
+ "State" : {
1018
+ "shape" : "CampaignState"
1019
+ },
1020
+ "TreatmentDescription" : {
1021
+ "shape" : "__string"
1022
+ },
1023
+ "TreatmentName" : {
1024
+ "shape" : "__string"
1025
+ },
1026
+ "Version" : {
1027
+ "shape" : "__integer"
1028
+ }
1029
+ }
1030
+ },
1031
+ "CampaignState" : {
1032
+ "type" : "structure",
1033
+ "members" : {
1034
+ "CampaignStatus" : {
1035
+ "shape" : "CampaignStatus"
1036
+ }
1037
+ }
1038
+ },
1039
+ "CampaignStatus" : {
1040
+ "type" : "string",
1041
+ "enum" : [ "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED" ]
1042
+ },
1043
+ "CampaignsResponse" : {
1044
+ "type" : "structure",
1045
+ "members" : {
1046
+ "Item" : {
1047
+ "shape" : "ListOfCampaignResponse"
1048
+ },
1049
+ "NextToken" : {
1050
+ "shape" : "__string"
1051
+ }
1052
+ }
1053
+ },
1054
+ "ChannelType" : {
1055
+ "type" : "string",
1056
+ "enum" : [ "APNS", "GCM" ]
1057
+ },
1058
+ "CreateCampaignRequest" : {
1059
+ "type" : "structure",
1060
+ "members" : {
1061
+ "ApplicationId" : {
1062
+ "shape" : "__string",
1063
+ "location" : "uri",
1064
+ "locationName" : "application-id"
1065
+ },
1066
+ "WriteCampaignRequest" : {
1067
+ "shape" : "WriteCampaignRequest"
1068
+ }
1069
+ },
1070
+ "required" : [ "ApplicationId", "WriteCampaignRequest" ],
1071
+ "payload" : "WriteCampaignRequest"
1072
+ },
1073
+ "CreateCampaignResponse" : {
1074
+ "type" : "structure",
1075
+ "members" : {
1076
+ "CampaignResponse" : {
1077
+ "shape" : "CampaignResponse"
1078
+ }
1079
+ },
1080
+ "required" : [ "CampaignResponse" ],
1081
+ "payload" : "CampaignResponse"
1082
+ },
1083
+ "CreateImportJobRequest" : {
1084
+ "type" : "structure",
1085
+ "members" : {
1086
+ "ApplicationId" : {
1087
+ "shape" : "__string",
1088
+ "location" : "uri",
1089
+ "locationName" : "application-id"
1090
+ },
1091
+ "ImportJobRequest" : {
1092
+ "shape" : "ImportJobRequest"
1093
+ }
1094
+ },
1095
+ "required" : [ "ApplicationId", "ImportJobRequest" ],
1096
+ "payload" : "ImportJobRequest"
1097
+ },
1098
+ "CreateImportJobResponse" : {
1099
+ "type" : "structure",
1100
+ "members" : {
1101
+ "ImportJobResponse" : {
1102
+ "shape" : "ImportJobResponse"
1103
+ }
1104
+ },
1105
+ "required" : [ "ImportJobResponse" ],
1106
+ "payload" : "ImportJobResponse"
1107
+ },
1108
+ "CreateSegmentRequest" : {
1109
+ "type" : "structure",
1110
+ "members" : {
1111
+ "ApplicationId" : {
1112
+ "shape" : "__string",
1113
+ "location" : "uri",
1114
+ "locationName" : "application-id"
1115
+ },
1116
+ "WriteSegmentRequest" : {
1117
+ "shape" : "WriteSegmentRequest"
1118
+ }
1119
+ },
1120
+ "required" : [ "ApplicationId", "WriteSegmentRequest" ],
1121
+ "payload" : "WriteSegmentRequest"
1122
+ },
1123
+ "CreateSegmentResponse" : {
1124
+ "type" : "structure",
1125
+ "members" : {
1126
+ "SegmentResponse" : {
1127
+ "shape" : "SegmentResponse"
1128
+ }
1129
+ },
1130
+ "required" : [ "SegmentResponse" ],
1131
+ "payload" : "SegmentResponse"
1132
+ },
1133
+ "DeleteApnsChannelRequest" : {
1134
+ "type" : "structure",
1135
+ "members" : {
1136
+ "ApplicationId" : {
1137
+ "shape" : "__string",
1138
+ "location" : "uri",
1139
+ "locationName" : "application-id"
1140
+ }
1141
+ },
1142
+ "required" : [ "ApplicationId" ]
1143
+ },
1144
+ "DeleteApnsChannelResponse" : {
1145
+ "type" : "structure",
1146
+ "members" : {
1147
+ "APNSChannelResponse" : {
1148
+ "shape" : "APNSChannelResponse"
1149
+ }
1150
+ },
1151
+ "required" : [ "APNSChannelResponse" ],
1152
+ "payload" : "APNSChannelResponse"
1153
+ },
1154
+ "DeleteCampaignRequest" : {
1155
+ "type" : "structure",
1156
+ "members" : {
1157
+ "ApplicationId" : {
1158
+ "shape" : "__string",
1159
+ "location" : "uri",
1160
+ "locationName" : "application-id"
1161
+ },
1162
+ "CampaignId" : {
1163
+ "shape" : "__string",
1164
+ "location" : "uri",
1165
+ "locationName" : "campaign-id"
1166
+ }
1167
+ },
1168
+ "required" : [ "CampaignId", "ApplicationId" ]
1169
+ },
1170
+ "DeleteCampaignResponse" : {
1171
+ "type" : "structure",
1172
+ "members" : {
1173
+ "CampaignResponse" : {
1174
+ "shape" : "CampaignResponse"
1175
+ }
1176
+ },
1177
+ "required" : [ "CampaignResponse" ],
1178
+ "payload" : "CampaignResponse"
1179
+ },
1180
+ "DeleteGcmChannelRequest" : {
1181
+ "type" : "structure",
1182
+ "members" : {
1183
+ "ApplicationId" : {
1184
+ "shape" : "__string",
1185
+ "location" : "uri",
1186
+ "locationName" : "application-id"
1187
+ }
1188
+ },
1189
+ "required" : [ "ApplicationId" ]
1190
+ },
1191
+ "DeleteGcmChannelResponse" : {
1192
+ "type" : "structure",
1193
+ "members" : {
1194
+ "GCMChannelResponse" : {
1195
+ "shape" : "GCMChannelResponse"
1196
+ }
1197
+ },
1198
+ "required" : [ "GCMChannelResponse" ],
1199
+ "payload" : "GCMChannelResponse"
1200
+ },
1201
+ "DeleteSegmentRequest" : {
1202
+ "type" : "structure",
1203
+ "members" : {
1204
+ "ApplicationId" : {
1205
+ "shape" : "__string",
1206
+ "location" : "uri",
1207
+ "locationName" : "application-id"
1208
+ },
1209
+ "SegmentId" : {
1210
+ "shape" : "__string",
1211
+ "location" : "uri",
1212
+ "locationName" : "segment-id"
1213
+ }
1214
+ },
1215
+ "required" : [ "SegmentId", "ApplicationId" ]
1216
+ },
1217
+ "DeleteSegmentResponse" : {
1218
+ "type" : "structure",
1219
+ "members" : {
1220
+ "SegmentResponse" : {
1221
+ "shape" : "SegmentResponse"
1222
+ }
1223
+ },
1224
+ "required" : [ "SegmentResponse" ],
1225
+ "payload" : "SegmentResponse"
1226
+ },
1227
+ "DimensionType" : {
1228
+ "type" : "string",
1229
+ "enum" : [ "INCLUSIVE", "EXCLUSIVE" ]
1230
+ },
1231
+ "Duration" : {
1232
+ "type" : "string",
1233
+ "enum" : [ "HR_24", "DAY_7", "DAY_14", "DAY_30" ]
1234
+ },
1235
+ "EndpointBatchItem" : {
1236
+ "type" : "structure",
1237
+ "members" : {
1238
+ "Address" : {
1239
+ "shape" : "__string"
1240
+ },
1241
+ "Attributes" : {
1242
+ "shape" : "MapOfListOf__string"
1243
+ },
1244
+ "ChannelType" : {
1245
+ "shape" : "ChannelType"
1246
+ },
1247
+ "Demographic" : {
1248
+ "shape" : "EndpointDemographic"
1249
+ },
1250
+ "EffectiveDate" : {
1251
+ "shape" : "__string"
1252
+ },
1253
+ "EndpointStatus" : {
1254
+ "shape" : "__string"
1255
+ },
1256
+ "Id" : {
1257
+ "shape" : "__string"
1258
+ },
1259
+ "Location" : {
1260
+ "shape" : "EndpointLocation"
1261
+ },
1262
+ "Metrics" : {
1263
+ "shape" : "MapOf__double"
1264
+ },
1265
+ "OptOut" : {
1266
+ "shape" : "__string"
1267
+ },
1268
+ "RequestId" : {
1269
+ "shape" : "__string"
1270
+ },
1271
+ "User" : {
1272
+ "shape" : "EndpointUser"
1273
+ }
1274
+ }
1275
+ },
1276
+ "EndpointBatchRequest" : {
1277
+ "type" : "structure",
1278
+ "members" : {
1279
+ "Item" : {
1280
+ "shape" : "ListOfEndpointBatchItem"
1281
+ }
1282
+ }
1283
+ },
1284
+ "EndpointDemographic" : {
1285
+ "type" : "structure",
1286
+ "members" : {
1287
+ "AppVersion" : {
1288
+ "shape" : "__string"
1289
+ },
1290
+ "Locale" : {
1291
+ "shape" : "__string"
1292
+ },
1293
+ "Make" : {
1294
+ "shape" : "__string"
1295
+ },
1296
+ "Model" : {
1297
+ "shape" : "__string"
1298
+ },
1299
+ "ModelVersion" : {
1300
+ "shape" : "__string"
1301
+ },
1302
+ "Platform" : {
1303
+ "shape" : "__string"
1304
+ },
1305
+ "PlatformVersion" : {
1306
+ "shape" : "__string"
1307
+ },
1308
+ "Timezone" : {
1309
+ "shape" : "__string"
1310
+ }
1311
+ }
1312
+ },
1313
+ "EndpointLocation" : {
1314
+ "type" : "structure",
1315
+ "members" : {
1316
+ "City" : {
1317
+ "shape" : "__string"
1318
+ },
1319
+ "Country" : {
1320
+ "shape" : "__string"
1321
+ },
1322
+ "Latitude" : {
1323
+ "shape" : "__double"
1324
+ },
1325
+ "Longitude" : {
1326
+ "shape" : "__double"
1327
+ },
1328
+ "PostalCode" : {
1329
+ "shape" : "__string"
1330
+ },
1331
+ "Region" : {
1332
+ "shape" : "__string"
1333
+ }
1334
+ }
1335
+ },
1336
+ "EndpointRequest" : {
1337
+ "type" : "structure",
1338
+ "members" : {
1339
+ "Address" : {
1340
+ "shape" : "__string"
1341
+ },
1342
+ "Attributes" : {
1343
+ "shape" : "MapOfListOf__string"
1344
+ },
1345
+ "ChannelType" : {
1346
+ "shape" : "ChannelType"
1347
+ },
1348
+ "Demographic" : {
1349
+ "shape" : "EndpointDemographic"
1350
+ },
1351
+ "EffectiveDate" : {
1352
+ "shape" : "__string"
1353
+ },
1354
+ "EndpointStatus" : {
1355
+ "shape" : "__string"
1356
+ },
1357
+ "Location" : {
1358
+ "shape" : "EndpointLocation"
1359
+ },
1360
+ "Metrics" : {
1361
+ "shape" : "MapOf__double"
1362
+ },
1363
+ "OptOut" : {
1364
+ "shape" : "__string"
1365
+ },
1366
+ "RequestId" : {
1367
+ "shape" : "__string"
1368
+ },
1369
+ "User" : {
1370
+ "shape" : "EndpointUser"
1371
+ }
1372
+ }
1373
+ },
1374
+ "EndpointResponse" : {
1375
+ "type" : "structure",
1376
+ "members" : {
1377
+ "Address" : {
1378
+ "shape" : "__string"
1379
+ },
1380
+ "ApplicationId" : {
1381
+ "shape" : "__string"
1382
+ },
1383
+ "Attributes" : {
1384
+ "shape" : "MapOfListOf__string"
1385
+ },
1386
+ "ChannelType" : {
1387
+ "shape" : "ChannelType"
1388
+ },
1389
+ "CohortId" : {
1390
+ "shape" : "__string"
1391
+ },
1392
+ "CreationDate" : {
1393
+ "shape" : "__string"
1394
+ },
1395
+ "Demographic" : {
1396
+ "shape" : "EndpointDemographic"
1397
+ },
1398
+ "EffectiveDate" : {
1399
+ "shape" : "__string"
1400
+ },
1401
+ "EndpointStatus" : {
1402
+ "shape" : "__string"
1403
+ },
1404
+ "Id" : {
1405
+ "shape" : "__string"
1406
+ },
1407
+ "Location" : {
1408
+ "shape" : "EndpointLocation"
1409
+ },
1410
+ "Metrics" : {
1411
+ "shape" : "MapOf__double"
1412
+ },
1413
+ "OptOut" : {
1414
+ "shape" : "__string"
1415
+ },
1416
+ "RequestId" : {
1417
+ "shape" : "__string"
1418
+ },
1419
+ "ShardId" : {
1420
+ "shape" : "__string"
1421
+ },
1422
+ "User" : {
1423
+ "shape" : "EndpointUser"
1424
+ }
1425
+ }
1426
+ },
1427
+ "EndpointUser" : {
1428
+ "type" : "structure",
1429
+ "members" : {
1430
+ "UserAttributes" : {
1431
+ "shape" : "MapOfListOf__string"
1432
+ },
1433
+ "UserId" : {
1434
+ "shape" : "__string"
1435
+ }
1436
+ }
1437
+ },
1438
+ "ForbiddenException" : {
1439
+ "type" : "structure",
1440
+ "members" : {
1441
+ "Message" : {
1442
+ "shape" : "__string"
1443
+ }
1444
+ },
1445
+ "exception" : true,
1446
+ "error" : {
1447
+ "httpStatusCode" : 403
1448
+ }
1449
+ },
1450
+ "Format" : {
1451
+ "type" : "string",
1452
+ "enum" : [ "CSV", "JSON" ]
1453
+ },
1454
+ "Frequency" : {
1455
+ "type" : "string",
1456
+ "enum" : [ "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY" ]
1457
+ },
1458
+ "GCMChannelRequest" : {
1459
+ "type" : "structure",
1460
+ "members" : {
1461
+ "ApiKey" : {
1462
+ "shape" : "__string"
1463
+ }
1464
+ }
1465
+ },
1466
+ "GCMChannelResponse" : {
1467
+ "type" : "structure",
1468
+ "members" : {
1469
+ "ApplicationId" : {
1470
+ "shape" : "__string"
1471
+ },
1472
+ "CreationDate" : {
1473
+ "shape" : "__string"
1474
+ },
1475
+ "Credential" : {
1476
+ "shape" : "__string"
1477
+ },
1478
+ "Id" : {
1479
+ "shape" : "__string"
1480
+ },
1481
+ "IsArchived" : {
1482
+ "shape" : "__boolean"
1483
+ },
1484
+ "LastModifiedBy" : {
1485
+ "shape" : "__string"
1486
+ },
1487
+ "LastModifiedDate" : {
1488
+ "shape" : "__string"
1489
+ },
1490
+ "Platform" : {
1491
+ "shape" : "__string"
1492
+ },
1493
+ "Version" : {
1494
+ "shape" : "__integer"
1495
+ }
1496
+ }
1497
+ },
1498
+ "GetApnsChannelRequest" : {
1499
+ "type" : "structure",
1500
+ "members" : {
1501
+ "ApplicationId" : {
1502
+ "shape" : "__string",
1503
+ "location" : "uri",
1504
+ "locationName" : "application-id"
1505
+ }
1506
+ },
1507
+ "required" : [ "ApplicationId" ]
1508
+ },
1509
+ "GetApnsChannelResponse" : {
1510
+ "type" : "structure",
1511
+ "members" : {
1512
+ "APNSChannelResponse" : {
1513
+ "shape" : "APNSChannelResponse"
1514
+ }
1515
+ },
1516
+ "required" : [ "APNSChannelResponse" ],
1517
+ "payload" : "APNSChannelResponse"
1518
+ },
1519
+ "GetApplicationSettingsRequest" : {
1520
+ "type" : "structure",
1521
+ "members" : {
1522
+ "ApplicationId" : {
1523
+ "shape" : "__string",
1524
+ "location" : "uri",
1525
+ "locationName" : "application-id"
1526
+ }
1527
+ },
1528
+ "required" : [ "ApplicationId" ]
1529
+ },
1530
+ "GetApplicationSettingsResponse" : {
1531
+ "type" : "structure",
1532
+ "members" : {
1533
+ "ApplicationSettingsResource" : {
1534
+ "shape" : "ApplicationSettingsResource"
1535
+ }
1536
+ },
1537
+ "required" : [ "ApplicationSettingsResource" ],
1538
+ "payload" : "ApplicationSettingsResource"
1539
+ },
1540
+ "GetCampaignActivitiesRequest" : {
1541
+ "type" : "structure",
1542
+ "members" : {
1543
+ "ApplicationId" : {
1544
+ "shape" : "__string",
1545
+ "location" : "uri",
1546
+ "locationName" : "application-id"
1547
+ },
1548
+ "CampaignId" : {
1549
+ "shape" : "__string",
1550
+ "location" : "uri",
1551
+ "locationName" : "campaign-id"
1552
+ },
1553
+ "PageSize" : {
1554
+ "shape" : "__string",
1555
+ "location" : "querystring",
1556
+ "locationName" : "page-size"
1557
+ },
1558
+ "Token" : {
1559
+ "shape" : "__string",
1560
+ "location" : "querystring",
1561
+ "locationName" : "token"
1562
+ }
1563
+ },
1564
+ "required" : [ "ApplicationId", "CampaignId" ]
1565
+ },
1566
+ "GetCampaignActivitiesResponse" : {
1567
+ "type" : "structure",
1568
+ "members" : {
1569
+ "ActivitiesResponse" : {
1570
+ "shape" : "ActivitiesResponse"
1571
+ }
1572
+ },
1573
+ "required" : [ "ActivitiesResponse" ],
1574
+ "payload" : "ActivitiesResponse"
1575
+ },
1576
+ "GetCampaignRequest" : {
1577
+ "type" : "structure",
1578
+ "members" : {
1579
+ "ApplicationId" : {
1580
+ "shape" : "__string",
1581
+ "location" : "uri",
1582
+ "locationName" : "application-id"
1583
+ },
1584
+ "CampaignId" : {
1585
+ "shape" : "__string",
1586
+ "location" : "uri",
1587
+ "locationName" : "campaign-id"
1588
+ }
1589
+ },
1590
+ "required" : [ "CampaignId", "ApplicationId" ]
1591
+ },
1592
+ "GetCampaignResponse" : {
1593
+ "type" : "structure",
1594
+ "members" : {
1595
+ "CampaignResponse" : {
1596
+ "shape" : "CampaignResponse"
1597
+ }
1598
+ },
1599
+ "required" : [ "CampaignResponse" ],
1600
+ "payload" : "CampaignResponse"
1601
+ },
1602
+ "GetCampaignVersionRequest" : {
1603
+ "type" : "structure",
1604
+ "members" : {
1605
+ "ApplicationId" : {
1606
+ "shape" : "__string",
1607
+ "location" : "uri",
1608
+ "locationName" : "application-id"
1609
+ },
1610
+ "CampaignId" : {
1611
+ "shape" : "__string",
1612
+ "location" : "uri",
1613
+ "locationName" : "campaign-id"
1614
+ },
1615
+ "Version" : {
1616
+ "shape" : "__string",
1617
+ "location" : "uri",
1618
+ "locationName" : "version"
1619
+ }
1620
+ },
1621
+ "required" : [ "Version", "ApplicationId", "CampaignId" ]
1622
+ },
1623
+ "GetCampaignVersionResponse" : {
1624
+ "type" : "structure",
1625
+ "members" : {
1626
+ "CampaignResponse" : {
1627
+ "shape" : "CampaignResponse"
1628
+ }
1629
+ },
1630
+ "required" : [ "CampaignResponse" ],
1631
+ "payload" : "CampaignResponse"
1632
+ },
1633
+ "GetCampaignVersionsRequest" : {
1634
+ "type" : "structure",
1635
+ "members" : {
1636
+ "ApplicationId" : {
1637
+ "shape" : "__string",
1638
+ "location" : "uri",
1639
+ "locationName" : "application-id"
1640
+ },
1641
+ "CampaignId" : {
1642
+ "shape" : "__string",
1643
+ "location" : "uri",
1644
+ "locationName" : "campaign-id"
1645
+ },
1646
+ "PageSize" : {
1647
+ "shape" : "__string",
1648
+ "location" : "querystring",
1649
+ "locationName" : "page-size"
1650
+ },
1651
+ "Token" : {
1652
+ "shape" : "__string",
1653
+ "location" : "querystring",
1654
+ "locationName" : "token"
1655
+ }
1656
+ },
1657
+ "required" : [ "ApplicationId", "CampaignId" ]
1658
+ },
1659
+ "GetCampaignVersionsResponse" : {
1660
+ "type" : "structure",
1661
+ "members" : {
1662
+ "CampaignsResponse" : {
1663
+ "shape" : "CampaignsResponse"
1664
+ }
1665
+ },
1666
+ "required" : [ "CampaignsResponse" ],
1667
+ "payload" : "CampaignsResponse"
1668
+ },
1669
+ "GetCampaignsRequest" : {
1670
+ "type" : "structure",
1671
+ "members" : {
1672
+ "ApplicationId" : {
1673
+ "shape" : "__string",
1674
+ "location" : "uri",
1675
+ "locationName" : "application-id"
1676
+ },
1677
+ "PageSize" : {
1678
+ "shape" : "__string",
1679
+ "location" : "querystring",
1680
+ "locationName" : "page-size"
1681
+ },
1682
+ "Token" : {
1683
+ "shape" : "__string",
1684
+ "location" : "querystring",
1685
+ "locationName" : "token"
1686
+ }
1687
+ },
1688
+ "required" : [ "ApplicationId" ]
1689
+ },
1690
+ "GetCampaignsResponse" : {
1691
+ "type" : "structure",
1692
+ "members" : {
1693
+ "CampaignsResponse" : {
1694
+ "shape" : "CampaignsResponse"
1695
+ }
1696
+ },
1697
+ "required" : [ "CampaignsResponse" ],
1698
+ "payload" : "CampaignsResponse"
1699
+ },
1700
+ "GetEndpointRequest" : {
1701
+ "type" : "structure",
1702
+ "members" : {
1703
+ "ApplicationId" : {
1704
+ "shape" : "__string",
1705
+ "location" : "uri",
1706
+ "locationName" : "application-id"
1707
+ },
1708
+ "EndpointId" : {
1709
+ "shape" : "__string",
1710
+ "location" : "uri",
1711
+ "locationName" : "endpoint-id"
1712
+ }
1713
+ },
1714
+ "required" : [ "ApplicationId", "EndpointId" ]
1715
+ },
1716
+ "GetEndpointResponse" : {
1717
+ "type" : "structure",
1718
+ "members" : {
1719
+ "EndpointResponse" : {
1720
+ "shape" : "EndpointResponse"
1721
+ }
1722
+ },
1723
+ "required" : [ "EndpointResponse" ],
1724
+ "payload" : "EndpointResponse"
1725
+ },
1726
+ "GetGcmChannelRequest" : {
1727
+ "type" : "structure",
1728
+ "members" : {
1729
+ "ApplicationId" : {
1730
+ "shape" : "__string",
1731
+ "location" : "uri",
1732
+ "locationName" : "application-id"
1733
+ }
1734
+ },
1735
+ "required" : [ "ApplicationId" ]
1736
+ },
1737
+ "GetGcmChannelResponse" : {
1738
+ "type" : "structure",
1739
+ "members" : {
1740
+ "GCMChannelResponse" : {
1741
+ "shape" : "GCMChannelResponse"
1742
+ }
1743
+ },
1744
+ "required" : [ "GCMChannelResponse" ],
1745
+ "payload" : "GCMChannelResponse"
1746
+ },
1747
+ "GetImportJobRequest" : {
1748
+ "type" : "structure",
1749
+ "members" : {
1750
+ "ApplicationId" : {
1751
+ "shape" : "__string",
1752
+ "location" : "uri",
1753
+ "locationName" : "application-id"
1754
+ },
1755
+ "JobId" : {
1756
+ "shape" : "__string",
1757
+ "location" : "uri",
1758
+ "locationName" : "job-id"
1759
+ }
1760
+ },
1761
+ "required" : [ "ApplicationId", "JobId" ]
1762
+ },
1763
+ "GetImportJobResponse" : {
1764
+ "type" : "structure",
1765
+ "members" : {
1766
+ "ImportJobResponse" : {
1767
+ "shape" : "ImportJobResponse"
1768
+ }
1769
+ },
1770
+ "required" : [ "ImportJobResponse" ],
1771
+ "payload" : "ImportJobResponse"
1772
+ },
1773
+ "GetImportJobsRequest" : {
1774
+ "type" : "structure",
1775
+ "members" : {
1776
+ "ApplicationId" : {
1777
+ "shape" : "__string",
1778
+ "location" : "uri",
1779
+ "locationName" : "application-id"
1780
+ },
1781
+ "PageSize" : {
1782
+ "shape" : "__string",
1783
+ "location" : "querystring",
1784
+ "locationName" : "page-size"
1785
+ },
1786
+ "Token" : {
1787
+ "shape" : "__string",
1788
+ "location" : "querystring",
1789
+ "locationName" : "token"
1790
+ }
1791
+ },
1792
+ "required" : [ "ApplicationId" ]
1793
+ },
1794
+ "GetImportJobsResponse" : {
1795
+ "type" : "structure",
1796
+ "members" : {
1797
+ "ImportJobsResponse" : {
1798
+ "shape" : "ImportJobsResponse"
1799
+ }
1800
+ },
1801
+ "required" : [ "ImportJobsResponse" ],
1802
+ "payload" : "ImportJobsResponse"
1803
+ },
1804
+ "GetSegmentImportJobsRequest" : {
1805
+ "type" : "structure",
1806
+ "members" : {
1807
+ "ApplicationId" : {
1808
+ "shape" : "__string",
1809
+ "location" : "uri",
1810
+ "locationName" : "application-id"
1811
+ },
1812
+ "PageSize" : {
1813
+ "shape" : "__string",
1814
+ "location" : "querystring",
1815
+ "locationName" : "page-size"
1816
+ },
1817
+ "SegmentId" : {
1818
+ "shape" : "__string",
1819
+ "location" : "uri",
1820
+ "locationName" : "segment-id"
1821
+ },
1822
+ "Token" : {
1823
+ "shape" : "__string",
1824
+ "location" : "querystring",
1825
+ "locationName" : "token"
1826
+ }
1827
+ },
1828
+ "required" : [ "SegmentId", "ApplicationId" ]
1829
+ },
1830
+ "GetSegmentImportJobsResponse" : {
1831
+ "type" : "structure",
1832
+ "members" : {
1833
+ "ImportJobsResponse" : {
1834
+ "shape" : "ImportJobsResponse"
1835
+ }
1836
+ },
1837
+ "required" : [ "ImportJobsResponse" ],
1838
+ "payload" : "ImportJobsResponse"
1839
+ },
1840
+ "GetSegmentRequest" : {
1841
+ "type" : "structure",
1842
+ "members" : {
1843
+ "ApplicationId" : {
1844
+ "shape" : "__string",
1845
+ "location" : "uri",
1846
+ "locationName" : "application-id"
1847
+ },
1848
+ "SegmentId" : {
1849
+ "shape" : "__string",
1850
+ "location" : "uri",
1851
+ "locationName" : "segment-id"
1852
+ }
1853
+ },
1854
+ "required" : [ "SegmentId", "ApplicationId" ]
1855
+ },
1856
+ "GetSegmentResponse" : {
1857
+ "type" : "structure",
1858
+ "members" : {
1859
+ "SegmentResponse" : {
1860
+ "shape" : "SegmentResponse"
1861
+ }
1862
+ },
1863
+ "required" : [ "SegmentResponse" ],
1864
+ "payload" : "SegmentResponse"
1865
+ },
1866
+ "GetSegmentVersionRequest" : {
1867
+ "type" : "structure",
1868
+ "members" : {
1869
+ "ApplicationId" : {
1870
+ "shape" : "__string",
1871
+ "location" : "uri",
1872
+ "locationName" : "application-id"
1873
+ },
1874
+ "SegmentId" : {
1875
+ "shape" : "__string",
1876
+ "location" : "uri",
1877
+ "locationName" : "segment-id"
1878
+ },
1879
+ "Version" : {
1880
+ "shape" : "__string",
1881
+ "location" : "uri",
1882
+ "locationName" : "version"
1883
+ }
1884
+ },
1885
+ "required" : [ "SegmentId", "Version", "ApplicationId" ]
1886
+ },
1887
+ "GetSegmentVersionResponse" : {
1888
+ "type" : "structure",
1889
+ "members" : {
1890
+ "SegmentResponse" : {
1891
+ "shape" : "SegmentResponse"
1892
+ }
1893
+ },
1894
+ "required" : [ "SegmentResponse" ],
1895
+ "payload" : "SegmentResponse"
1896
+ },
1897
+ "GetSegmentVersionsRequest" : {
1898
+ "type" : "structure",
1899
+ "members" : {
1900
+ "ApplicationId" : {
1901
+ "shape" : "__string",
1902
+ "location" : "uri",
1903
+ "locationName" : "application-id"
1904
+ },
1905
+ "PageSize" : {
1906
+ "shape" : "__string",
1907
+ "location" : "querystring",
1908
+ "locationName" : "page-size"
1909
+ },
1910
+ "SegmentId" : {
1911
+ "shape" : "__string",
1912
+ "location" : "uri",
1913
+ "locationName" : "segment-id"
1914
+ },
1915
+ "Token" : {
1916
+ "shape" : "__string",
1917
+ "location" : "querystring",
1918
+ "locationName" : "token"
1919
+ }
1920
+ },
1921
+ "required" : [ "SegmentId", "ApplicationId" ]
1922
+ },
1923
+ "GetSegmentVersionsResponse" : {
1924
+ "type" : "structure",
1925
+ "members" : {
1926
+ "SegmentsResponse" : {
1927
+ "shape" : "SegmentsResponse"
1928
+ }
1929
+ },
1930
+ "required" : [ "SegmentsResponse" ],
1931
+ "payload" : "SegmentsResponse"
1932
+ },
1933
+ "GetSegmentsRequest" : {
1934
+ "type" : "structure",
1935
+ "members" : {
1936
+ "ApplicationId" : {
1937
+ "shape" : "__string",
1938
+ "location" : "uri",
1939
+ "locationName" : "application-id"
1940
+ },
1941
+ "PageSize" : {
1942
+ "shape" : "__string",
1943
+ "location" : "querystring",
1944
+ "locationName" : "page-size"
1945
+ },
1946
+ "Token" : {
1947
+ "shape" : "__string",
1948
+ "location" : "querystring",
1949
+ "locationName" : "token"
1950
+ }
1951
+ },
1952
+ "required" : [ "ApplicationId" ]
1953
+ },
1954
+ "GetSegmentsResponse" : {
1955
+ "type" : "structure",
1956
+ "members" : {
1957
+ "SegmentsResponse" : {
1958
+ "shape" : "SegmentsResponse"
1959
+ }
1960
+ },
1961
+ "required" : [ "SegmentsResponse" ],
1962
+ "payload" : "SegmentsResponse"
1963
+ },
1964
+ "ImportJobRequest" : {
1965
+ "type" : "structure",
1966
+ "members" : {
1967
+ "DefineSegment" : {
1968
+ "shape" : "__boolean"
1969
+ },
1970
+ "ExternalId" : {
1971
+ "shape" : "__string"
1972
+ },
1973
+ "Format" : {
1974
+ "shape" : "Format"
1975
+ },
1976
+ "RegisterEndpoints" : {
1977
+ "shape" : "__boolean"
1978
+ },
1979
+ "RoleArn" : {
1980
+ "shape" : "__string"
1981
+ },
1982
+ "S3Url" : {
1983
+ "shape" : "__string"
1984
+ },
1985
+ "SegmentId" : {
1986
+ "shape" : "__string"
1987
+ },
1988
+ "SegmentName" : {
1989
+ "shape" : "__string"
1990
+ }
1991
+ }
1992
+ },
1993
+ "ImportJobResource" : {
1994
+ "type" : "structure",
1995
+ "members" : {
1996
+ "DefineSegment" : {
1997
+ "shape" : "__boolean"
1998
+ },
1999
+ "ExternalId" : {
2000
+ "shape" : "__string"
2001
+ },
2002
+ "Format" : {
2003
+ "shape" : "Format"
2004
+ },
2005
+ "RegisterEndpoints" : {
2006
+ "shape" : "__boolean"
2007
+ },
2008
+ "RoleArn" : {
2009
+ "shape" : "__string"
2010
+ },
2011
+ "S3Url" : {
2012
+ "shape" : "__string"
2013
+ },
2014
+ "SegmentId" : {
2015
+ "shape" : "__string"
2016
+ },
2017
+ "SegmentName" : {
2018
+ "shape" : "__string"
2019
+ }
2020
+ }
2021
+ },
2022
+ "ImportJobResponse" : {
2023
+ "type" : "structure",
2024
+ "members" : {
2025
+ "ApplicationId" : {
2026
+ "shape" : "__string"
2027
+ },
2028
+ "CompletedPieces" : {
2029
+ "shape" : "__integer"
2030
+ },
2031
+ "CompletionDate" : {
2032
+ "shape" : "__string"
2033
+ },
2034
+ "CreationDate" : {
2035
+ "shape" : "__string"
2036
+ },
2037
+ "Definition" : {
2038
+ "shape" : "ImportJobResource"
2039
+ },
2040
+ "FailedPieces" : {
2041
+ "shape" : "__integer"
2042
+ },
2043
+ "Failures" : {
2044
+ "shape" : "ListOf__string"
2045
+ },
2046
+ "Id" : {
2047
+ "shape" : "__string"
2048
+ },
2049
+ "JobStatus" : {
2050
+ "shape" : "JobStatus"
2051
+ },
2052
+ "TotalFailures" : {
2053
+ "shape" : "__integer"
2054
+ },
2055
+ "TotalPieces" : {
2056
+ "shape" : "__integer"
2057
+ },
2058
+ "TotalProcessed" : {
2059
+ "shape" : "__integer"
2060
+ },
2061
+ "Type" : {
2062
+ "shape" : "__string"
2063
+ }
2064
+ }
2065
+ },
2066
+ "ImportJobsResponse" : {
2067
+ "type" : "structure",
2068
+ "members" : {
2069
+ "Item" : {
2070
+ "shape" : "ListOfImportJobResponse"
2071
+ },
2072
+ "NextToken" : {
2073
+ "shape" : "__string"
2074
+ }
2075
+ }
2076
+ },
2077
+ "InternalServerErrorException" : {
2078
+ "type" : "structure",
2079
+ "members" : {
2080
+ "Message" : {
2081
+ "shape" : "__string"
2082
+ }
2083
+ },
2084
+ "exception" : true,
2085
+ "error" : {
2086
+ "httpStatusCode" : 500
2087
+ }
2088
+ },
2089
+ "JobStatus" : {
2090
+ "type" : "string",
2091
+ "enum" : [ "CREATED", "INITIALIZING", "PROCESSING", "COMPLETING", "COMPLETED", "FAILING", "FAILED" ]
2092
+ },
2093
+ "ListOfActivityResponse" : {
2094
+ "type" : "list",
2095
+ "member" : {
2096
+ "shape" : "ActivityResponse"
2097
+ }
2098
+ },
2099
+ "ListOfCampaignResponse" : {
2100
+ "type" : "list",
2101
+ "member" : {
2102
+ "shape" : "CampaignResponse"
2103
+ }
2104
+ },
2105
+ "ListOfEndpointBatchItem" : {
2106
+ "type" : "list",
2107
+ "member" : {
2108
+ "shape" : "EndpointBatchItem"
2109
+ }
2110
+ },
2111
+ "ListOfImportJobResponse" : {
2112
+ "type" : "list",
2113
+ "member" : {
2114
+ "shape" : "ImportJobResponse"
2115
+ }
2116
+ },
2117
+ "ListOfSegmentResponse" : {
2118
+ "type" : "list",
2119
+ "member" : {
2120
+ "shape" : "SegmentResponse"
2121
+ }
2122
+ },
2123
+ "ListOfTreatmentResource" : {
2124
+ "type" : "list",
2125
+ "member" : {
2126
+ "shape" : "TreatmentResource"
2127
+ }
2128
+ },
2129
+ "ListOfWriteTreatmentResource" : {
2130
+ "type" : "list",
2131
+ "member" : {
2132
+ "shape" : "WriteTreatmentResource"
2133
+ }
2134
+ },
2135
+ "ListOf__string" : {
2136
+ "type" : "list",
2137
+ "member" : {
2138
+ "shape" : "__string"
2139
+ }
2140
+ },
2141
+ "MapOfAttributeDimension" : {
2142
+ "type" : "map",
2143
+ "key" : {
2144
+ "shape" : "__string"
2145
+ },
2146
+ "value" : {
2147
+ "shape" : "AttributeDimension"
2148
+ }
2149
+ },
2150
+ "MapOfListOf__string" : {
2151
+ "type" : "map",
2152
+ "key" : {
2153
+ "shape" : "__string"
2154
+ },
2155
+ "value" : {
2156
+ "shape" : "ListOf__string"
2157
+ }
2158
+ },
2159
+ "MapOf__double" : {
2160
+ "type" : "map",
2161
+ "key" : {
2162
+ "shape" : "__string"
2163
+ },
2164
+ "value" : {
2165
+ "shape" : "__double"
2166
+ }
2167
+ },
2168
+ "Message" : {
2169
+ "type" : "structure",
2170
+ "members" : {
2171
+ "Action" : {
2172
+ "shape" : "Action"
2173
+ },
2174
+ "Body" : {
2175
+ "shape" : "__string"
2176
+ },
2177
+ "ImageIconUrl" : {
2178
+ "shape" : "__string"
2179
+ },
2180
+ "ImageUrl" : {
2181
+ "shape" : "__string"
2182
+ },
2183
+ "JsonBody" : {
2184
+ "shape" : "__string"
2185
+ },
2186
+ "MediaUrl" : {
2187
+ "shape" : "__string"
2188
+ },
2189
+ "SilentPush" : {
2190
+ "shape" : "__boolean"
2191
+ },
2192
+ "Title" : {
2193
+ "shape" : "__string"
2194
+ },
2195
+ "Url" : {
2196
+ "shape" : "__string"
2197
+ }
2198
+ }
2199
+ },
2200
+ "MessageBody" : {
2201
+ "type" : "structure",
2202
+ "members" : {
2203
+ "Message" : {
2204
+ "shape" : "__string"
2205
+ },
2206
+ "RequestID" : {
2207
+ "shape" : "__string"
2208
+ }
2209
+ }
2210
+ },
2211
+ "MessageConfiguration" : {
2212
+ "type" : "structure",
2213
+ "members" : {
2214
+ "APNSMessage" : {
2215
+ "shape" : "Message"
2216
+ },
2217
+ "DefaultMessage" : {
2218
+ "shape" : "Message"
2219
+ },
2220
+ "GCMMessage" : {
2221
+ "shape" : "Message"
2222
+ }
2223
+ }
2224
+ },
2225
+ "MethodNotAllowedException" : {
2226
+ "type" : "structure",
2227
+ "members" : {
2228
+ "Message" : {
2229
+ "shape" : "__string"
2230
+ }
2231
+ },
2232
+ "exception" : true,
2233
+ "error" : {
2234
+ "httpStatusCode" : 405
2235
+ }
2236
+ },
2237
+ "NotFoundException" : {
2238
+ "type" : "structure",
2239
+ "members" : {
2240
+ "Message" : {
2241
+ "shape" : "__string"
2242
+ }
2243
+ },
2244
+ "exception" : true,
2245
+ "error" : {
2246
+ "httpStatusCode" : 404
2247
+ }
2248
+ },
2249
+ "QuietTime" : {
2250
+ "type" : "structure",
2251
+ "members" : {
2252
+ "End" : {
2253
+ "shape" : "__string"
2254
+ },
2255
+ "Start" : {
2256
+ "shape" : "__string"
2257
+ }
2258
+ }
2259
+ },
2260
+ "RecencyDimension" : {
2261
+ "type" : "structure",
2262
+ "members" : {
2263
+ "Duration" : {
2264
+ "shape" : "Duration"
2265
+ },
2266
+ "RecencyType" : {
2267
+ "shape" : "RecencyType"
2268
+ }
2269
+ }
2270
+ },
2271
+ "RecencyType" : {
2272
+ "type" : "string",
2273
+ "enum" : [ "ACTIVE", "INACTIVE" ]
2274
+ },
2275
+ "Schedule" : {
2276
+ "type" : "structure",
2277
+ "members" : {
2278
+ "EndTime" : {
2279
+ "shape" : "__string"
2280
+ },
2281
+ "Frequency" : {
2282
+ "shape" : "Frequency"
2283
+ },
2284
+ "IsLocalTime" : {
2285
+ "shape" : "__boolean"
2286
+ },
2287
+ "QuietTime" : {
2288
+ "shape" : "QuietTime"
2289
+ },
2290
+ "StartTime" : {
2291
+ "shape" : "__string"
2292
+ },
2293
+ "Timezone" : {
2294
+ "shape" : "__string"
2295
+ }
2296
+ }
2297
+ },
2298
+ "SegmentBehaviors" : {
2299
+ "type" : "structure",
2300
+ "members" : {
2301
+ "Recency" : {
2302
+ "shape" : "RecencyDimension"
2303
+ }
2304
+ }
2305
+ },
2306
+ "SegmentDemographics" : {
2307
+ "type" : "structure",
2308
+ "members" : {
2309
+ "AppVersion" : {
2310
+ "shape" : "SetDimension"
2311
+ },
2312
+ "DeviceType" : {
2313
+ "shape" : "SetDimension"
2314
+ },
2315
+ "Make" : {
2316
+ "shape" : "SetDimension"
2317
+ },
2318
+ "Model" : {
2319
+ "shape" : "SetDimension"
2320
+ },
2321
+ "Platform" : {
2322
+ "shape" : "SetDimension"
2323
+ }
2324
+ }
2325
+ },
2326
+ "SegmentDimensions" : {
2327
+ "type" : "structure",
2328
+ "members" : {
2329
+ "Attributes" : {
2330
+ "shape" : "MapOfAttributeDimension"
2331
+ },
2332
+ "Behavior" : {
2333
+ "shape" : "SegmentBehaviors"
2334
+ },
2335
+ "Demographic" : {
2336
+ "shape" : "SegmentDemographics"
2337
+ },
2338
+ "Location" : {
2339
+ "shape" : "SegmentLocation"
2340
+ }
2341
+ }
2342
+ },
2343
+ "SegmentImportResource" : {
2344
+ "type" : "structure",
2345
+ "members" : {
2346
+ "ExternalId" : {
2347
+ "shape" : "__string"
2348
+ },
2349
+ "Format" : {
2350
+ "shape" : "Format"
2351
+ },
2352
+ "RoleArn" : {
2353
+ "shape" : "__string"
2354
+ },
2355
+ "S3Url" : {
2356
+ "shape" : "__string"
2357
+ },
2358
+ "Size" : {
2359
+ "shape" : "__integer"
2360
+ }
2361
+ }
2362
+ },
2363
+ "SegmentLocation" : {
2364
+ "type" : "structure",
2365
+ "members" : {
2366
+ "Country" : {
2367
+ "shape" : "SetDimension"
2368
+ }
2369
+ }
2370
+ },
2371
+ "SegmentResponse" : {
2372
+ "type" : "structure",
2373
+ "members" : {
2374
+ "ApplicationId" : {
2375
+ "shape" : "__string"
2376
+ },
2377
+ "CreationDate" : {
2378
+ "shape" : "__string"
2379
+ },
2380
+ "Dimensions" : {
2381
+ "shape" : "SegmentDimensions"
2382
+ },
2383
+ "Id" : {
2384
+ "shape" : "__string"
2385
+ },
2386
+ "ImportDefinition" : {
2387
+ "shape" : "SegmentImportResource"
2388
+ },
2389
+ "LastModifiedDate" : {
2390
+ "shape" : "__string"
2391
+ },
2392
+ "Name" : {
2393
+ "shape" : "__string"
2394
+ },
2395
+ "SegmentType" : {
2396
+ "shape" : "SegmentType"
2397
+ },
2398
+ "Version" : {
2399
+ "shape" : "__integer"
2400
+ }
2401
+ }
2402
+ },
2403
+ "SegmentType" : {
2404
+ "type" : "string",
2405
+ "enum" : [ "DIMENSIONAL", "IMPORT" ]
2406
+ },
2407
+ "SegmentsResponse" : {
2408
+ "type" : "structure",
2409
+ "members" : {
2410
+ "Item" : {
2411
+ "shape" : "ListOfSegmentResponse"
2412
+ },
2413
+ "NextToken" : {
2414
+ "shape" : "__string"
2415
+ }
2416
+ }
2417
+ },
2418
+ "SetDimension" : {
2419
+ "type" : "structure",
2420
+ "members" : {
2421
+ "DimensionType" : {
2422
+ "shape" : "DimensionType"
2423
+ },
2424
+ "Values" : {
2425
+ "shape" : "ListOf__string"
2426
+ }
2427
+ }
2428
+ },
2429
+ "TooManyRequestsException" : {
2430
+ "type" : "structure",
2431
+ "members" : {
2432
+ "Message" : {
2433
+ "shape" : "__string"
2434
+ }
2435
+ },
2436
+ "exception" : true,
2437
+ "error" : {
2438
+ "httpStatusCode" : 429
2439
+ }
2440
+ },
2441
+ "TreatmentResource" : {
2442
+ "type" : "structure",
2443
+ "members" : {
2444
+ "Id" : {
2445
+ "shape" : "__string"
2446
+ },
2447
+ "MessageConfiguration" : {
2448
+ "shape" : "MessageConfiguration"
2449
+ },
2450
+ "Schedule" : {
2451
+ "shape" : "Schedule"
2452
+ },
2453
+ "SizePercent" : {
2454
+ "shape" : "__integer"
2455
+ },
2456
+ "State" : {
2457
+ "shape" : "CampaignState"
2458
+ },
2459
+ "TreatmentDescription" : {
2460
+ "shape" : "__string"
2461
+ },
2462
+ "TreatmentName" : {
2463
+ "shape" : "__string"
2464
+ }
2465
+ }
2466
+ },
2467
+ "UpdateApnsChannelRequest" : {
2468
+ "type" : "structure",
2469
+ "members" : {
2470
+ "APNSChannelRequest" : {
2471
+ "shape" : "APNSChannelRequest"
2472
+ },
2473
+ "ApplicationId" : {
2474
+ "shape" : "__string",
2475
+ "location" : "uri",
2476
+ "locationName" : "application-id"
2477
+ }
2478
+ },
2479
+ "required" : [ "ApplicationId", "APNSChannelRequest" ],
2480
+ "payload" : "APNSChannelRequest"
2481
+ },
2482
+ "UpdateApnsChannelResponse" : {
2483
+ "type" : "structure",
2484
+ "members" : {
2485
+ "APNSChannelResponse" : {
2486
+ "shape" : "APNSChannelResponse"
2487
+ }
2488
+ },
2489
+ "required" : [ "APNSChannelResponse" ],
2490
+ "payload" : "APNSChannelResponse"
2491
+ },
2492
+ "UpdateApplicationSettingsRequest" : {
2493
+ "type" : "structure",
2494
+ "members" : {
2495
+ "ApplicationId" : {
2496
+ "shape" : "__string",
2497
+ "location" : "uri",
2498
+ "locationName" : "application-id"
2499
+ },
2500
+ "WriteApplicationSettingsRequest" : {
2501
+ "shape" : "WriteApplicationSettingsRequest"
2502
+ }
2503
+ },
2504
+ "required" : [ "ApplicationId", "WriteApplicationSettingsRequest" ],
2505
+ "payload" : "WriteApplicationSettingsRequest"
2506
+ },
2507
+ "UpdateApplicationSettingsResponse" : {
2508
+ "type" : "structure",
2509
+ "members" : {
2510
+ "ApplicationSettingsResource" : {
2511
+ "shape" : "ApplicationSettingsResource"
2512
+ }
2513
+ },
2514
+ "required" : [ "ApplicationSettingsResource" ],
2515
+ "payload" : "ApplicationSettingsResource"
2516
+ },
2517
+ "UpdateCampaignRequest" : {
2518
+ "type" : "structure",
2519
+ "members" : {
2520
+ "ApplicationId" : {
2521
+ "shape" : "__string",
2522
+ "location" : "uri",
2523
+ "locationName" : "application-id"
2524
+ },
2525
+ "CampaignId" : {
2526
+ "shape" : "__string",
2527
+ "location" : "uri",
2528
+ "locationName" : "campaign-id"
2529
+ },
2530
+ "WriteCampaignRequest" : {
2531
+ "shape" : "WriteCampaignRequest"
2532
+ }
2533
+ },
2534
+ "required" : [ "CampaignId", "ApplicationId", "WriteCampaignRequest" ],
2535
+ "payload" : "WriteCampaignRequest"
2536
+ },
2537
+ "UpdateCampaignResponse" : {
2538
+ "type" : "structure",
2539
+ "members" : {
2540
+ "CampaignResponse" : {
2541
+ "shape" : "CampaignResponse"
2542
+ }
2543
+ },
2544
+ "required" : [ "CampaignResponse" ],
2545
+ "payload" : "CampaignResponse"
2546
+ },
2547
+ "UpdateEndpointRequest" : {
2548
+ "type" : "structure",
2549
+ "members" : {
2550
+ "ApplicationId" : {
2551
+ "shape" : "__string",
2552
+ "location" : "uri",
2553
+ "locationName" : "application-id"
2554
+ },
2555
+ "EndpointId" : {
2556
+ "shape" : "__string",
2557
+ "location" : "uri",
2558
+ "locationName" : "endpoint-id"
2559
+ },
2560
+ "EndpointRequest" : {
2561
+ "shape" : "EndpointRequest"
2562
+ }
2563
+ },
2564
+ "required" : [ "ApplicationId", "EndpointId", "EndpointRequest" ],
2565
+ "payload" : "EndpointRequest"
2566
+ },
2567
+ "UpdateEndpointResponse" : {
2568
+ "type" : "structure",
2569
+ "members" : {
2570
+ "MessageBody" : {
2571
+ "shape" : "MessageBody"
2572
+ }
2573
+ },
2574
+ "required" : [ "MessageBody" ],
2575
+ "payload" : "MessageBody"
2576
+ },
2577
+ "UpdateEndpointsBatchRequest" : {
2578
+ "type" : "structure",
2579
+ "members" : {
2580
+ "ApplicationId" : {
2581
+ "shape" : "__string",
2582
+ "location" : "uri",
2583
+ "locationName" : "application-id"
2584
+ },
2585
+ "EndpointBatchRequest" : {
2586
+ "shape" : "EndpointBatchRequest"
2587
+ }
2588
+ },
2589
+ "required" : [ "ApplicationId", "EndpointBatchRequest" ],
2590
+ "payload" : "EndpointBatchRequest"
2591
+ },
2592
+ "UpdateEndpointsBatchResponse" : {
2593
+ "type" : "structure",
2594
+ "members" : {
2595
+ "MessageBody" : {
2596
+ "shape" : "MessageBody"
2597
+ }
2598
+ },
2599
+ "required" : [ "MessageBody" ],
2600
+ "payload" : "MessageBody"
2601
+ },
2602
+ "UpdateGcmChannelRequest" : {
2603
+ "type" : "structure",
2604
+ "members" : {
2605
+ "ApplicationId" : {
2606
+ "shape" : "__string",
2607
+ "location" : "uri",
2608
+ "locationName" : "application-id"
2609
+ },
2610
+ "GCMChannelRequest" : {
2611
+ "shape" : "GCMChannelRequest"
2612
+ }
2613
+ },
2614
+ "required" : [ "ApplicationId", "GCMChannelRequest" ],
2615
+ "payload" : "GCMChannelRequest"
2616
+ },
2617
+ "UpdateGcmChannelResponse" : {
2618
+ "type" : "structure",
2619
+ "members" : {
2620
+ "GCMChannelResponse" : {
2621
+ "shape" : "GCMChannelResponse"
2622
+ }
2623
+ },
2624
+ "required" : [ "GCMChannelResponse" ],
2625
+ "payload" : "GCMChannelResponse"
2626
+ },
2627
+ "UpdateSegmentRequest" : {
2628
+ "type" : "structure",
2629
+ "members" : {
2630
+ "ApplicationId" : {
2631
+ "shape" : "__string",
2632
+ "location" : "uri",
2633
+ "locationName" : "application-id"
2634
+ },
2635
+ "SegmentId" : {
2636
+ "shape" : "__string",
2637
+ "location" : "uri",
2638
+ "locationName" : "segment-id"
2639
+ },
2640
+ "WriteSegmentRequest" : {
2641
+ "shape" : "WriteSegmentRequest"
2642
+ }
2643
+ },
2644
+ "required" : [ "SegmentId", "ApplicationId", "WriteSegmentRequest" ],
2645
+ "payload" : "WriteSegmentRequest"
2646
+ },
2647
+ "UpdateSegmentResponse" : {
2648
+ "type" : "structure",
2649
+ "members" : {
2650
+ "SegmentResponse" : {
2651
+ "shape" : "SegmentResponse"
2652
+ }
2653
+ },
2654
+ "required" : [ "SegmentResponse" ],
2655
+ "payload" : "SegmentResponse"
2656
+ },
2657
+ "WriteApplicationSettingsRequest" : {
2658
+ "type" : "structure",
2659
+ "members" : {
2660
+ "Limits" : {
2661
+ "shape" : "CampaignLimits"
2662
+ },
2663
+ "QuietTime" : {
2664
+ "shape" : "QuietTime"
2665
+ }
2666
+ }
2667
+ },
2668
+ "WriteCampaignRequest" : {
2669
+ "type" : "structure",
2670
+ "members" : {
2671
+ "AdditionalTreatments" : {
2672
+ "shape" : "ListOfWriteTreatmentResource"
2673
+ },
2674
+ "Description" : {
2675
+ "shape" : "__string"
2676
+ },
2677
+ "HoldoutPercent" : {
2678
+ "shape" : "__integer"
2679
+ },
2680
+ "IsPaused" : {
2681
+ "shape" : "__boolean"
2682
+ },
2683
+ "Limits" : {
2684
+ "shape" : "CampaignLimits"
2685
+ },
2686
+ "MessageConfiguration" : {
2687
+ "shape" : "MessageConfiguration"
2688
+ },
2689
+ "Name" : {
2690
+ "shape" : "__string"
2691
+ },
2692
+ "Schedule" : {
2693
+ "shape" : "Schedule"
2694
+ },
2695
+ "SegmentId" : {
2696
+ "shape" : "__string"
2697
+ },
2698
+ "SegmentVersion" : {
2699
+ "shape" : "__integer"
2700
+ },
2701
+ "TreatmentDescription" : {
2702
+ "shape" : "__string"
2703
+ },
2704
+ "TreatmentName" : {
2705
+ "shape" : "__string"
2706
+ }
2707
+ }
2708
+ },
2709
+ "WriteSegmentRequest" : {
2710
+ "type" : "structure",
2711
+ "members" : {
2712
+ "Dimensions" : {
2713
+ "shape" : "SegmentDimensions"
2714
+ },
2715
+ "Name" : {
2716
+ "shape" : "__string"
2717
+ }
2718
+ }
2719
+ },
2720
+ "WriteTreatmentResource" : {
2721
+ "type" : "structure",
2722
+ "members" : {
2723
+ "MessageConfiguration" : {
2724
+ "shape" : "MessageConfiguration"
2725
+ },
2726
+ "Schedule" : {
2727
+ "shape" : "Schedule"
2728
+ },
2729
+ "SizePercent" : {
2730
+ "shape" : "__integer"
2731
+ },
2732
+ "TreatmentDescription" : {
2733
+ "shape" : "__string"
2734
+ },
2735
+ "TreatmentName" : {
2736
+ "shape" : "__string"
2737
+ }
2738
+ }
2739
+ },
2740
+ "__boolean" : {
2741
+ "type" : "boolean"
2742
+ },
2743
+ "__double" : {
2744
+ "type" : "double"
2745
+ },
2746
+ "__integer" : {
2747
+ "type" : "integer"
2748
+ },
2749
+ "__string" : {
2750
+ "type" : "string"
2751
+ }
2752
+ }
2753
+ }