/api/vendor/aws/aws-sdk-php/src/Aws/Sns/Resources/sns-2010-03-31.php

https://gitlab.com/x33n/respond · PHP · 1238 lines · 1223 code · 1 blank · 14 comment · 0 complexity · 9cd59084a14947a40d6dbe116d86590e MD5 · raw file

  1. <?php
  2. /**
  3. * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License").
  6. * You may not use this file except in compliance with the License.
  7. * A copy of the License is located at
  8. *
  9. * http://aws.amazon.com/apache2.0
  10. *
  11. * or in the "license" file accompanying this file. This file is distributed
  12. * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  13. * express or implied. See the License for the specific language governing
  14. * permissions and limitations under the License.
  15. */
  16. return array (
  17. 'apiVersion' => '2010-03-31',
  18. 'endpointPrefix' => 'sns',
  19. 'serviceFullName' => 'Amazon Simple Notification Service',
  20. 'serviceAbbreviation' => 'Amazon SNS',
  21. 'serviceType' => 'query',
  22. 'resultWrapped' => true,
  23. 'signatureVersion' => 'v4',
  24. 'namespace' => 'Sns',
  25. 'regions' => array(
  26. 'us-east-1' => array(
  27. 'http' => true,
  28. 'https' => true,
  29. 'hostname' => 'sns.us-east-1.amazonaws.com',
  30. ),
  31. 'us-west-1' => array(
  32. 'http' => true,
  33. 'https' => true,
  34. 'hostname' => 'sns.us-west-1.amazonaws.com',
  35. ),
  36. 'us-west-2' => array(
  37. 'http' => true,
  38. 'https' => true,
  39. 'hostname' => 'sns.us-west-2.amazonaws.com',
  40. ),
  41. 'eu-west-1' => array(
  42. 'http' => true,
  43. 'https' => true,
  44. 'hostname' => 'sns.eu-west-1.amazonaws.com',
  45. ),
  46. 'ap-northeast-1' => array(
  47. 'http' => true,
  48. 'https' => true,
  49. 'hostname' => 'sns.ap-northeast-1.amazonaws.com',
  50. ),
  51. 'ap-southeast-1' => array(
  52. 'http' => true,
  53. 'https' => true,
  54. 'hostname' => 'sns.ap-southeast-1.amazonaws.com',
  55. ),
  56. 'ap-southeast-2' => array(
  57. 'http' => true,
  58. 'https' => true,
  59. 'hostname' => 'sns.ap-southeast-2.amazonaws.com',
  60. ),
  61. 'sa-east-1' => array(
  62. 'http' => true,
  63. 'https' => true,
  64. 'hostname' => 'sns.sa-east-1.amazonaws.com',
  65. ),
  66. 'cn-north-1' => array(
  67. 'http' => true,
  68. 'https' => true,
  69. 'hostname' => 'sns.cn-north-1.amazonaws.com.cn',
  70. ),
  71. 'us-gov-west-1' => array(
  72. 'http' => true,
  73. 'https' => true,
  74. 'hostname' => 'sns.us-gov-west-1.amazonaws.com',
  75. ),
  76. ),
  77. 'operations' => array(
  78. 'AddPermission' => array(
  79. 'httpMethod' => 'POST',
  80. 'uri' => '/',
  81. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  82. 'responseClass' => 'EmptyOutput',
  83. 'responseType' => 'model',
  84. 'parameters' => array(
  85. 'Action' => array(
  86. 'static' => true,
  87. 'location' => 'aws.query',
  88. 'default' => 'AddPermission',
  89. ),
  90. 'Version' => array(
  91. 'static' => true,
  92. 'location' => 'aws.query',
  93. 'default' => '2010-03-31',
  94. ),
  95. 'TopicArn' => array(
  96. 'required' => true,
  97. 'type' => 'string',
  98. 'location' => 'aws.query',
  99. ),
  100. 'Label' => array(
  101. 'required' => true,
  102. 'type' => 'string',
  103. 'location' => 'aws.query',
  104. ),
  105. 'AWSAccountId' => array(
  106. 'required' => true,
  107. 'type' => 'array',
  108. 'location' => 'aws.query',
  109. 'sentAs' => 'AWSAccountId.member',
  110. 'items' => array(
  111. 'name' => 'delegate',
  112. 'type' => 'string',
  113. ),
  114. ),
  115. 'ActionName' => array(
  116. 'required' => true,
  117. 'type' => 'array',
  118. 'location' => 'aws.query',
  119. 'sentAs' => 'ActionName.member',
  120. 'items' => array(
  121. 'name' => 'action',
  122. 'type' => 'string',
  123. ),
  124. ),
  125. ),
  126. 'errorResponses' => array(
  127. array(
  128. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  129. 'class' => 'InvalidParameterException',
  130. ),
  131. array(
  132. 'reason' => 'Indicates an internal service error.',
  133. 'class' => 'InternalErrorException',
  134. ),
  135. array(
  136. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  137. 'class' => 'AuthorizationErrorException',
  138. ),
  139. array(
  140. 'reason' => 'Indicates that the requested resource does not exist.',
  141. 'class' => 'NotFoundException',
  142. ),
  143. ),
  144. ),
  145. 'ConfirmSubscription' => array(
  146. 'httpMethod' => 'POST',
  147. 'uri' => '/',
  148. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  149. 'responseClass' => 'ConfirmSubscriptionResponse',
  150. 'responseType' => 'model',
  151. 'parameters' => array(
  152. 'Action' => array(
  153. 'static' => true,
  154. 'location' => 'aws.query',
  155. 'default' => 'ConfirmSubscription',
  156. ),
  157. 'Version' => array(
  158. 'static' => true,
  159. 'location' => 'aws.query',
  160. 'default' => '2010-03-31',
  161. ),
  162. 'TopicArn' => array(
  163. 'required' => true,
  164. 'type' => 'string',
  165. 'location' => 'aws.query',
  166. ),
  167. 'Token' => array(
  168. 'required' => true,
  169. 'type' => 'string',
  170. 'location' => 'aws.query',
  171. ),
  172. 'AuthenticateOnUnsubscribe' => array(
  173. 'type' => 'string',
  174. 'location' => 'aws.query',
  175. ),
  176. ),
  177. 'errorResponses' => array(
  178. array(
  179. 'reason' => 'Indicates that the customer already owns the maximum allowed number of subscriptions.',
  180. 'class' => 'SubscriptionLimitExceededException',
  181. ),
  182. array(
  183. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  184. 'class' => 'InvalidParameterException',
  185. ),
  186. array(
  187. 'reason' => 'Indicates that the requested resource does not exist.',
  188. 'class' => 'NotFoundException',
  189. ),
  190. array(
  191. 'reason' => 'Indicates an internal service error.',
  192. 'class' => 'InternalErrorException',
  193. ),
  194. array(
  195. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  196. 'class' => 'AuthorizationErrorException',
  197. ),
  198. ),
  199. ),
  200. 'CreatePlatformApplication' => array(
  201. 'httpMethod' => 'POST',
  202. 'uri' => '/',
  203. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  204. 'responseClass' => 'CreatePlatformApplicationResponse',
  205. 'responseType' => 'model',
  206. 'parameters' => array(
  207. 'Action' => array(
  208. 'static' => true,
  209. 'location' => 'aws.query',
  210. 'default' => 'CreatePlatformApplication',
  211. ),
  212. 'Version' => array(
  213. 'static' => true,
  214. 'location' => 'aws.query',
  215. 'default' => '2010-03-31',
  216. ),
  217. 'Name' => array(
  218. 'required' => true,
  219. 'type' => 'string',
  220. 'location' => 'aws.query',
  221. ),
  222. 'Platform' => array(
  223. 'required' => true,
  224. 'type' => 'string',
  225. 'location' => 'aws.query',
  226. ),
  227. 'Attributes' => array(
  228. 'required' => true,
  229. 'type' => 'object',
  230. 'location' => 'aws.query',
  231. 'sentAs' => 'Attributes.entry',
  232. 'additionalProperties' => array(
  233. 'type' => 'string',
  234. 'data' => array(
  235. 'shape_name' => 'String',
  236. ),
  237. ),
  238. ),
  239. ),
  240. 'errorResponses' => array(
  241. array(
  242. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  243. 'class' => 'InvalidParameterException',
  244. ),
  245. array(
  246. 'reason' => 'Indicates an internal service error.',
  247. 'class' => 'InternalErrorException',
  248. ),
  249. array(
  250. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  251. 'class' => 'AuthorizationErrorException',
  252. ),
  253. ),
  254. ),
  255. 'CreatePlatformEndpoint' => array(
  256. 'httpMethod' => 'POST',
  257. 'uri' => '/',
  258. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  259. 'responseClass' => 'CreateEndpointResponse',
  260. 'responseType' => 'model',
  261. 'parameters' => array(
  262. 'Action' => array(
  263. 'static' => true,
  264. 'location' => 'aws.query',
  265. 'default' => 'CreatePlatformEndpoint',
  266. ),
  267. 'Version' => array(
  268. 'static' => true,
  269. 'location' => 'aws.query',
  270. 'default' => '2010-03-31',
  271. ),
  272. 'PlatformApplicationArn' => array(
  273. 'required' => true,
  274. 'type' => 'string',
  275. 'location' => 'aws.query',
  276. ),
  277. 'Token' => array(
  278. 'required' => true,
  279. 'type' => 'string',
  280. 'location' => 'aws.query',
  281. ),
  282. 'CustomUserData' => array(
  283. 'type' => 'string',
  284. 'location' => 'aws.query',
  285. ),
  286. 'Attributes' => array(
  287. 'type' => 'object',
  288. 'location' => 'aws.query',
  289. 'sentAs' => 'Attributes.entry',
  290. 'additionalProperties' => array(
  291. 'type' => 'string',
  292. 'data' => array(
  293. 'shape_name' => 'String',
  294. ),
  295. ),
  296. ),
  297. ),
  298. 'errorResponses' => array(
  299. array(
  300. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  301. 'class' => 'InvalidParameterException',
  302. ),
  303. array(
  304. 'reason' => 'Indicates an internal service error.',
  305. 'class' => 'InternalErrorException',
  306. ),
  307. array(
  308. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  309. 'class' => 'AuthorizationErrorException',
  310. ),
  311. array(
  312. 'reason' => 'Indicates that the requested resource does not exist.',
  313. 'class' => 'NotFoundException',
  314. ),
  315. ),
  316. ),
  317. 'CreateTopic' => array(
  318. 'httpMethod' => 'POST',
  319. 'uri' => '/',
  320. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  321. 'responseClass' => 'CreateTopicResponse',
  322. 'responseType' => 'model',
  323. 'parameters' => array(
  324. 'Action' => array(
  325. 'static' => true,
  326. 'location' => 'aws.query',
  327. 'default' => 'CreateTopic',
  328. ),
  329. 'Version' => array(
  330. 'static' => true,
  331. 'location' => 'aws.query',
  332. 'default' => '2010-03-31',
  333. ),
  334. 'Name' => array(
  335. 'required' => true,
  336. 'type' => 'string',
  337. 'location' => 'aws.query',
  338. ),
  339. ),
  340. 'errorResponses' => array(
  341. array(
  342. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  343. 'class' => 'InvalidParameterException',
  344. ),
  345. array(
  346. 'reason' => 'Indicates that the customer already owns the maximum allowed number of topics.',
  347. 'class' => 'TopicLimitExceededException',
  348. ),
  349. array(
  350. 'reason' => 'Indicates an internal service error.',
  351. 'class' => 'InternalErrorException',
  352. ),
  353. array(
  354. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  355. 'class' => 'AuthorizationErrorException',
  356. ),
  357. ),
  358. ),
  359. 'DeleteEndpoint' => array(
  360. 'httpMethod' => 'POST',
  361. 'uri' => '/',
  362. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  363. 'responseClass' => 'EmptyOutput',
  364. 'responseType' => 'model',
  365. 'parameters' => array(
  366. 'Action' => array(
  367. 'static' => true,
  368. 'location' => 'aws.query',
  369. 'default' => 'DeleteEndpoint',
  370. ),
  371. 'Version' => array(
  372. 'static' => true,
  373. 'location' => 'aws.query',
  374. 'default' => '2010-03-31',
  375. ),
  376. 'EndpointArn' => array(
  377. 'required' => true,
  378. 'type' => 'string',
  379. 'location' => 'aws.query',
  380. ),
  381. ),
  382. 'errorResponses' => array(
  383. array(
  384. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  385. 'class' => 'InvalidParameterException',
  386. ),
  387. array(
  388. 'reason' => 'Indicates an internal service error.',
  389. 'class' => 'InternalErrorException',
  390. ),
  391. array(
  392. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  393. 'class' => 'AuthorizationErrorException',
  394. ),
  395. ),
  396. ),
  397. 'DeletePlatformApplication' => array(
  398. 'httpMethod' => 'POST',
  399. 'uri' => '/',
  400. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  401. 'responseClass' => 'EmptyOutput',
  402. 'responseType' => 'model',
  403. 'parameters' => array(
  404. 'Action' => array(
  405. 'static' => true,
  406. 'location' => 'aws.query',
  407. 'default' => 'DeletePlatformApplication',
  408. ),
  409. 'Version' => array(
  410. 'static' => true,
  411. 'location' => 'aws.query',
  412. 'default' => '2010-03-31',
  413. ),
  414. 'PlatformApplicationArn' => array(
  415. 'required' => true,
  416. 'type' => 'string',
  417. 'location' => 'aws.query',
  418. ),
  419. ),
  420. 'errorResponses' => array(
  421. array(
  422. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  423. 'class' => 'InvalidParameterException',
  424. ),
  425. array(
  426. 'reason' => 'Indicates an internal service error.',
  427. 'class' => 'InternalErrorException',
  428. ),
  429. array(
  430. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  431. 'class' => 'AuthorizationErrorException',
  432. ),
  433. ),
  434. ),
  435. 'DeleteTopic' => array(
  436. 'httpMethod' => 'POST',
  437. 'uri' => '/',
  438. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  439. 'responseClass' => 'EmptyOutput',
  440. 'responseType' => 'model',
  441. 'parameters' => array(
  442. 'Action' => array(
  443. 'static' => true,
  444. 'location' => 'aws.query',
  445. 'default' => 'DeleteTopic',
  446. ),
  447. 'Version' => array(
  448. 'static' => true,
  449. 'location' => 'aws.query',
  450. 'default' => '2010-03-31',
  451. ),
  452. 'TopicArn' => array(
  453. 'required' => true,
  454. 'type' => 'string',
  455. 'location' => 'aws.query',
  456. ),
  457. ),
  458. 'errorResponses' => array(
  459. array(
  460. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  461. 'class' => 'InvalidParameterException',
  462. ),
  463. array(
  464. 'reason' => 'Indicates an internal service error.',
  465. 'class' => 'InternalErrorException',
  466. ),
  467. array(
  468. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  469. 'class' => 'AuthorizationErrorException',
  470. ),
  471. array(
  472. 'reason' => 'Indicates that the requested resource does not exist.',
  473. 'class' => 'NotFoundException',
  474. ),
  475. ),
  476. ),
  477. 'GetEndpointAttributes' => array(
  478. 'httpMethod' => 'POST',
  479. 'uri' => '/',
  480. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  481. 'responseClass' => 'GetEndpointAttributesResponse',
  482. 'responseType' => 'model',
  483. 'parameters' => array(
  484. 'Action' => array(
  485. 'static' => true,
  486. 'location' => 'aws.query',
  487. 'default' => 'GetEndpointAttributes',
  488. ),
  489. 'Version' => array(
  490. 'static' => true,
  491. 'location' => 'aws.query',
  492. 'default' => '2010-03-31',
  493. ),
  494. 'EndpointArn' => array(
  495. 'required' => true,
  496. 'type' => 'string',
  497. 'location' => 'aws.query',
  498. ),
  499. ),
  500. 'errorResponses' => array(
  501. array(
  502. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  503. 'class' => 'InvalidParameterException',
  504. ),
  505. array(
  506. 'reason' => 'Indicates an internal service error.',
  507. 'class' => 'InternalErrorException',
  508. ),
  509. array(
  510. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  511. 'class' => 'AuthorizationErrorException',
  512. ),
  513. array(
  514. 'reason' => 'Indicates that the requested resource does not exist.',
  515. 'class' => 'NotFoundException',
  516. ),
  517. ),
  518. ),
  519. 'GetPlatformApplicationAttributes' => array(
  520. 'httpMethod' => 'POST',
  521. 'uri' => '/',
  522. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  523. 'responseClass' => 'GetPlatformApplicationAttributesResponse',
  524. 'responseType' => 'model',
  525. 'parameters' => array(
  526. 'Action' => array(
  527. 'static' => true,
  528. 'location' => 'aws.query',
  529. 'default' => 'GetPlatformApplicationAttributes',
  530. ),
  531. 'Version' => array(
  532. 'static' => true,
  533. 'location' => 'aws.query',
  534. 'default' => '2010-03-31',
  535. ),
  536. 'PlatformApplicationArn' => array(
  537. 'required' => true,
  538. 'type' => 'string',
  539. 'location' => 'aws.query',
  540. ),
  541. ),
  542. 'errorResponses' => array(
  543. array(
  544. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  545. 'class' => 'InvalidParameterException',
  546. ),
  547. array(
  548. 'reason' => 'Indicates an internal service error.',
  549. 'class' => 'InternalErrorException',
  550. ),
  551. array(
  552. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  553. 'class' => 'AuthorizationErrorException',
  554. ),
  555. array(
  556. 'reason' => 'Indicates that the requested resource does not exist.',
  557. 'class' => 'NotFoundException',
  558. ),
  559. ),
  560. ),
  561. 'GetSubscriptionAttributes' => array(
  562. 'httpMethod' => 'POST',
  563. 'uri' => '/',
  564. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  565. 'responseClass' => 'GetSubscriptionAttributesResponse',
  566. 'responseType' => 'model',
  567. 'parameters' => array(
  568. 'Action' => array(
  569. 'static' => true,
  570. 'location' => 'aws.query',
  571. 'default' => 'GetSubscriptionAttributes',
  572. ),
  573. 'Version' => array(
  574. 'static' => true,
  575. 'location' => 'aws.query',
  576. 'default' => '2010-03-31',
  577. ),
  578. 'SubscriptionArn' => array(
  579. 'required' => true,
  580. 'type' => 'string',
  581. 'location' => 'aws.query',
  582. ),
  583. ),
  584. 'errorResponses' => array(
  585. array(
  586. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  587. 'class' => 'InvalidParameterException',
  588. ),
  589. array(
  590. 'reason' => 'Indicates an internal service error.',
  591. 'class' => 'InternalErrorException',
  592. ),
  593. array(
  594. 'reason' => 'Indicates that the requested resource does not exist.',
  595. 'class' => 'NotFoundException',
  596. ),
  597. array(
  598. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  599. 'class' => 'AuthorizationErrorException',
  600. ),
  601. ),
  602. ),
  603. 'GetTopicAttributes' => array(
  604. 'httpMethod' => 'POST',
  605. 'uri' => '/',
  606. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  607. 'responseClass' => 'GetTopicAttributesResponse',
  608. 'responseType' => 'model',
  609. 'parameters' => array(
  610. 'Action' => array(
  611. 'static' => true,
  612. 'location' => 'aws.query',
  613. 'default' => 'GetTopicAttributes',
  614. ),
  615. 'Version' => array(
  616. 'static' => true,
  617. 'location' => 'aws.query',
  618. 'default' => '2010-03-31',
  619. ),
  620. 'TopicArn' => array(
  621. 'required' => true,
  622. 'type' => 'string',
  623. 'location' => 'aws.query',
  624. ),
  625. ),
  626. 'errorResponses' => array(
  627. array(
  628. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  629. 'class' => 'InvalidParameterException',
  630. ),
  631. array(
  632. 'reason' => 'Indicates an internal service error.',
  633. 'class' => 'InternalErrorException',
  634. ),
  635. array(
  636. 'reason' => 'Indicates that the requested resource does not exist.',
  637. 'class' => 'NotFoundException',
  638. ),
  639. array(
  640. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  641. 'class' => 'AuthorizationErrorException',
  642. ),
  643. ),
  644. ),
  645. 'ListEndpointsByPlatformApplication' => array(
  646. 'httpMethod' => 'POST',
  647. 'uri' => '/',
  648. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  649. 'responseClass' => 'ListEndpointsByPlatformApplicationResponse',
  650. 'responseType' => 'model',
  651. 'parameters' => array(
  652. 'Action' => array(
  653. 'static' => true,
  654. 'location' => 'aws.query',
  655. 'default' => 'ListEndpointsByPlatformApplication',
  656. ),
  657. 'Version' => array(
  658. 'static' => true,
  659. 'location' => 'aws.query',
  660. 'default' => '2010-03-31',
  661. ),
  662. 'PlatformApplicationArn' => array(
  663. 'required' => true,
  664. 'type' => 'string',
  665. 'location' => 'aws.query',
  666. ),
  667. 'NextToken' => array(
  668. 'type' => 'string',
  669. 'location' => 'aws.query',
  670. ),
  671. ),
  672. 'errorResponses' => array(
  673. array(
  674. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  675. 'class' => 'InvalidParameterException',
  676. ),
  677. array(
  678. 'reason' => 'Indicates an internal service error.',
  679. 'class' => 'InternalErrorException',
  680. ),
  681. array(
  682. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  683. 'class' => 'AuthorizationErrorException',
  684. ),
  685. array(
  686. 'reason' => 'Indicates that the requested resource does not exist.',
  687. 'class' => 'NotFoundException',
  688. ),
  689. ),
  690. ),
  691. 'ListPlatformApplications' => array(
  692. 'httpMethod' => 'POST',
  693. 'uri' => '/',
  694. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  695. 'responseClass' => 'ListPlatformApplicationsResponse',
  696. 'responseType' => 'model',
  697. 'parameters' => array(
  698. 'Action' => array(
  699. 'static' => true,
  700. 'location' => 'aws.query',
  701. 'default' => 'ListPlatformApplications',
  702. ),
  703. 'Version' => array(
  704. 'static' => true,
  705. 'location' => 'aws.query',
  706. 'default' => '2010-03-31',
  707. ),
  708. 'NextToken' => array(
  709. 'type' => 'string',
  710. 'location' => 'aws.query',
  711. ),
  712. ),
  713. 'errorResponses' => array(
  714. array(
  715. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  716. 'class' => 'InvalidParameterException',
  717. ),
  718. array(
  719. 'reason' => 'Indicates an internal service error.',
  720. 'class' => 'InternalErrorException',
  721. ),
  722. array(
  723. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  724. 'class' => 'AuthorizationErrorException',
  725. ),
  726. ),
  727. ),
  728. 'ListSubscriptions' => array(
  729. 'httpMethod' => 'POST',
  730. 'uri' => '/',
  731. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  732. 'responseClass' => 'ListSubscriptionsResponse',
  733. 'responseType' => 'model',
  734. 'parameters' => array(
  735. 'Action' => array(
  736. 'static' => true,
  737. 'location' => 'aws.query',
  738. 'default' => 'ListSubscriptions',
  739. ),
  740. 'Version' => array(
  741. 'static' => true,
  742. 'location' => 'aws.query',
  743. 'default' => '2010-03-31',
  744. ),
  745. 'NextToken' => array(
  746. 'type' => 'string',
  747. 'location' => 'aws.query',
  748. ),
  749. ),
  750. 'errorResponses' => array(
  751. array(
  752. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  753. 'class' => 'InvalidParameterException',
  754. ),
  755. array(
  756. 'reason' => 'Indicates an internal service error.',
  757. 'class' => 'InternalErrorException',
  758. ),
  759. array(
  760. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  761. 'class' => 'AuthorizationErrorException',
  762. ),
  763. ),
  764. ),
  765. 'ListSubscriptionsByTopic' => array(
  766. 'httpMethod' => 'POST',
  767. 'uri' => '/',
  768. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  769. 'responseClass' => 'ListSubscriptionsByTopicResponse',
  770. 'responseType' => 'model',
  771. 'parameters' => array(
  772. 'Action' => array(
  773. 'static' => true,
  774. 'location' => 'aws.query',
  775. 'default' => 'ListSubscriptionsByTopic',
  776. ),
  777. 'Version' => array(
  778. 'static' => true,
  779. 'location' => 'aws.query',
  780. 'default' => '2010-03-31',
  781. ),
  782. 'TopicArn' => array(
  783. 'required' => true,
  784. 'type' => 'string',
  785. 'location' => 'aws.query',
  786. ),
  787. 'NextToken' => array(
  788. 'type' => 'string',
  789. 'location' => 'aws.query',
  790. ),
  791. ),
  792. 'errorResponses' => array(
  793. array(
  794. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  795. 'class' => 'InvalidParameterException',
  796. ),
  797. array(
  798. 'reason' => 'Indicates an internal service error.',
  799. 'class' => 'InternalErrorException',
  800. ),
  801. array(
  802. 'reason' => 'Indicates that the requested resource does not exist.',
  803. 'class' => 'NotFoundException',
  804. ),
  805. array(
  806. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  807. 'class' => 'AuthorizationErrorException',
  808. ),
  809. ),
  810. ),
  811. 'ListTopics' => array(
  812. 'httpMethod' => 'POST',
  813. 'uri' => '/',
  814. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  815. 'responseClass' => 'ListTopicsResponse',
  816. 'responseType' => 'model',
  817. 'parameters' => array(
  818. 'Action' => array(
  819. 'static' => true,
  820. 'location' => 'aws.query',
  821. 'default' => 'ListTopics',
  822. ),
  823. 'Version' => array(
  824. 'static' => true,
  825. 'location' => 'aws.query',
  826. 'default' => '2010-03-31',
  827. ),
  828. 'NextToken' => array(
  829. 'type' => 'string',
  830. 'location' => 'aws.query',
  831. ),
  832. ),
  833. 'errorResponses' => array(
  834. array(
  835. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  836. 'class' => 'InvalidParameterException',
  837. ),
  838. array(
  839. 'reason' => 'Indicates an internal service error.',
  840. 'class' => 'InternalErrorException',
  841. ),
  842. array(
  843. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  844. 'class' => 'AuthorizationErrorException',
  845. ),
  846. ),
  847. ),
  848. 'Publish' => array(
  849. 'httpMethod' => 'POST',
  850. 'uri' => '/',
  851. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  852. 'responseClass' => 'PublishResponse',
  853. 'responseType' => 'model',
  854. 'parameters' => array(
  855. 'Action' => array(
  856. 'static' => true,
  857. 'location' => 'aws.query',
  858. 'default' => 'Publish',
  859. ),
  860. 'Version' => array(
  861. 'static' => true,
  862. 'location' => 'aws.query',
  863. 'default' => '2010-03-31',
  864. ),
  865. 'TopicArn' => array(
  866. 'type' => 'string',
  867. 'location' => 'aws.query',
  868. ),
  869. 'TargetArn' => array(
  870. 'type' => 'string',
  871. 'location' => 'aws.query',
  872. ),
  873. 'Message' => array(
  874. 'required' => true,
  875. 'type' => 'string',
  876. 'location' => 'aws.query',
  877. ),
  878. 'Subject' => array(
  879. 'type' => 'string',
  880. 'location' => 'aws.query',
  881. ),
  882. 'MessageStructure' => array(
  883. 'type' => 'string',
  884. 'location' => 'aws.query',
  885. ),
  886. 'MessageAttributes' => array(
  887. 'type' => 'object',
  888. 'location' => 'aws.query',
  889. 'sentAs' => 'MessageAttributes.entry',
  890. 'data' => array(
  891. 'keyName' => 'Name',
  892. 'valueName' => 'Value',
  893. ),
  894. 'additionalProperties' => array(
  895. 'type' => 'object',
  896. 'data' => array(
  897. 'shape_name' => 'String',
  898. ),
  899. 'properties' => array(
  900. 'DataType' => array(
  901. 'required' => true,
  902. 'type' => 'string',
  903. ),
  904. 'StringValue' => array(
  905. 'type' => 'string',
  906. ),
  907. 'BinaryValue' => array(
  908. 'type' => 'string',
  909. ),
  910. ),
  911. ),
  912. ),
  913. ),
  914. 'errorResponses' => array(
  915. array(
  916. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  917. 'class' => 'InvalidParameterException',
  918. ),
  919. array(
  920. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  921. 'class' => 'InvalidParameterValueException',
  922. ),
  923. array(
  924. 'reason' => 'Indicates an internal service error.',
  925. 'class' => 'InternalErrorException',
  926. ),
  927. array(
  928. 'reason' => 'Indicates that the requested resource does not exist.',
  929. 'class' => 'NotFoundException',
  930. ),
  931. array(
  932. 'reason' => 'Exception error indicating endpoint disabled.',
  933. 'class' => 'EndpointDisabledException',
  934. ),
  935. array(
  936. 'reason' => 'Exception error indicating platform application disabled.',
  937. 'class' => 'PlatformApplicationDisabledException',
  938. ),
  939. array(
  940. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  941. 'class' => 'AuthorizationErrorException',
  942. ),
  943. ),
  944. ),
  945. 'RemovePermission' => array(
  946. 'httpMethod' => 'POST',
  947. 'uri' => '/',
  948. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  949. 'responseClass' => 'EmptyOutput',
  950. 'responseType' => 'model',
  951. 'parameters' => array(
  952. 'Action' => array(
  953. 'static' => true,
  954. 'location' => 'aws.query',
  955. 'default' => 'RemovePermission',
  956. ),
  957. 'Version' => array(
  958. 'static' => true,
  959. 'location' => 'aws.query',
  960. 'default' => '2010-03-31',
  961. ),
  962. 'TopicArn' => array(
  963. 'required' => true,
  964. 'type' => 'string',
  965. 'location' => 'aws.query',
  966. ),
  967. 'Label' => array(
  968. 'required' => true,
  969. 'type' => 'string',
  970. 'location' => 'aws.query',
  971. ),
  972. ),
  973. 'errorResponses' => array(
  974. array(
  975. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  976. 'class' => 'InvalidParameterException',
  977. ),
  978. array(
  979. 'reason' => 'Indicates an internal service error.',
  980. 'class' => 'InternalErrorException',
  981. ),
  982. array(
  983. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  984. 'class' => 'AuthorizationErrorException',
  985. ),
  986. array(
  987. 'reason' => 'Indicates that the requested resource does not exist.',
  988. 'class' => 'NotFoundException',
  989. ),
  990. ),
  991. ),
  992. 'SetEndpointAttributes' => array(
  993. 'httpMethod' => 'POST',
  994. 'uri' => '/',
  995. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  996. 'responseClass' => 'EmptyOutput',
  997. 'responseType' => 'model',
  998. 'parameters' => array(
  999. 'Action' => array(
  1000. 'static' => true,
  1001. 'location' => 'aws.query',
  1002. 'default' => 'SetEndpointAttributes',
  1003. ),
  1004. 'Version' => array(
  1005. 'static' => true,
  1006. 'location' => 'aws.query',
  1007. 'default' => '2010-03-31',
  1008. ),
  1009. 'EndpointArn' => array(
  1010. 'required' => true,
  1011. 'type' => 'string',
  1012. 'location' => 'aws.query',
  1013. ),
  1014. 'Attributes' => array(
  1015. 'required' => true,
  1016. 'type' => 'object',
  1017. 'location' => 'aws.query',
  1018. 'sentAs' => 'Attributes.entry',
  1019. 'additionalProperties' => array(
  1020. 'type' => 'string',
  1021. 'data' => array(
  1022. 'shape_name' => 'String',
  1023. ),
  1024. ),
  1025. ),
  1026. ),
  1027. 'errorResponses' => array(
  1028. array(
  1029. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  1030. 'class' => 'InvalidParameterException',
  1031. ),
  1032. array(
  1033. 'reason' => 'Indicates an internal service error.',
  1034. 'class' => 'InternalErrorException',
  1035. ),
  1036. array(
  1037. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  1038. 'class' => 'AuthorizationErrorException',
  1039. ),
  1040. array(
  1041. 'reason' => 'Indicates that the requested resource does not exist.',
  1042. 'class' => 'NotFoundException',
  1043. ),
  1044. ),
  1045. ),
  1046. 'SetPlatformApplicationAttributes' => array(
  1047. 'httpMethod' => 'POST',
  1048. 'uri' => '/',
  1049. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1050. 'responseClass' => 'EmptyOutput',
  1051. 'responseType' => 'model',
  1052. 'parameters' => array(
  1053. 'Action' => array(
  1054. 'static' => true,
  1055. 'location' => 'aws.query',
  1056. 'default' => 'SetPlatformApplicationAttributes',
  1057. ),
  1058. 'Version' => array(
  1059. 'static' => true,
  1060. 'location' => 'aws.query',
  1061. 'default' => '2010-03-31',
  1062. ),
  1063. 'PlatformApplicationArn' => array(
  1064. 'required' => true,
  1065. 'type' => 'string',
  1066. 'location' => 'aws.query',
  1067. ),
  1068. 'Attributes' => array(
  1069. 'required' => true,
  1070. 'type' => 'object',
  1071. 'location' => 'aws.query',
  1072. 'sentAs' => 'Attributes.entry',
  1073. 'additionalProperties' => array(
  1074. 'type' => 'string',
  1075. 'data' => array(
  1076. 'shape_name' => 'String',
  1077. ),
  1078. ),
  1079. ),
  1080. ),
  1081. 'errorResponses' => array(
  1082. array(
  1083. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  1084. 'class' => 'InvalidParameterException',
  1085. ),
  1086. array(
  1087. 'reason' => 'Indicates an internal service error.',
  1088. 'class' => 'InternalErrorException',
  1089. ),
  1090. array(
  1091. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  1092. 'class' => 'AuthorizationErrorException',
  1093. ),
  1094. array(
  1095. 'reason' => 'Indicates that the requested resource does not exist.',
  1096. 'class' => 'NotFoundException',
  1097. ),
  1098. ),
  1099. ),
  1100. 'SetSubscriptionAttributes' => array(
  1101. 'httpMethod' => 'POST',
  1102. 'uri' => '/',
  1103. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1104. 'responseClass' => 'EmptyOutput',
  1105. 'responseType' => 'model',
  1106. 'parameters' => array(
  1107. 'Action' => array(
  1108. 'static' => true,
  1109. 'location' => 'aws.query',
  1110. 'default' => 'SetSubscriptionAttributes',
  1111. ),
  1112. 'Version' => array(
  1113. 'static' => true,
  1114. 'location' => 'aws.query',
  1115. 'default' => '2010-03-31',
  1116. ),
  1117. 'SubscriptionArn' => array(
  1118. 'required' => true,
  1119. 'type' => 'string',
  1120. 'location' => 'aws.query',
  1121. ),
  1122. 'AttributeName' => array(
  1123. 'required' => true,
  1124. 'type' => 'string',
  1125. 'location' => 'aws.query',
  1126. ),
  1127. 'AttributeValue' => array(
  1128. 'type' => 'string',
  1129. 'location' => 'aws.query',
  1130. ),
  1131. ),
  1132. 'errorResponses' => array(
  1133. array(
  1134. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  1135. 'class' => 'InvalidParameterException',
  1136. ),
  1137. array(
  1138. 'reason' => 'Indicates an internal service error.',
  1139. 'class' => 'InternalErrorException',
  1140. ),
  1141. array(
  1142. 'reason' => 'Indicates that the requested resource does not exist.',
  1143. 'class' => 'NotFoundException',
  1144. ),
  1145. array(
  1146. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  1147. 'class' => 'AuthorizationErrorException',
  1148. ),
  1149. ),
  1150. ),
  1151. 'SetTopicAttributes' => array(
  1152. 'httpMethod' => 'POST',
  1153. 'uri' => '/',
  1154. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1155. 'responseClass' => 'EmptyOutput',
  1156. 'responseType' => 'model',
  1157. 'parameters' => array(
  1158. 'Action' => array(
  1159. 'static' => true,
  1160. 'location' => 'aws.query',
  1161. 'default' => 'SetTopicAttributes',
  1162. ),
  1163. 'Version' => array(
  1164. 'static' => true,
  1165. 'location' => 'aws.query',
  1166. 'default' => '2010-03-31',
  1167. ),
  1168. 'TopicArn' => array(
  1169. 'required' => true,
  1170. 'type' => 'string',
  1171. 'location' => 'aws.query',
  1172. ),
  1173. 'AttributeName' => array(
  1174. 'required' => true,
  1175. 'type' => 'string',
  1176. 'location' => 'aws.query',
  1177. ),
  1178. 'AttributeValue' => array(
  1179. 'type' => 'string',
  1180. 'location' => 'aws.query',
  1181. ),
  1182. ),
  1183. 'errorResponses' => array(
  1184. array(
  1185. 'reason' => 'Indicates that a request parameter does not comply with the associated constraints.',
  1186. 'class' => 'InvalidParameterException',
  1187. ),
  1188. array(
  1189. 'reason' => 'Indicates an internal service error.',
  1190. 'class' => 'InternalErrorException',
  1191. ),
  1192. array(
  1193. 'reason' => 'Indicates that the requested resource does not exist.',
  1194. 'class' => 'NotFoundException',
  1195. ),
  1196. array(
  1197. 'reason' => 'Indicates that the user has been denied access to the requested resource.',
  1198. 'class' => 'AuthorizationErrorException',
  1199. ),
  1200. ),
  1201. ),
  1202. 'Subscribe' => array(
  1203. 'httpMethod' => 'POST',
  1204. 'uri' => '/',
  1205. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1206. 'responseClass' => 'SubscribeResponse',
  1207. 'responseType' => 'model',
  1208. 'parameters' => array(
  1209. 'Action' => array(
  1210. 'static' => true,
  1211. 'location' => 'aws.query',
  1212. 'default' => 'Subscribe',
  1213. ),
  1214. 'Version' => array(
  1215. 'static' => true,
  1216. 'location' => 'aws.query',
  1217. 'default' => '2010-03-31',
  1218. ),
  1219. 'TopicArn' => array(
  1220. 'required' => true,
  1221. 'type' => 'string',
  1222. 'location' => 'aws.query',
  1223. ),
  1224. 'Protocol' => array(
  1225. 'required' => true,
  1226. 'type' => 'string',
  1227. 'location' => 'aws.query',
  1228. ),
  1229. 'Endpoint' => array(
  1230. 'type' => 'string',
  1231. 'location' => 'aws.query',
  1232. ),
  1233. ),
  1234. 'errorResponses' => array(
  1235. array(
  1236. 'reason' => 'Indicates that the customer already owns the maximum allowed number of subscriptions.',
  1237. 'class' => 'Subscripti