/api/vendor/aws/aws-sdk-php/src/Aws/Sqs/Resources/sqs-2012-11-05.php

https://gitlab.com/x33n/respond · PHP · 1223 lines · 1207 code · 2 blank · 14 comment · 0 complexity · 594b699669bcf8ef2f890f841c657c63 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' => '2012-11-05',
  18. 'endpointPrefix' => 'sqs',
  19. 'serviceFullName' => 'Amazon Simple Queue Service',
  20. 'serviceAbbreviation' => 'Amazon SQS',
  21. 'serviceType' => 'query',
  22. 'resultWrapped' => true,
  23. 'signatureVersion' => 'v4',
  24. 'namespace' => 'Sqs',
  25. 'regions' => array(
  26. 'us-east-1' => array(
  27. 'http' => true,
  28. 'https' => true,
  29. 'hostname' => 'sqs.us-east-1.amazonaws.com',
  30. ),
  31. 'us-west-1' => array(
  32. 'http' => true,
  33. 'https' => true,
  34. 'hostname' => 'sqs.us-west-1.amazonaws.com',
  35. ),
  36. 'us-west-2' => array(
  37. 'http' => true,
  38. 'https' => true,
  39. 'hostname' => 'sqs.us-west-2.amazonaws.com',
  40. ),
  41. 'eu-west-1' => array(
  42. 'http' => true,
  43. 'https' => true,
  44. 'hostname' => 'sqs.eu-west-1.amazonaws.com',
  45. ),
  46. 'ap-northeast-1' => array(
  47. 'http' => true,
  48. 'https' => true,
  49. 'hostname' => 'sqs.ap-northeast-1.amazonaws.com',
  50. ),
  51. 'ap-southeast-1' => array(
  52. 'http' => true,
  53. 'https' => true,
  54. 'hostname' => 'sqs.ap-southeast-1.amazonaws.com',
  55. ),
  56. 'ap-southeast-2' => array(
  57. 'http' => true,
  58. 'https' => true,
  59. 'hostname' => 'sqs.ap-southeast-2.amazonaws.com',
  60. ),
  61. 'sa-east-1' => array(
  62. 'http' => true,
  63. 'https' => true,
  64. 'hostname' => 'sqs.sa-east-1.amazonaws.com',
  65. ),
  66. 'cn-north-1' => array(
  67. 'http' => true,
  68. 'https' => true,
  69. 'hostname' => 'sqs.cn-north-1.amazonaws.com.cn',
  70. ),
  71. 'us-gov-west-1' => array(
  72. 'http' => true,
  73. 'https' => true,
  74. 'hostname' => 'sqs.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' => '2012-11-05',
  94. ),
  95. 'QueueUrl' => 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. 'AWSAccountIds' => array(
  106. 'required' => true,
  107. 'type' => 'array',
  108. 'location' => 'aws.query',
  109. 'sentAs' => 'AWSAccountId',
  110. 'items' => array(
  111. 'name' => 'AWSAccountId',
  112. 'type' => 'string',
  113. ),
  114. ),
  115. 'Actions' => array(
  116. 'required' => true,
  117. 'type' => 'array',
  118. 'location' => 'aws.query',
  119. 'sentAs' => 'ActionName',
  120. 'items' => array(
  121. 'name' => 'ActionName',
  122. 'type' => 'string',
  123. ),
  124. ),
  125. ),
  126. 'errorResponses' => array(
  127. array(
  128. 'reason' => 'The action that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. AddPermission returns this error if the maximum number of permissions for the queue has already been reached.',
  129. 'class' => 'OverLimitException',
  130. ),
  131. ),
  132. ),
  133. 'ChangeMessageVisibility' => array(
  134. 'httpMethod' => 'POST',
  135. 'uri' => '/',
  136. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  137. 'responseClass' => 'EmptyOutput',
  138. 'responseType' => 'model',
  139. 'parameters' => array(
  140. 'Action' => array(
  141. 'static' => true,
  142. 'location' => 'aws.query',
  143. 'default' => 'ChangeMessageVisibility',
  144. ),
  145. 'Version' => array(
  146. 'static' => true,
  147. 'location' => 'aws.query',
  148. 'default' => '2012-11-05',
  149. ),
  150. 'QueueUrl' => array(
  151. 'required' => true,
  152. 'type' => 'string',
  153. 'location' => 'aws.query',
  154. ),
  155. 'ReceiptHandle' => array(
  156. 'required' => true,
  157. 'type' => 'string',
  158. 'location' => 'aws.query',
  159. ),
  160. 'VisibilityTimeout' => array(
  161. 'required' => true,
  162. 'type' => 'numeric',
  163. 'location' => 'aws.query',
  164. ),
  165. ),
  166. 'errorResponses' => array(
  167. array(
  168. 'reason' => 'The message referred to is not in flight.',
  169. 'class' => 'MessageNotInflightException',
  170. ),
  171. array(
  172. 'reason' => 'The receipt handle provided is not valid.',
  173. 'class' => 'ReceiptHandleIsInvalidException',
  174. ),
  175. ),
  176. ),
  177. 'ChangeMessageVisibilityBatch' => array(
  178. 'httpMethod' => 'POST',
  179. 'uri' => '/',
  180. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  181. 'responseClass' => 'ChangeMessageVisibilityBatchResult',
  182. 'responseType' => 'model',
  183. 'parameters' => array(
  184. 'Action' => array(
  185. 'static' => true,
  186. 'location' => 'aws.query',
  187. 'default' => 'ChangeMessageVisibilityBatch',
  188. ),
  189. 'Version' => array(
  190. 'static' => true,
  191. 'location' => 'aws.query',
  192. 'default' => '2012-11-05',
  193. ),
  194. 'QueueUrl' => array(
  195. 'required' => true,
  196. 'type' => 'string',
  197. 'location' => 'aws.query',
  198. ),
  199. 'Entries' => array(
  200. 'required' => true,
  201. 'type' => 'array',
  202. 'location' => 'aws.query',
  203. 'sentAs' => 'ChangeMessageVisibilityBatchRequestEntry',
  204. 'items' => array(
  205. 'name' => 'ChangeMessageVisibilityBatchRequestEntry',
  206. 'type' => 'object',
  207. 'properties' => array(
  208. 'Id' => array(
  209. 'required' => true,
  210. 'type' => 'string',
  211. ),
  212. 'ReceiptHandle' => array(
  213. 'required' => true,
  214. 'type' => 'string',
  215. ),
  216. 'VisibilityTimeout' => array(
  217. 'type' => 'numeric',
  218. ),
  219. ),
  220. ),
  221. ),
  222. ),
  223. 'errorResponses' => array(
  224. array(
  225. 'reason' => 'Batch request contains more number of entries than permissible.',
  226. 'class' => 'TooManyEntriesInBatchRequestException',
  227. ),
  228. array(
  229. 'reason' => 'Batch request does not contain an entry.',
  230. 'class' => 'EmptyBatchRequestException',
  231. ),
  232. array(
  233. 'reason' => 'Two or more batch entries have the same Id in the request.',
  234. 'class' => 'BatchEntryIdsNotDistinctException',
  235. ),
  236. array(
  237. 'reason' => 'The Id of a batch entry in a batch request does not abide by the specification.',
  238. 'class' => 'InvalidBatchEntryIdException',
  239. ),
  240. ),
  241. ),
  242. 'CreateQueue' => array(
  243. 'httpMethod' => 'POST',
  244. 'uri' => '/',
  245. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  246. 'responseClass' => 'CreateQueueResult',
  247. 'responseType' => 'model',
  248. 'parameters' => array(
  249. 'Action' => array(
  250. 'static' => true,
  251. 'location' => 'aws.query',
  252. 'default' => 'CreateQueue',
  253. ),
  254. 'Version' => array(
  255. 'static' => true,
  256. 'location' => 'aws.query',
  257. 'default' => '2012-11-05',
  258. ),
  259. 'QueueName' => array(
  260. 'required' => true,
  261. 'type' => 'string',
  262. 'location' => 'aws.query',
  263. ),
  264. 'Attributes' => array(
  265. 'type' => 'object',
  266. 'location' => 'aws.query',
  267. 'sentAs' => 'Attribute',
  268. 'data' => array(
  269. 'keyName' => 'Name',
  270. 'valueName' => 'Value',
  271. ),
  272. 'additionalProperties' => array(
  273. 'type' => 'string',
  274. 'data' => array(
  275. 'shape_name' => 'QueueAttributeName',
  276. ),
  277. ),
  278. ),
  279. ),
  280. 'errorResponses' => array(
  281. array(
  282. 'reason' => 'You must wait 60 seconds after deleting a queue before you can create another with the same name.',
  283. 'class' => 'QueueDeletedRecentlyException',
  284. ),
  285. array(
  286. 'reason' => 'A queue already exists with this name. Amazon SQS returns this error only if the request includes attributes whose values differ from those of the existing queue.',
  287. 'class' => 'QueueNameExistsException',
  288. ),
  289. ),
  290. ),
  291. 'DeleteMessage' => array(
  292. 'httpMethod' => 'POST',
  293. 'uri' => '/',
  294. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  295. 'responseClass' => 'EmptyOutput',
  296. 'responseType' => 'model',
  297. 'parameters' => array(
  298. 'Action' => array(
  299. 'static' => true,
  300. 'location' => 'aws.query',
  301. 'default' => 'DeleteMessage',
  302. ),
  303. 'Version' => array(
  304. 'static' => true,
  305. 'location' => 'aws.query',
  306. 'default' => '2012-11-05',
  307. ),
  308. 'QueueUrl' => array(
  309. 'required' => true,
  310. 'type' => 'string',
  311. 'location' => 'aws.query',
  312. ),
  313. 'ReceiptHandle' => array(
  314. 'required' => true,
  315. 'type' => 'string',
  316. 'location' => 'aws.query',
  317. ),
  318. ),
  319. 'errorResponses' => array(
  320. array(
  321. 'reason' => 'The receipt handle is not valid for the current version.',
  322. 'class' => 'InvalidIdFormatException',
  323. ),
  324. array(
  325. 'reason' => 'The receipt handle provided is not valid.',
  326. 'class' => 'ReceiptHandleIsInvalidException',
  327. ),
  328. ),
  329. ),
  330. 'DeleteMessageBatch' => array(
  331. 'httpMethod' => 'POST',
  332. 'uri' => '/',
  333. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  334. 'responseClass' => 'DeleteMessageBatchResult',
  335. 'responseType' => 'model',
  336. 'parameters' => array(
  337. 'Action' => array(
  338. 'static' => true,
  339. 'location' => 'aws.query',
  340. 'default' => 'DeleteMessageBatch',
  341. ),
  342. 'Version' => array(
  343. 'static' => true,
  344. 'location' => 'aws.query',
  345. 'default' => '2012-11-05',
  346. ),
  347. 'QueueUrl' => array(
  348. 'required' => true,
  349. 'type' => 'string',
  350. 'location' => 'aws.query',
  351. ),
  352. 'Entries' => array(
  353. 'required' => true,
  354. 'type' => 'array',
  355. 'location' => 'aws.query',
  356. 'sentAs' => 'DeleteMessageBatchRequestEntry',
  357. 'items' => array(
  358. 'name' => 'DeleteMessageBatchRequestEntry',
  359. 'type' => 'object',
  360. 'properties' => array(
  361. 'Id' => array(
  362. 'required' => true,
  363. 'type' => 'string',
  364. ),
  365. 'ReceiptHandle' => array(
  366. 'required' => true,
  367. 'type' => 'string',
  368. ),
  369. ),
  370. ),
  371. ),
  372. ),
  373. 'errorResponses' => array(
  374. array(
  375. 'reason' => 'Batch request contains more number of entries than permissible.',
  376. 'class' => 'TooManyEntriesInBatchRequestException',
  377. ),
  378. array(
  379. 'reason' => 'Batch request does not contain an entry.',
  380. 'class' => 'EmptyBatchRequestException',
  381. ),
  382. array(
  383. 'reason' => 'Two or more batch entries have the same Id in the request.',
  384. 'class' => 'BatchEntryIdsNotDistinctException',
  385. ),
  386. array(
  387. 'reason' => 'The Id of a batch entry in a batch request does not abide by the specification.',
  388. 'class' => 'InvalidBatchEntryIdException',
  389. ),
  390. ),
  391. ),
  392. 'DeleteQueue' => array(
  393. 'httpMethod' => 'POST',
  394. 'uri' => '/',
  395. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  396. 'responseClass' => 'EmptyOutput',
  397. 'responseType' => 'model',
  398. 'parameters' => array(
  399. 'Action' => array(
  400. 'static' => true,
  401. 'location' => 'aws.query',
  402. 'default' => 'DeleteQueue',
  403. ),
  404. 'Version' => array(
  405. 'static' => true,
  406. 'location' => 'aws.query',
  407. 'default' => '2012-11-05',
  408. ),
  409. 'QueueUrl' => array(
  410. 'required' => true,
  411. 'type' => 'string',
  412. 'location' => 'aws.query',
  413. ),
  414. ),
  415. ),
  416. 'GetQueueAttributes' => array(
  417. 'httpMethod' => 'POST',
  418. 'uri' => '/',
  419. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  420. 'responseClass' => 'GetQueueAttributesResult',
  421. 'responseType' => 'model',
  422. 'parameters' => array(
  423. 'Action' => array(
  424. 'static' => true,
  425. 'location' => 'aws.query',
  426. 'default' => 'GetQueueAttributes',
  427. ),
  428. 'Version' => array(
  429. 'static' => true,
  430. 'location' => 'aws.query',
  431. 'default' => '2012-11-05',
  432. ),
  433. 'QueueUrl' => array(
  434. 'required' => true,
  435. 'type' => 'string',
  436. 'location' => 'aws.query',
  437. ),
  438. 'AttributeNames' => array(
  439. 'type' => 'array',
  440. 'location' => 'aws.query',
  441. 'sentAs' => 'AttributeName',
  442. 'items' => array(
  443. 'name' => 'AttributeName',
  444. 'type' => 'string',
  445. ),
  446. ),
  447. ),
  448. 'errorResponses' => array(
  449. array(
  450. 'reason' => 'The attribute referred to does not exist.',
  451. 'class' => 'InvalidAttributeNameException',
  452. ),
  453. ),
  454. ),
  455. 'GetQueueUrl' => array(
  456. 'httpMethod' => 'POST',
  457. 'uri' => '/',
  458. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  459. 'responseClass' => 'GetQueueUrlResult',
  460. 'responseType' => 'model',
  461. 'parameters' => array(
  462. 'Action' => array(
  463. 'static' => true,
  464. 'location' => 'aws.query',
  465. 'default' => 'GetQueueUrl',
  466. ),
  467. 'Version' => array(
  468. 'static' => true,
  469. 'location' => 'aws.query',
  470. 'default' => '2012-11-05',
  471. ),
  472. 'QueueName' => array(
  473. 'required' => true,
  474. 'type' => 'string',
  475. 'location' => 'aws.query',
  476. ),
  477. 'QueueOwnerAWSAccountId' => array(
  478. 'type' => 'string',
  479. 'location' => 'aws.query',
  480. ),
  481. ),
  482. 'errorResponses' => array(
  483. array(
  484. 'reason' => 'The queue referred to does not exist.',
  485. 'class' => 'QueueDoesNotExistException',
  486. ),
  487. ),
  488. ),
  489. 'ListDeadLetterSourceQueues' => array(
  490. 'httpMethod' => 'POST',
  491. 'uri' => '/',
  492. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  493. 'responseClass' => 'ListDeadLetterSourceQueuesResult',
  494. 'responseType' => 'model',
  495. 'parameters' => array(
  496. 'Action' => array(
  497. 'static' => true,
  498. 'location' => 'aws.query',
  499. 'default' => 'ListDeadLetterSourceQueues',
  500. ),
  501. 'Version' => array(
  502. 'static' => true,
  503. 'location' => 'aws.query',
  504. 'default' => '2012-11-05',
  505. ),
  506. 'QueueUrl' => array(
  507. 'required' => true,
  508. 'type' => 'string',
  509. 'location' => 'aws.query',
  510. ),
  511. ),
  512. 'errorResponses' => array(
  513. array(
  514. 'reason' => 'The queue referred to does not exist.',
  515. 'class' => 'QueueDoesNotExistException',
  516. ),
  517. ),
  518. ),
  519. 'ListQueues' => array(
  520. 'httpMethod' => 'POST',
  521. 'uri' => '/',
  522. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  523. 'responseClass' => 'ListQueuesResult',
  524. 'responseType' => 'model',
  525. 'parameters' => array(
  526. 'Action' => array(
  527. 'static' => true,
  528. 'location' => 'aws.query',
  529. 'default' => 'ListQueues',
  530. ),
  531. 'Version' => array(
  532. 'static' => true,
  533. 'location' => 'aws.query',
  534. 'default' => '2012-11-05',
  535. ),
  536. 'QueueNamePrefix' => array(
  537. 'type' => 'string',
  538. 'location' => 'aws.query',
  539. ),
  540. ),
  541. ),
  542. 'PurgeQueue' => array(
  543. 'httpMethod' => 'POST',
  544. 'uri' => '/',
  545. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  546. 'responseClass' => 'EmptyOutput',
  547. 'responseType' => 'model',
  548. 'parameters' => array(
  549. 'Action' => array(
  550. 'static' => true,
  551. 'location' => 'aws.query',
  552. 'default' => 'PurgeQueue',
  553. ),
  554. 'Version' => array(
  555. 'static' => true,
  556. 'location' => 'aws.query',
  557. 'default' => '2012-11-05',
  558. ),
  559. 'QueueUrl' => array(
  560. 'required' => true,
  561. 'type' => 'string',
  562. 'location' => 'aws.query',
  563. ),
  564. ),
  565. 'errorResponses' => array(
  566. array(
  567. 'reason' => 'The queue referred to does not exist.',
  568. 'class' => 'QueueDoesNotExistException',
  569. ),
  570. array(
  571. 'reason' => 'Indicates that the specified queue previously received a PurgeQueue request within the last 60 seconds, the time it can take to delete the messages in the queue.',
  572. 'class' => 'PurgeQueueInProgressException',
  573. ),
  574. ),
  575. ),
  576. 'ReceiveMessage' => array(
  577. 'httpMethod' => 'POST',
  578. 'uri' => '/',
  579. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  580. 'responseClass' => 'ReceiveMessageResult',
  581. 'responseType' => 'model',
  582. 'parameters' => array(
  583. 'Action' => array(
  584. 'static' => true,
  585. 'location' => 'aws.query',
  586. 'default' => 'ReceiveMessage',
  587. ),
  588. 'Version' => array(
  589. 'static' => true,
  590. 'location' => 'aws.query',
  591. 'default' => '2012-11-05',
  592. ),
  593. 'QueueUrl' => array(
  594. 'required' => true,
  595. 'type' => 'string',
  596. 'location' => 'aws.query',
  597. ),
  598. 'AttributeNames' => array(
  599. 'type' => 'array',
  600. 'location' => 'aws.query',
  601. 'sentAs' => 'AttributeName',
  602. 'items' => array(
  603. 'name' => 'AttributeName',
  604. 'type' => 'string',
  605. ),
  606. ),
  607. 'MessageAttributeNames' => array(
  608. 'type' => 'array',
  609. 'location' => 'aws.query',
  610. 'sentAs' => 'MessageAttributeName',
  611. 'items' => array(
  612. 'name' => 'MessageAttributeName',
  613. 'type' => 'string',
  614. ),
  615. ),
  616. 'MaxNumberOfMessages' => array(
  617. 'type' => 'numeric',
  618. 'location' => 'aws.query',
  619. ),
  620. 'VisibilityTimeout' => array(
  621. 'type' => 'numeric',
  622. 'location' => 'aws.query',
  623. ),
  624. 'WaitTimeSeconds' => array(
  625. 'type' => 'numeric',
  626. 'location' => 'aws.query',
  627. ),
  628. ),
  629. 'errorResponses' => array(
  630. array(
  631. 'reason' => 'The action that you requested would violate a limit. For example, ReceiveMessage returns this error if the maximum number of messages inflight has already been reached. AddPermission returns this error if the maximum number of permissions for the queue has already been reached.',
  632. 'class' => 'OverLimitException',
  633. ),
  634. ),
  635. ),
  636. 'RemovePermission' => array(
  637. 'httpMethod' => 'POST',
  638. 'uri' => '/',
  639. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  640. 'responseClass' => 'EmptyOutput',
  641. 'responseType' => 'model',
  642. 'parameters' => array(
  643. 'Action' => array(
  644. 'static' => true,
  645. 'location' => 'aws.query',
  646. 'default' => 'RemovePermission',
  647. ),
  648. 'Version' => array(
  649. 'static' => true,
  650. 'location' => 'aws.query',
  651. 'default' => '2012-11-05',
  652. ),
  653. 'QueueUrl' => array(
  654. 'required' => true,
  655. 'type' => 'string',
  656. 'location' => 'aws.query',
  657. ),
  658. 'Label' => array(
  659. 'required' => true,
  660. 'type' => 'string',
  661. 'location' => 'aws.query',
  662. ),
  663. ),
  664. ),
  665. 'SendMessage' => array(
  666. 'httpMethod' => 'POST',
  667. 'uri' => '/',
  668. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  669. 'responseClass' => 'SendMessageResult',
  670. 'responseType' => 'model',
  671. 'parameters' => array(
  672. 'Action' => array(
  673. 'static' => true,
  674. 'location' => 'aws.query',
  675. 'default' => 'SendMessage',
  676. ),
  677. 'Version' => array(
  678. 'static' => true,
  679. 'location' => 'aws.query',
  680. 'default' => '2012-11-05',
  681. ),
  682. 'QueueUrl' => array(
  683. 'required' => true,
  684. 'type' => 'string',
  685. 'location' => 'aws.query',
  686. ),
  687. 'MessageBody' => array(
  688. 'required' => true,
  689. 'type' => 'string',
  690. 'location' => 'aws.query',
  691. ),
  692. 'DelaySeconds' => array(
  693. 'type' => 'numeric',
  694. 'location' => 'aws.query',
  695. ),
  696. 'MessageAttributes' => array(
  697. 'type' => 'object',
  698. 'location' => 'aws.query',
  699. 'sentAs' => 'MessageAttribute',
  700. 'data' => array(
  701. 'keyName' => 'Name',
  702. 'valueName' => 'Value',
  703. ),
  704. 'additionalProperties' => array(
  705. 'type' => 'object',
  706. 'data' => array(
  707. 'shape_name' => 'String',
  708. ),
  709. 'properties' => array(
  710. 'StringValue' => array(
  711. 'type' => 'string',
  712. ),
  713. 'BinaryValue' => array(
  714. 'type' => 'string',
  715. ),
  716. 'StringListValues' => array(
  717. 'type' => 'array',
  718. 'sentAs' => 'StringListValue',
  719. 'items' => array(
  720. 'name' => 'StringListValue',
  721. 'type' => 'string',
  722. ),
  723. ),
  724. 'BinaryListValues' => array(
  725. 'type' => 'array',
  726. 'sentAs' => 'BinaryListValue',
  727. 'items' => array(
  728. 'name' => 'BinaryListValue',
  729. 'type' => 'string',
  730. ),
  731. ),
  732. 'DataType' => array(
  733. 'required' => true,
  734. 'type' => 'string',
  735. ),
  736. ),
  737. ),
  738. ),
  739. ),
  740. 'errorResponses' => array(
  741. array(
  742. 'reason' => 'The message contains characters outside the allowed set.',
  743. 'class' => 'InvalidMessageContentsException',
  744. ),
  745. array(
  746. 'reason' => 'Error code 400. Unsupported operation.',
  747. 'class' => 'UnsupportedOperationException',
  748. ),
  749. ),
  750. ),
  751. 'SendMessageBatch' => array(
  752. 'httpMethod' => 'POST',
  753. 'uri' => '/',
  754. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  755. 'responseClass' => 'SendMessageBatchResult',
  756. 'responseType' => 'model',
  757. 'parameters' => array(
  758. 'Action' => array(
  759. 'static' => true,
  760. 'location' => 'aws.query',
  761. 'default' => 'SendMessageBatch',
  762. ),
  763. 'Version' => array(
  764. 'static' => true,
  765. 'location' => 'aws.query',
  766. 'default' => '2012-11-05',
  767. ),
  768. 'QueueUrl' => array(
  769. 'required' => true,
  770. 'type' => 'string',
  771. 'location' => 'aws.query',
  772. ),
  773. 'Entries' => array(
  774. 'required' => true,
  775. 'type' => 'array',
  776. 'location' => 'aws.query',
  777. 'sentAs' => 'SendMessageBatchRequestEntry',
  778. 'items' => array(
  779. 'name' => 'SendMessageBatchRequestEntry',
  780. 'type' => 'object',
  781. 'properties' => array(
  782. 'Id' => array(
  783. 'required' => true,
  784. 'type' => 'string',
  785. ),
  786. 'MessageBody' => array(
  787. 'required' => true,
  788. 'type' => 'string',
  789. ),
  790. 'DelaySeconds' => array(
  791. 'type' => 'numeric',
  792. ),
  793. 'MessageAttributes' => array(
  794. 'type' => 'object',
  795. 'sentAs' => 'MessageAttribute',
  796. 'data' => array(
  797. 'keyName' => 'Name',
  798. 'valueName' => 'Value',
  799. ),
  800. 'additionalProperties' => array(
  801. 'type' => 'object',
  802. 'data' => array(
  803. 'shape_name' => 'String',
  804. ),
  805. 'properties' => array(
  806. 'StringValue' => array(
  807. 'type' => 'string',
  808. ),
  809. 'BinaryValue' => array(
  810. 'type' => 'string',
  811. ),
  812. 'StringListValues' => array(
  813. 'type' => 'array',
  814. 'sentAs' => 'StringListValue',
  815. 'items' => array(
  816. 'name' => 'StringListValue',
  817. 'type' => 'string',
  818. ),
  819. ),
  820. 'BinaryListValues' => array(
  821. 'type' => 'array',
  822. 'sentAs' => 'BinaryListValue',
  823. 'items' => array(
  824. 'name' => 'BinaryListValue',
  825. 'type' => 'string',
  826. ),
  827. ),
  828. 'DataType' => array(
  829. 'required' => true,
  830. 'type' => 'string',
  831. ),
  832. ),
  833. ),
  834. ),
  835. ),
  836. ),
  837. ),
  838. ),
  839. 'errorResponses' => array(
  840. array(
  841. 'reason' => 'Batch request contains more number of entries than permissible.',
  842. 'class' => 'TooManyEntriesInBatchRequestException',
  843. ),
  844. array(
  845. 'reason' => 'Batch request does not contain an entry.',
  846. 'class' => 'EmptyBatchRequestException',
  847. ),
  848. array(
  849. 'reason' => 'Two or more batch entries have the same Id in the request.',
  850. 'class' => 'BatchEntryIdsNotDistinctException',
  851. ),
  852. array(
  853. 'reason' => 'The length of all the messages put together is more than the limit.',
  854. 'class' => 'BatchRequestTooLongException',
  855. ),
  856. array(
  857. 'reason' => 'The Id of a batch entry in a batch request does not abide by the specification.',
  858. 'class' => 'InvalidBatchEntryIdException',
  859. ),
  860. array(
  861. 'reason' => 'Error code 400. Unsupported operation.',
  862. 'class' => 'UnsupportedOperationException',
  863. ),
  864. ),
  865. ),
  866. 'SetQueueAttributes' => array(
  867. 'httpMethod' => 'POST',
  868. 'uri' => '/',
  869. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  870. 'responseClass' => 'EmptyOutput',
  871. 'responseType' => 'model',
  872. 'parameters' => array(
  873. 'Action' => array(
  874. 'static' => true,
  875. 'location' => 'aws.query',
  876. 'default' => 'SetQueueAttributes',
  877. ),
  878. 'Version' => array(
  879. 'static' => true,
  880. 'location' => 'aws.query',
  881. 'default' => '2012-11-05',
  882. ),
  883. 'QueueUrl' => array(
  884. 'required' => true,
  885. 'type' => 'string',
  886. 'location' => 'aws.query',
  887. ),
  888. 'Attributes' => array(
  889. 'required' => true,
  890. 'type' => 'object',
  891. 'location' => 'aws.query',
  892. 'sentAs' => 'Attribute',
  893. 'data' => array(
  894. 'keyName' => 'Name',
  895. 'valueName' => 'Value',
  896. ),
  897. 'additionalProperties' => array(
  898. 'type' => 'string',
  899. 'data' => array(
  900. 'shape_name' => 'QueueAttributeName',
  901. ),
  902. ),
  903. ),
  904. ),
  905. 'errorResponses' => array(
  906. array(
  907. 'reason' => 'The attribute referred to does not exist.',
  908. 'class' => 'InvalidAttributeNameException',
  909. ),
  910. ),
  911. ),
  912. ),
  913. 'models' => array(
  914. 'EmptyOutput' => array(
  915. 'type' => 'object',
  916. 'additionalProperties' => true,
  917. ),
  918. 'ChangeMessageVisibilityBatchResult' => array(
  919. 'type' => 'object',
  920. 'additionalProperties' => true,
  921. 'properties' => array(
  922. 'Successful' => array(
  923. 'type' => 'array',
  924. 'location' => 'xml',
  925. 'sentAs' => 'ChangeMessageVisibilityBatchResultEntry',
  926. 'data' => array(
  927. 'xmlFlattened' => true,
  928. ),
  929. 'items' => array(
  930. 'name' => 'ChangeMessageVisibilityBatchResultEntry',
  931. 'type' => 'object',
  932. 'sentAs' => 'ChangeMessageVisibilityBatchResultEntry',
  933. 'properties' => array(
  934. 'Id' => array(
  935. 'type' => 'string',
  936. ),
  937. ),
  938. ),
  939. ),
  940. 'Failed' => array(
  941. 'type' => 'array',
  942. 'location' => 'xml',
  943. 'sentAs' => 'BatchResultErrorEntry',
  944. 'data' => array(
  945. 'xmlFlattened' => true,
  946. ),
  947. 'items' => array(
  948. 'name' => 'BatchResultErrorEntry',
  949. 'type' => 'object',
  950. 'sentAs' => 'BatchResultErrorEntry',
  951. 'properties' => array(
  952. 'Id' => array(
  953. 'type' => 'string',
  954. ),
  955. 'SenderFault' => array(
  956. 'type' => 'boolean',
  957. ),
  958. 'Code' => array(
  959. 'type' => 'string',
  960. ),
  961. 'Message' => array(
  962. 'type' => 'string',
  963. ),
  964. ),
  965. ),
  966. ),
  967. ),
  968. ),
  969. 'CreateQueueResult' => array(
  970. 'type' => 'object',
  971. 'additionalProperties' => true,
  972. 'properties' => array(
  973. 'QueueUrl' => array(
  974. 'type' => 'string',
  975. 'location' => 'xml',
  976. ),
  977. ),
  978. ),
  979. 'DeleteMessageBatchResult' => array(
  980. 'type' => 'object',
  981. 'additionalProperties' => true,
  982. 'properties' => array(
  983. 'Successful' => array(
  984. 'type' => 'array',
  985. 'location' => 'xml',
  986. 'sentAs' => 'DeleteMessageBatchResultEntry',
  987. 'data' => array(
  988. 'xmlFlattened' => true,
  989. ),
  990. 'items' => array(
  991. 'name' => 'DeleteMessageBatchResultEntry',
  992. 'type' => 'object',
  993. 'sentAs' => 'DeleteMessageBatchResultEntry',
  994. 'properties' => array(
  995. 'Id' => array(
  996. 'type' => 'string',
  997. ),
  998. ),
  999. ),
  1000. ),
  1001. 'Failed' => array(
  1002. 'type' => 'array',
  1003. 'location' => 'xml',
  1004. 'sentAs' => 'BatchResultErrorEntry',
  1005. 'data' => array(
  1006. 'xmlFlattened' => true,
  1007. ),
  1008. 'items' => array(
  1009. 'name' => 'BatchResultErrorEntry',
  1010. 'type' => 'object',
  1011. 'sentAs' => 'BatchResultErrorEntry',
  1012. 'properties' => array(
  1013. 'Id' => array(
  1014. 'type' => 'string',
  1015. ),
  1016. 'SenderFault' => array(
  1017. 'type' => 'boolean',
  1018. ),
  1019. 'Code' => array(
  1020. 'type' => 'string',
  1021. ),
  1022. 'Message' => array(
  1023. 'type' => 'string',
  1024. ),
  1025. ),
  1026. ),
  1027. ),
  1028. ),
  1029. ),
  1030. 'GetQueueAttributesResult' => array(
  1031. 'type' => 'object',
  1032. 'additionalProperties' => true,
  1033. 'properties' => array(
  1034. 'Attributes' => array(
  1035. 'type' => 'array',
  1036. 'location' => 'xml',
  1037. 'sentAs' => 'Attribute',
  1038. 'data' => array(
  1039. 'xmlFlattened' => true,
  1040. 'xmlMap' => array(
  1041. 'Policy',
  1042. 'VisibilityTimeout',
  1043. 'MaximumMessageSize',
  1044. 'MessageRetentionPeriod',
  1045. 'ApproximateNumberOfMessages',
  1046. 'ApproximateNumberOfMessagesNotVisible',
  1047. 'CreatedTimestamp',
  1048. 'LastModifiedTimestamp',
  1049. 'QueueArn',
  1050. 'ApproximateNumberOfMessagesDelayed',
  1051. 'DelaySeconds',
  1052. 'ReceiveMessageWaitTimeSeconds',
  1053. 'RedrivePolicy',
  1054. ),
  1055. ),
  1056. 'filters' => array(
  1057. array(
  1058. 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap',
  1059. 'args' => array(
  1060. '@value',
  1061. 'Attribute',
  1062. 'Name',
  1063. 'Value',
  1064. ),
  1065. ),
  1066. ),
  1067. 'items' => array(
  1068. 'name' => 'Attribute',
  1069. 'type' => 'object',
  1070. 'sentAs' => 'Attribute',
  1071. 'additionalProperties' => true,
  1072. 'properties' => array(
  1073. 'Name' => array(
  1074. 'type' => 'string',
  1075. ),
  1076. 'Value' => array(
  1077. 'type' => 'string',
  1078. ),
  1079. ),
  1080. ),
  1081. 'additionalProperties' => false,
  1082. ),
  1083. ),
  1084. ),
  1085. 'GetQueueUrlResult' => array(
  1086. 'type' => 'object',
  1087. 'additionalProperties' => true,
  1088. 'properties' => array(
  1089. 'QueueUrl' => array(
  1090. 'type' => 'string',
  1091. 'location' => 'xml',
  1092. ),
  1093. ),
  1094. ),
  1095. 'ListDeadLetterSourceQueuesResult' => array(
  1096. 'type' => 'object',
  1097. 'additionalProperties' => true,
  1098. 'properties' => array(
  1099. 'queueUrls' => array(
  1100. 'type' => 'array',
  1101. 'location' => 'xml',
  1102. 'sentAs' => 'QueueUrl',
  1103. 'data' => array(
  1104. 'xmlFlattened' => true,
  1105. ),
  1106. 'items' => array(
  1107. 'name' => 'QueueUrl',
  1108. 'type' => 'string',
  1109. 'sentAs' => 'QueueUrl',
  1110. ),
  1111. ),
  1112. ),
  1113. ),
  1114. 'ListQueuesResult' => array(
  1115. 'type' => 'object',
  1116. 'additionalProperties' => true,
  1117. 'properties' => array(
  1118. 'QueueUrls' => array(
  1119. 'type' => 'array',
  1120. 'location' => 'xml',
  1121. 'sentAs' => 'QueueUrl',
  1122. 'data' => array(
  1123. 'xmlFlattened' => true,
  1124. ),
  1125. 'items' => array(
  1126. 'name' => 'QueueUrl',
  1127. 'type' => 'string',
  1128. 'sentAs' => 'QueueUrl',
  1129. ),
  1130. ),
  1131. ),
  1132. ),
  1133. 'ReceiveMessageResult' => array(
  1134. 'type' => 'object',
  1135. 'additionalProperties' => true,
  1136. 'properties' => array(
  1137. 'Messages' => array(
  1138. 'type' => 'array',
  1139. 'location' => 'xml',
  1140. 'sentAs' => 'Message',
  1141. 'data' => array(
  1142. 'xmlFlattened' => true,
  1143. ),
  1144. 'items' => array(
  1145. 'name' => 'Message',
  1146. 'type' => 'object',
  1147. 'sentAs' => 'Message',
  1148. 'properties' => array(
  1149. 'MessageId' => array(
  1150. 'type' => 'string',
  1151. ),
  1152. 'ReceiptHandle' => array(
  1153. 'type' => 'string',
  1154. ),
  1155. 'MD5OfBody' => array(
  1156. 'type' => 'string',
  1157. ),
  1158. 'Body' => array(
  1159. 'type' => 'string',
  1160. ),
  1161. 'Attributes' => array(
  1162. 'type' => 'array',
  1163. 'sentAs' => 'Attribute',
  1164. 'data' => array(
  1165. 'xmlFlattened' => true,
  1166. 'xmlMap' => array(
  1167. 'Policy',
  1168. 'VisibilityTimeout',
  1169. 'MaximumMessageSize',
  1170. 'MessageRetentionPeriod',
  1171. 'ApproximateNumberOfMessages',
  1172. 'ApproximateNumberOfMessagesNotVisible',
  1173. 'CreatedTimestamp',
  1174. 'LastModifiedTimestamp',
  1175. 'QueueArn',
  1176. 'ApproximateNumberOfMessagesDelayed',
  1177. 'DelaySeconds',
  1178. 'ReceiveMessageWaitTimeSeconds',
  1179. 'RedrivePolicy',
  1180. ),
  1181. ),
  1182. 'filters' => array(
  1183. array(
  1184. 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap',
  1185. 'args' => array(
  1186. '@value',
  1187. 'Attribute',
  1188. 'Name',
  1189. 'Value',
  1190. ),
  1191. ),
  1192. ),
  1193. 'items' => array(
  1194. 'name' => 'Attribute',
  1195. 'type' => 'object',
  1196. 'sentAs' => 'Attribute',
  1197. 'additionalProperties' => true,
  1198. 'properties' => array(
  1199. 'Name' => array(
  1200. 'type' => 'string',
  1201. ),
  1202. 'Value' => array(
  1203. 'type' => 'string',
  1204. ),
  1205. ),
  1206. ),
  1207. 'additionalProperties' => false,
  1208. ),
  1209. 'MD5OfMessageAttributes' => array(
  1210. 'type' => 'string',
  1211. ),
  1212. 'MessageAttributes' => array(
  1213. 'type' => 'array',
  1214. 'sentAs' => 'MessageAttribute',
  1215. 'data' => array(
  1216. 'xmlFlattened' => true,
  1217. ),
  1218. 'filters' => array(
  1219. array(
  1220. 'method' => 'Aws\\Common\\Command\\XmlResponseLocationVisitor::xmlMap',
  1221. 'args' => array(