api-2.json 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2010-03-31",
  5. "endpointPrefix":"sns",
  6. "protocol":"query",
  7. "serviceAbbreviation":"Amazon SNS",
  8. "serviceFullName":"Amazon Simple Notification Service",
  9. "signatureVersion":"v4",
  10. "xmlNamespace":"http://sns.amazonaws.com/doc/2010-03-31/"
  11. },
  12. "operations":{
  13. "AddPermission":{
  14. "name":"AddPermission",
  15. "http":{
  16. "method":"POST",
  17. "requestUri":"/"
  18. },
  19. "input":{"shape":"AddPermissionInput"},
  20. "errors":[
  21. {"shape":"InvalidParameterException"},
  22. {"shape":"InternalErrorException"},
  23. {"shape":"AuthorizationErrorException"},
  24. {"shape":"NotFoundException"}
  25. ]
  26. },
  27. "CheckIfPhoneNumberIsOptedOut":{
  28. "name":"CheckIfPhoneNumberIsOptedOut",
  29. "http":{
  30. "method":"POST",
  31. "requestUri":"/"
  32. },
  33. "input":{"shape":"CheckIfPhoneNumberIsOptedOutInput"},
  34. "output":{
  35. "shape":"CheckIfPhoneNumberIsOptedOutResponse",
  36. "resultWrapper":"CheckIfPhoneNumberIsOptedOutResult"
  37. },
  38. "errors":[
  39. {"shape":"ThrottledException"},
  40. {"shape":"InternalErrorException"},
  41. {"shape":"InvalidParameterException"}
  42. ]
  43. },
  44. "ConfirmSubscription":{
  45. "name":"ConfirmSubscription",
  46. "http":{
  47. "method":"POST",
  48. "requestUri":"/"
  49. },
  50. "input":{"shape":"ConfirmSubscriptionInput"},
  51. "output":{
  52. "shape":"ConfirmSubscriptionResponse",
  53. "resultWrapper":"ConfirmSubscriptionResult"
  54. },
  55. "errors":[
  56. {"shape":"SubscriptionLimitExceededException"},
  57. {"shape":"InvalidParameterException"},
  58. {"shape":"NotFoundException"},
  59. {"shape":"InternalErrorException"},
  60. {"shape":"AuthorizationErrorException"}
  61. ]
  62. },
  63. "CreatePlatformApplication":{
  64. "name":"CreatePlatformApplication",
  65. "http":{
  66. "method":"POST",
  67. "requestUri":"/"
  68. },
  69. "input":{"shape":"CreatePlatformApplicationInput"},
  70. "output":{
  71. "shape":"CreatePlatformApplicationResponse",
  72. "resultWrapper":"CreatePlatformApplicationResult"
  73. },
  74. "errors":[
  75. {"shape":"InvalidParameterException"},
  76. {"shape":"InternalErrorException"},
  77. {"shape":"AuthorizationErrorException"}
  78. ]
  79. },
  80. "CreatePlatformEndpoint":{
  81. "name":"CreatePlatformEndpoint",
  82. "http":{
  83. "method":"POST",
  84. "requestUri":"/"
  85. },
  86. "input":{"shape":"CreatePlatformEndpointInput"},
  87. "output":{
  88. "shape":"CreateEndpointResponse",
  89. "resultWrapper":"CreatePlatformEndpointResult"
  90. },
  91. "errors":[
  92. {"shape":"InvalidParameterException"},
  93. {"shape":"InternalErrorException"},
  94. {"shape":"AuthorizationErrorException"},
  95. {"shape":"NotFoundException"}
  96. ]
  97. },
  98. "CreateTopic":{
  99. "name":"CreateTopic",
  100. "http":{
  101. "method":"POST",
  102. "requestUri":"/"
  103. },
  104. "input":{"shape":"CreateTopicInput"},
  105. "output":{
  106. "shape":"CreateTopicResponse",
  107. "resultWrapper":"CreateTopicResult"
  108. },
  109. "errors":[
  110. {"shape":"InvalidParameterException"},
  111. {"shape":"TopicLimitExceededException"},
  112. {"shape":"InternalErrorException"},
  113. {"shape":"AuthorizationErrorException"}
  114. ]
  115. },
  116. "DeleteEndpoint":{
  117. "name":"DeleteEndpoint",
  118. "http":{
  119. "method":"POST",
  120. "requestUri":"/"
  121. },
  122. "input":{"shape":"DeleteEndpointInput"},
  123. "errors":[
  124. {"shape":"InvalidParameterException"},
  125. {"shape":"InternalErrorException"},
  126. {"shape":"AuthorizationErrorException"}
  127. ]
  128. },
  129. "DeletePlatformApplication":{
  130. "name":"DeletePlatformApplication",
  131. "http":{
  132. "method":"POST",
  133. "requestUri":"/"
  134. },
  135. "input":{"shape":"DeletePlatformApplicationInput"},
  136. "errors":[
  137. {"shape":"InvalidParameterException"},
  138. {"shape":"InternalErrorException"},
  139. {"shape":"AuthorizationErrorException"}
  140. ]
  141. },
  142. "DeleteTopic":{
  143. "name":"DeleteTopic",
  144. "http":{
  145. "method":"POST",
  146. "requestUri":"/"
  147. },
  148. "input":{"shape":"DeleteTopicInput"},
  149. "errors":[
  150. {"shape":"InvalidParameterException"},
  151. {"shape":"InternalErrorException"},
  152. {"shape":"AuthorizationErrorException"},
  153. {"shape":"NotFoundException"}
  154. ]
  155. },
  156. "GetEndpointAttributes":{
  157. "name":"GetEndpointAttributes",
  158. "http":{
  159. "method":"POST",
  160. "requestUri":"/"
  161. },
  162. "input":{"shape":"GetEndpointAttributesInput"},
  163. "output":{
  164. "shape":"GetEndpointAttributesResponse",
  165. "resultWrapper":"GetEndpointAttributesResult"
  166. },
  167. "errors":[
  168. {"shape":"InvalidParameterException"},
  169. {"shape":"InternalErrorException"},
  170. {"shape":"AuthorizationErrorException"},
  171. {"shape":"NotFoundException"}
  172. ]
  173. },
  174. "GetPlatformApplicationAttributes":{
  175. "name":"GetPlatformApplicationAttributes",
  176. "http":{
  177. "method":"POST",
  178. "requestUri":"/"
  179. },
  180. "input":{"shape":"GetPlatformApplicationAttributesInput"},
  181. "output":{
  182. "shape":"GetPlatformApplicationAttributesResponse",
  183. "resultWrapper":"GetPlatformApplicationAttributesResult"
  184. },
  185. "errors":[
  186. {"shape":"InvalidParameterException"},
  187. {"shape":"InternalErrorException"},
  188. {"shape":"AuthorizationErrorException"},
  189. {"shape":"NotFoundException"}
  190. ]
  191. },
  192. "GetSMSAttributes":{
  193. "name":"GetSMSAttributes",
  194. "http":{
  195. "method":"POST",
  196. "requestUri":"/"
  197. },
  198. "input":{"shape":"GetSMSAttributesInput"},
  199. "output":{
  200. "shape":"GetSMSAttributesResponse",
  201. "resultWrapper":"GetSMSAttributesResult"
  202. },
  203. "errors":[
  204. {"shape":"ThrottledException"},
  205. {"shape":"InternalErrorException"},
  206. {"shape":"InvalidParameterException"}
  207. ]
  208. },
  209. "GetSubscriptionAttributes":{
  210. "name":"GetSubscriptionAttributes",
  211. "http":{
  212. "method":"POST",
  213. "requestUri":"/"
  214. },
  215. "input":{"shape":"GetSubscriptionAttributesInput"},
  216. "output":{
  217. "shape":"GetSubscriptionAttributesResponse",
  218. "resultWrapper":"GetSubscriptionAttributesResult"
  219. },
  220. "errors":[
  221. {"shape":"InvalidParameterException"},
  222. {"shape":"InternalErrorException"},
  223. {"shape":"NotFoundException"},
  224. {"shape":"AuthorizationErrorException"}
  225. ]
  226. },
  227. "GetTopicAttributes":{
  228. "name":"GetTopicAttributes",
  229. "http":{
  230. "method":"POST",
  231. "requestUri":"/"
  232. },
  233. "input":{"shape":"GetTopicAttributesInput"},
  234. "output":{
  235. "shape":"GetTopicAttributesResponse",
  236. "resultWrapper":"GetTopicAttributesResult"
  237. },
  238. "errors":[
  239. {"shape":"InvalidParameterException"},
  240. {"shape":"InternalErrorException"},
  241. {"shape":"NotFoundException"},
  242. {"shape":"AuthorizationErrorException"}
  243. ]
  244. },
  245. "ListEndpointsByPlatformApplication":{
  246. "name":"ListEndpointsByPlatformApplication",
  247. "http":{
  248. "method":"POST",
  249. "requestUri":"/"
  250. },
  251. "input":{"shape":"ListEndpointsByPlatformApplicationInput"},
  252. "output":{
  253. "shape":"ListEndpointsByPlatformApplicationResponse",
  254. "resultWrapper":"ListEndpointsByPlatformApplicationResult"
  255. },
  256. "errors":[
  257. {"shape":"InvalidParameterException"},
  258. {"shape":"InternalErrorException"},
  259. {"shape":"AuthorizationErrorException"},
  260. {"shape":"NotFoundException"}
  261. ]
  262. },
  263. "ListPhoneNumbersOptedOut":{
  264. "name":"ListPhoneNumbersOptedOut",
  265. "http":{
  266. "method":"POST",
  267. "requestUri":"/"
  268. },
  269. "input":{"shape":"ListPhoneNumbersOptedOutInput"},
  270. "output":{
  271. "shape":"ListPhoneNumbersOptedOutResponse",
  272. "resultWrapper":"ListPhoneNumbersOptedOutResult"
  273. },
  274. "errors":[
  275. {"shape":"ThrottledException"},
  276. {"shape":"InternalErrorException"},
  277. {"shape":"InvalidParameterException"}
  278. ]
  279. },
  280. "ListPlatformApplications":{
  281. "name":"ListPlatformApplications",
  282. "http":{
  283. "method":"POST",
  284. "requestUri":"/"
  285. },
  286. "input":{"shape":"ListPlatformApplicationsInput"},
  287. "output":{
  288. "shape":"ListPlatformApplicationsResponse",
  289. "resultWrapper":"ListPlatformApplicationsResult"
  290. },
  291. "errors":[
  292. {"shape":"InvalidParameterException"},
  293. {"shape":"InternalErrorException"},
  294. {"shape":"AuthorizationErrorException"}
  295. ]
  296. },
  297. "ListSubscriptions":{
  298. "name":"ListSubscriptions",
  299. "http":{
  300. "method":"POST",
  301. "requestUri":"/"
  302. },
  303. "input":{"shape":"ListSubscriptionsInput"},
  304. "output":{
  305. "shape":"ListSubscriptionsResponse",
  306. "resultWrapper":"ListSubscriptionsResult"
  307. },
  308. "errors":[
  309. {"shape":"InvalidParameterException"},
  310. {"shape":"InternalErrorException"},
  311. {"shape":"AuthorizationErrorException"}
  312. ]
  313. },
  314. "ListSubscriptionsByTopic":{
  315. "name":"ListSubscriptionsByTopic",
  316. "http":{
  317. "method":"POST",
  318. "requestUri":"/"
  319. },
  320. "input":{"shape":"ListSubscriptionsByTopicInput"},
  321. "output":{
  322. "shape":"ListSubscriptionsByTopicResponse",
  323. "resultWrapper":"ListSubscriptionsByTopicResult"
  324. },
  325. "errors":[
  326. {"shape":"InvalidParameterException"},
  327. {"shape":"InternalErrorException"},
  328. {"shape":"NotFoundException"},
  329. {"shape":"AuthorizationErrorException"}
  330. ]
  331. },
  332. "ListTopics":{
  333. "name":"ListTopics",
  334. "http":{
  335. "method":"POST",
  336. "requestUri":"/"
  337. },
  338. "input":{"shape":"ListTopicsInput"},
  339. "output":{
  340. "shape":"ListTopicsResponse",
  341. "resultWrapper":"ListTopicsResult"
  342. },
  343. "errors":[
  344. {"shape":"InvalidParameterException"},
  345. {"shape":"InternalErrorException"},
  346. {"shape":"AuthorizationErrorException"}
  347. ]
  348. },
  349. "OptInPhoneNumber":{
  350. "name":"OptInPhoneNumber",
  351. "http":{
  352. "method":"POST",
  353. "requestUri":"/"
  354. },
  355. "input":{"shape":"OptInPhoneNumberInput"},
  356. "output":{
  357. "shape":"OptInPhoneNumberResponse",
  358. "resultWrapper":"OptInPhoneNumberResult"
  359. },
  360. "errors":[
  361. {"shape":"ThrottledException"},
  362. {"shape":"InternalErrorException"},
  363. {"shape":"InvalidParameterException"}
  364. ]
  365. },
  366. "Publish":{
  367. "name":"Publish",
  368. "http":{
  369. "method":"POST",
  370. "requestUri":"/"
  371. },
  372. "input":{"shape":"PublishInput"},
  373. "output":{
  374. "shape":"PublishResponse",
  375. "resultWrapper":"PublishResult"
  376. },
  377. "errors":[
  378. {"shape":"InvalidParameterException"},
  379. {"shape":"InvalidParameterValueException"},
  380. {"shape":"InternalErrorException"},
  381. {"shape":"NotFoundException"},
  382. {"shape":"EndpointDisabledException"},
  383. {"shape":"PlatformApplicationDisabledException"},
  384. {"shape":"AuthorizationErrorException"}
  385. ]
  386. },
  387. "RemovePermission":{
  388. "name":"RemovePermission",
  389. "http":{
  390. "method":"POST",
  391. "requestUri":"/"
  392. },
  393. "input":{"shape":"RemovePermissionInput"},
  394. "errors":[
  395. {"shape":"InvalidParameterException"},
  396. {"shape":"InternalErrorException"},
  397. {"shape":"AuthorizationErrorException"},
  398. {"shape":"NotFoundException"}
  399. ]
  400. },
  401. "SetEndpointAttributes":{
  402. "name":"SetEndpointAttributes",
  403. "http":{
  404. "method":"POST",
  405. "requestUri":"/"
  406. },
  407. "input":{"shape":"SetEndpointAttributesInput"},
  408. "errors":[
  409. {"shape":"InvalidParameterException"},
  410. {"shape":"InternalErrorException"},
  411. {"shape":"AuthorizationErrorException"},
  412. {"shape":"NotFoundException"}
  413. ]
  414. },
  415. "SetPlatformApplicationAttributes":{
  416. "name":"SetPlatformApplicationAttributes",
  417. "http":{
  418. "method":"POST",
  419. "requestUri":"/"
  420. },
  421. "input":{"shape":"SetPlatformApplicationAttributesInput"},
  422. "errors":[
  423. {"shape":"InvalidParameterException"},
  424. {"shape":"InternalErrorException"},
  425. {"shape":"AuthorizationErrorException"},
  426. {"shape":"NotFoundException"}
  427. ]
  428. },
  429. "SetSMSAttributes":{
  430. "name":"SetSMSAttributes",
  431. "http":{
  432. "method":"POST",
  433. "requestUri":"/"
  434. },
  435. "input":{"shape":"SetSMSAttributesInput"},
  436. "output":{
  437. "shape":"SetSMSAttributesResponse",
  438. "resultWrapper":"SetSMSAttributesResult"
  439. },
  440. "errors":[
  441. {"shape":"InvalidParameterException"},
  442. {"shape":"ThrottledException"},
  443. {"shape":"InternalErrorException"}
  444. ]
  445. },
  446. "SetSubscriptionAttributes":{
  447. "name":"SetSubscriptionAttributes",
  448. "http":{
  449. "method":"POST",
  450. "requestUri":"/"
  451. },
  452. "input":{"shape":"SetSubscriptionAttributesInput"},
  453. "errors":[
  454. {"shape":"InvalidParameterException"},
  455. {"shape":"InternalErrorException"},
  456. {"shape":"NotFoundException"},
  457. {"shape":"AuthorizationErrorException"}
  458. ]
  459. },
  460. "SetTopicAttributes":{
  461. "name":"SetTopicAttributes",
  462. "http":{
  463. "method":"POST",
  464. "requestUri":"/"
  465. },
  466. "input":{"shape":"SetTopicAttributesInput"},
  467. "errors":[
  468. {"shape":"InvalidParameterException"},
  469. {"shape":"InternalErrorException"},
  470. {"shape":"NotFoundException"},
  471. {"shape":"AuthorizationErrorException"}
  472. ]
  473. },
  474. "Subscribe":{
  475. "name":"Subscribe",
  476. "http":{
  477. "method":"POST",
  478. "requestUri":"/"
  479. },
  480. "input":{"shape":"SubscribeInput"},
  481. "output":{
  482. "shape":"SubscribeResponse",
  483. "resultWrapper":"SubscribeResult"
  484. },
  485. "errors":[
  486. {"shape":"SubscriptionLimitExceededException"},
  487. {"shape":"InvalidParameterException"},
  488. {"shape":"InternalErrorException"},
  489. {"shape":"NotFoundException"},
  490. {"shape":"AuthorizationErrorException"}
  491. ]
  492. },
  493. "Unsubscribe":{
  494. "name":"Unsubscribe",
  495. "http":{
  496. "method":"POST",
  497. "requestUri":"/"
  498. },
  499. "input":{"shape":"UnsubscribeInput"},
  500. "errors":[
  501. {"shape":"InvalidParameterException"},
  502. {"shape":"InternalErrorException"},
  503. {"shape":"AuthorizationErrorException"},
  504. {"shape":"NotFoundException"}
  505. ]
  506. }
  507. },
  508. "shapes":{
  509. "ActionsList":{
  510. "type":"list",
  511. "member":{"shape":"action"}
  512. },
  513. "AddPermissionInput":{
  514. "type":"structure",
  515. "required":[
  516. "TopicArn",
  517. "Label",
  518. "AWSAccountId",
  519. "ActionName"
  520. ],
  521. "members":{
  522. "TopicArn":{"shape":"topicARN"},
  523. "Label":{"shape":"label"},
  524. "AWSAccountId":{"shape":"DelegatesList"},
  525. "ActionName":{"shape":"ActionsList"}
  526. }
  527. },
  528. "AuthorizationErrorException":{
  529. "type":"structure",
  530. "members":{
  531. "message":{"shape":"string"}
  532. },
  533. "error":{
  534. "code":"AuthorizationError",
  535. "httpStatusCode":403,
  536. "senderFault":true
  537. },
  538. "exception":true
  539. },
  540. "Binary":{"type":"blob"},
  541. "CheckIfPhoneNumberIsOptedOutInput":{
  542. "type":"structure",
  543. "required":["phoneNumber"],
  544. "members":{
  545. "phoneNumber":{"shape":"PhoneNumber"}
  546. }
  547. },
  548. "CheckIfPhoneNumberIsOptedOutResponse":{
  549. "type":"structure",
  550. "members":{
  551. "isOptedOut":{"shape":"boolean"}
  552. }
  553. },
  554. "ConfirmSubscriptionInput":{
  555. "type":"structure",
  556. "required":[
  557. "TopicArn",
  558. "Token"
  559. ],
  560. "members":{
  561. "TopicArn":{"shape":"topicARN"},
  562. "Token":{"shape":"token"},
  563. "AuthenticateOnUnsubscribe":{"shape":"authenticateOnUnsubscribe"}
  564. }
  565. },
  566. "ConfirmSubscriptionResponse":{
  567. "type":"structure",
  568. "members":{
  569. "SubscriptionArn":{"shape":"subscriptionARN"}
  570. }
  571. },
  572. "CreateEndpointResponse":{
  573. "type":"structure",
  574. "members":{
  575. "EndpointArn":{"shape":"String"}
  576. }
  577. },
  578. "CreatePlatformApplicationInput":{
  579. "type":"structure",
  580. "required":[
  581. "Name",
  582. "Platform",
  583. "Attributes"
  584. ],
  585. "members":{
  586. "Name":{"shape":"String"},
  587. "Platform":{"shape":"String"},
  588. "Attributes":{"shape":"MapStringToString"}
  589. }
  590. },
  591. "CreatePlatformApplicationResponse":{
  592. "type":"structure",
  593. "members":{
  594. "PlatformApplicationArn":{"shape":"String"}
  595. }
  596. },
  597. "CreatePlatformEndpointInput":{
  598. "type":"structure",
  599. "required":[
  600. "PlatformApplicationArn",
  601. "Token"
  602. ],
  603. "members":{
  604. "PlatformApplicationArn":{"shape":"String"},
  605. "Token":{"shape":"String"},
  606. "CustomUserData":{"shape":"String"},
  607. "Attributes":{"shape":"MapStringToString"}
  608. }
  609. },
  610. "CreateTopicInput":{
  611. "type":"structure",
  612. "required":["Name"],
  613. "members":{
  614. "Name":{"shape":"topicName"}
  615. }
  616. },
  617. "CreateTopicResponse":{
  618. "type":"structure",
  619. "members":{
  620. "TopicArn":{"shape":"topicARN"}
  621. }
  622. },
  623. "DelegatesList":{
  624. "type":"list",
  625. "member":{"shape":"delegate"}
  626. },
  627. "DeleteEndpointInput":{
  628. "type":"structure",
  629. "required":["EndpointArn"],
  630. "members":{
  631. "EndpointArn":{"shape":"String"}
  632. }
  633. },
  634. "DeletePlatformApplicationInput":{
  635. "type":"structure",
  636. "required":["PlatformApplicationArn"],
  637. "members":{
  638. "PlatformApplicationArn":{"shape":"String"}
  639. }
  640. },
  641. "DeleteTopicInput":{
  642. "type":"structure",
  643. "required":["TopicArn"],
  644. "members":{
  645. "TopicArn":{"shape":"topicARN"}
  646. }
  647. },
  648. "Endpoint":{
  649. "type":"structure",
  650. "members":{
  651. "EndpointArn":{"shape":"String"},
  652. "Attributes":{"shape":"MapStringToString"}
  653. }
  654. },
  655. "EndpointDisabledException":{
  656. "type":"structure",
  657. "members":{
  658. "message":{"shape":"string"}
  659. },
  660. "error":{
  661. "code":"EndpointDisabled",
  662. "httpStatusCode":400,
  663. "senderFault":true
  664. },
  665. "exception":true
  666. },
  667. "GetEndpointAttributesInput":{
  668. "type":"structure",
  669. "required":["EndpointArn"],
  670. "members":{
  671. "EndpointArn":{"shape":"String"}
  672. }
  673. },
  674. "GetEndpointAttributesResponse":{
  675. "type":"structure",
  676. "members":{
  677. "Attributes":{"shape":"MapStringToString"}
  678. }
  679. },
  680. "GetPlatformApplicationAttributesInput":{
  681. "type":"structure",
  682. "required":["PlatformApplicationArn"],
  683. "members":{
  684. "PlatformApplicationArn":{"shape":"String"}
  685. }
  686. },
  687. "GetPlatformApplicationAttributesResponse":{
  688. "type":"structure",
  689. "members":{
  690. "Attributes":{"shape":"MapStringToString"}
  691. }
  692. },
  693. "GetSMSAttributesInput":{
  694. "type":"structure",
  695. "members":{
  696. "attributes":{"shape":"ListString"}
  697. }
  698. },
  699. "GetSMSAttributesResponse":{
  700. "type":"structure",
  701. "members":{
  702. "attributes":{"shape":"MapStringToString"}
  703. }
  704. },
  705. "GetSubscriptionAttributesInput":{
  706. "type":"structure",
  707. "required":["SubscriptionArn"],
  708. "members":{
  709. "SubscriptionArn":{"shape":"subscriptionARN"}
  710. }
  711. },
  712. "GetSubscriptionAttributesResponse":{
  713. "type":"structure",
  714. "members":{
  715. "Attributes":{"shape":"SubscriptionAttributesMap"}
  716. }
  717. },
  718. "GetTopicAttributesInput":{
  719. "type":"structure",
  720. "required":["TopicArn"],
  721. "members":{
  722. "TopicArn":{"shape":"topicARN"}
  723. }
  724. },
  725. "GetTopicAttributesResponse":{
  726. "type":"structure",
  727. "members":{
  728. "Attributes":{"shape":"TopicAttributesMap"}
  729. }
  730. },
  731. "InternalErrorException":{
  732. "type":"structure",
  733. "members":{
  734. "message":{"shape":"string"}
  735. },
  736. "error":{
  737. "code":"InternalError",
  738. "httpStatusCode":500
  739. },
  740. "exception":true,
  741. "fault":true
  742. },
  743. "InvalidParameterException":{
  744. "type":"structure",
  745. "members":{
  746. "message":{"shape":"string"}
  747. },
  748. "error":{
  749. "code":"InvalidParameter",
  750. "httpStatusCode":400,
  751. "senderFault":true
  752. },
  753. "exception":true
  754. },
  755. "InvalidParameterValueException":{
  756. "type":"structure",
  757. "members":{
  758. "message":{"shape":"string"}
  759. },
  760. "error":{
  761. "code":"ParameterValueInvalid",
  762. "httpStatusCode":400,
  763. "senderFault":true
  764. },
  765. "exception":true
  766. },
  767. "ListEndpointsByPlatformApplicationInput":{
  768. "type":"structure",
  769. "required":["PlatformApplicationArn"],
  770. "members":{
  771. "PlatformApplicationArn":{"shape":"String"},
  772. "NextToken":{"shape":"String"}
  773. }
  774. },
  775. "ListEndpointsByPlatformApplicationResponse":{
  776. "type":"structure",
  777. "members":{
  778. "Endpoints":{"shape":"ListOfEndpoints"},
  779. "NextToken":{"shape":"String"}
  780. }
  781. },
  782. "ListOfEndpoints":{
  783. "type":"list",
  784. "member":{"shape":"Endpoint"}
  785. },
  786. "ListOfPlatformApplications":{
  787. "type":"list",
  788. "member":{"shape":"PlatformApplication"}
  789. },
  790. "ListPhoneNumbersOptedOutInput":{
  791. "type":"structure",
  792. "members":{
  793. "nextToken":{"shape":"string"}
  794. }
  795. },
  796. "ListPhoneNumbersOptedOutResponse":{
  797. "type":"structure",
  798. "members":{
  799. "phoneNumbers":{"shape":"PhoneNumberList"},
  800. "nextToken":{"shape":"string"}
  801. }
  802. },
  803. "ListPlatformApplicationsInput":{
  804. "type":"structure",
  805. "members":{
  806. "NextToken":{"shape":"String"}
  807. }
  808. },
  809. "ListPlatformApplicationsResponse":{
  810. "type":"structure",
  811. "members":{
  812. "PlatformApplications":{"shape":"ListOfPlatformApplications"},
  813. "NextToken":{"shape":"String"}
  814. }
  815. },
  816. "ListString":{
  817. "type":"list",
  818. "member":{"shape":"String"}
  819. },
  820. "ListSubscriptionsByTopicInput":{
  821. "type":"structure",
  822. "required":["TopicArn"],
  823. "members":{
  824. "TopicArn":{"shape":"topicARN"},
  825. "NextToken":{"shape":"nextToken"}
  826. }
  827. },
  828. "ListSubscriptionsByTopicResponse":{
  829. "type":"structure",
  830. "members":{
  831. "Subscriptions":{"shape":"SubscriptionsList"},
  832. "NextToken":{"shape":"nextToken"}
  833. }
  834. },
  835. "ListSubscriptionsInput":{
  836. "type":"structure",
  837. "members":{
  838. "NextToken":{"shape":"nextToken"}
  839. }
  840. },
  841. "ListSubscriptionsResponse":{
  842. "type":"structure",
  843. "members":{
  844. "Subscriptions":{"shape":"SubscriptionsList"},
  845. "NextToken":{"shape":"nextToken"}
  846. }
  847. },
  848. "ListTopicsInput":{
  849. "type":"structure",
  850. "members":{
  851. "NextToken":{"shape":"nextToken"}
  852. }
  853. },
  854. "ListTopicsResponse":{
  855. "type":"structure",
  856. "members":{
  857. "Topics":{"shape":"TopicsList"},
  858. "NextToken":{"shape":"nextToken"}
  859. }
  860. },
  861. "MapStringToString":{
  862. "type":"map",
  863. "key":{"shape":"String"},
  864. "value":{"shape":"String"}
  865. },
  866. "MessageAttributeMap":{
  867. "type":"map",
  868. "key":{
  869. "shape":"String",
  870. "locationName":"Name"
  871. },
  872. "value":{
  873. "shape":"MessageAttributeValue",
  874. "locationName":"Value"
  875. }
  876. },
  877. "MessageAttributeValue":{
  878. "type":"structure",
  879. "required":["DataType"],
  880. "members":{
  881. "DataType":{"shape":"String"},
  882. "StringValue":{"shape":"String"},
  883. "BinaryValue":{"shape":"Binary"}
  884. }
  885. },
  886. "NotFoundException":{
  887. "type":"structure",
  888. "members":{
  889. "message":{"shape":"string"}
  890. },
  891. "error":{
  892. "code":"NotFound",
  893. "httpStatusCode":404,
  894. "senderFault":true
  895. },
  896. "exception":true
  897. },
  898. "OptInPhoneNumberInput":{
  899. "type":"structure",
  900. "required":["phoneNumber"],
  901. "members":{
  902. "phoneNumber":{"shape":"PhoneNumber"}
  903. }
  904. },
  905. "OptInPhoneNumberResponse":{
  906. "type":"structure",
  907. "members":{
  908. }
  909. },
  910. "PhoneNumber":{"type":"string"},
  911. "PhoneNumberList":{
  912. "type":"list",
  913. "member":{"shape":"PhoneNumber"}
  914. },
  915. "PlatformApplication":{
  916. "type":"structure",
  917. "members":{
  918. "PlatformApplicationArn":{"shape":"String"},
  919. "Attributes":{"shape":"MapStringToString"}
  920. }
  921. },
  922. "PlatformApplicationDisabledException":{
  923. "type":"structure",
  924. "members":{
  925. "message":{"shape":"string"}
  926. },
  927. "error":{
  928. "code":"PlatformApplicationDisabled",
  929. "httpStatusCode":400,
  930. "senderFault":true
  931. },
  932. "exception":true
  933. },
  934. "PublishInput":{
  935. "type":"structure",
  936. "required":["Message"],
  937. "members":{
  938. "TopicArn":{"shape":"topicARN"},
  939. "TargetArn":{"shape":"String"},
  940. "PhoneNumber":{"shape":"String"},
  941. "Message":{"shape":"message"},
  942. "Subject":{"shape":"subject"},
  943. "MessageStructure":{"shape":"messageStructure"},
  944. "MessageAttributes":{"shape":"MessageAttributeMap"}
  945. }
  946. },
  947. "PublishResponse":{
  948. "type":"structure",
  949. "members":{
  950. "MessageId":{"shape":"messageId"}
  951. }
  952. },
  953. "RemovePermissionInput":{
  954. "type":"structure",
  955. "required":[
  956. "TopicArn",
  957. "Label"
  958. ],
  959. "members":{
  960. "TopicArn":{"shape":"topicARN"},
  961. "Label":{"shape":"label"}
  962. }
  963. },
  964. "SetEndpointAttributesInput":{
  965. "type":"structure",
  966. "required":[
  967. "EndpointArn",
  968. "Attributes"
  969. ],
  970. "members":{
  971. "EndpointArn":{"shape":"String"},
  972. "Attributes":{"shape":"MapStringToString"}
  973. }
  974. },
  975. "SetPlatformApplicationAttributesInput":{
  976. "type":"structure",
  977. "required":[
  978. "PlatformApplicationArn",
  979. "Attributes"
  980. ],
  981. "members":{
  982. "PlatformApplicationArn":{"shape":"String"},
  983. "Attributes":{"shape":"MapStringToString"}
  984. }
  985. },
  986. "SetSMSAttributesInput":{
  987. "type":"structure",
  988. "required":["attributes"],
  989. "members":{
  990. "attributes":{"shape":"MapStringToString"}
  991. }
  992. },
  993. "SetSMSAttributesResponse":{
  994. "type":"structure",
  995. "members":{
  996. }
  997. },
  998. "SetSubscriptionAttributesInput":{
  999. "type":"structure",
  1000. "required":[
  1001. "SubscriptionArn",
  1002. "AttributeName"
  1003. ],
  1004. "members":{
  1005. "SubscriptionArn":{"shape":"subscriptionARN"},
  1006. "AttributeName":{"shape":"attributeName"},
  1007. "AttributeValue":{"shape":"attributeValue"}
  1008. }
  1009. },
  1010. "SetTopicAttributesInput":{
  1011. "type":"structure",
  1012. "required":[
  1013. "TopicArn",
  1014. "AttributeName"
  1015. ],
  1016. "members":{
  1017. "TopicArn":{"shape":"topicARN"},
  1018. "AttributeName":{"shape":"attributeName"},
  1019. "AttributeValue":{"shape":"attributeValue"}
  1020. }
  1021. },
  1022. "String":{"type":"string"},
  1023. "SubscribeInput":{
  1024. "type":"structure",
  1025. "required":[
  1026. "TopicArn",
  1027. "Protocol"
  1028. ],
  1029. "members":{
  1030. "TopicArn":{"shape":"topicARN"},
  1031. "Protocol":{"shape":"protocol"},
  1032. "Endpoint":{"shape":"endpoint"}
  1033. }
  1034. },
  1035. "SubscribeResponse":{
  1036. "type":"structure",
  1037. "members":{
  1038. "SubscriptionArn":{"shape":"subscriptionARN"}
  1039. }
  1040. },
  1041. "Subscription":{
  1042. "type":"structure",
  1043. "members":{
  1044. "SubscriptionArn":{"shape":"subscriptionARN"},
  1045. "Owner":{"shape":"account"},
  1046. "Protocol":{"shape":"protocol"},
  1047. "Endpoint":{"shape":"endpoint"},
  1048. "TopicArn":{"shape":"topicARN"}
  1049. }
  1050. },
  1051. "SubscriptionAttributesMap":{
  1052. "type":"map",
  1053. "key":{"shape":"attributeName"},
  1054. "value":{"shape":"attributeValue"}
  1055. },
  1056. "SubscriptionLimitExceededException":{
  1057. "type":"structure",
  1058. "members":{
  1059. "message":{"shape":"string"}
  1060. },
  1061. "error":{
  1062. "code":"SubscriptionLimitExceeded",
  1063. "httpStatusCode":403,
  1064. "senderFault":true
  1065. },
  1066. "exception":true
  1067. },
  1068. "SubscriptionsList":{
  1069. "type":"list",
  1070. "member":{"shape":"Subscription"}
  1071. },
  1072. "ThrottledException":{
  1073. "type":"structure",
  1074. "members":{
  1075. "message":{"shape":"string"}
  1076. },
  1077. "error":{
  1078. "code":"Throttled",
  1079. "httpStatusCode":429,
  1080. "senderFault":true
  1081. },
  1082. "exception":true
  1083. },
  1084. "Topic":{
  1085. "type":"structure",
  1086. "members":{
  1087. "TopicArn":{"shape":"topicARN"}
  1088. }
  1089. },
  1090. "TopicAttributesMap":{
  1091. "type":"map",
  1092. "key":{"shape":"attributeName"},
  1093. "value":{"shape":"attributeValue"}
  1094. },
  1095. "TopicLimitExceededException":{
  1096. "type":"structure",
  1097. "members":{
  1098. "message":{"shape":"string"}
  1099. },
  1100. "error":{
  1101. "code":"TopicLimitExceeded",
  1102. "httpStatusCode":403,
  1103. "senderFault":true
  1104. },
  1105. "exception":true
  1106. },
  1107. "TopicsList":{
  1108. "type":"list",
  1109. "member":{"shape":"Topic"}
  1110. },
  1111. "UnsubscribeInput":{
  1112. "type":"structure",
  1113. "required":["SubscriptionArn"],
  1114. "members":{
  1115. "SubscriptionArn":{"shape":"subscriptionARN"}
  1116. }
  1117. },
  1118. "account":{"type":"string"},
  1119. "action":{"type":"string"},
  1120. "attributeName":{"type":"string"},
  1121. "attributeValue":{"type":"string"},
  1122. "authenticateOnUnsubscribe":{"type":"string"},
  1123. "boolean":{"type":"boolean"},
  1124. "delegate":{"type":"string"},
  1125. "endpoint":{"type":"string"},
  1126. "label":{"type":"string"},
  1127. "message":{"type":"string"},
  1128. "messageId":{"type":"string"},
  1129. "messageStructure":{"type":"string"},
  1130. "nextToken":{"type":"string"},
  1131. "protocol":{"type":"string"},
  1132. "string":{"type":"string"},
  1133. "subject":{"type":"string"},
  1134. "subscriptionARN":{"type":"string"},
  1135. "token":{"type":"string"},
  1136. "topicARN":{"type":"string"},
  1137. "topicName":{"type":"string"}
  1138. }
  1139. }