/api/vendor/aws/aws-sdk-php/src/Aws/ElastiCache/Resources/elasticache-2014-09-30.php

https://gitlab.com/x33n/respond · PHP · 1170 lines · 1155 code · 1 blank · 14 comment · 0 complexity · ba29827d879945b60606ea28542397b3 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' => '2014-09-30',
  18. 'endpointPrefix' => 'elasticache',
  19. 'serviceFullName' => 'Amazon ElastiCache',
  20. 'serviceType' => 'query',
  21. 'resultWrapped' => true,
  22. 'signatureVersion' => 'v4',
  23. 'namespace' => 'ElastiCache',
  24. 'regions' => array(
  25. 'us-east-1' => array(
  26. 'http' => false,
  27. 'https' => true,
  28. 'hostname' => 'elasticache.us-east-1.amazonaws.com',
  29. ),
  30. 'us-west-1' => array(
  31. 'http' => false,
  32. 'https' => true,
  33. 'hostname' => 'elasticache.us-west-1.amazonaws.com',
  34. ),
  35. 'us-west-2' => array(
  36. 'http' => false,
  37. 'https' => true,
  38. 'hostname' => 'elasticache.us-west-2.amazonaws.com',
  39. ),
  40. 'eu-west-1' => array(
  41. 'http' => false,
  42. 'https' => true,
  43. 'hostname' => 'elasticache.eu-west-1.amazonaws.com',
  44. ),
  45. 'ap-northeast-1' => array(
  46. 'http' => false,
  47. 'https' => true,
  48. 'hostname' => 'elasticache.ap-northeast-1.amazonaws.com',
  49. ),
  50. 'ap-southeast-1' => array(
  51. 'http' => false,
  52. 'https' => true,
  53. 'hostname' => 'elasticache.ap-southeast-1.amazonaws.com',
  54. ),
  55. 'ap-southeast-2' => array(
  56. 'http' => false,
  57. 'https' => true,
  58. 'hostname' => 'elasticache.ap-southeast-2.amazonaws.com',
  59. ),
  60. 'sa-east-1' => array(
  61. 'http' => false,
  62. 'https' => true,
  63. 'hostname' => 'elasticache.sa-east-1.amazonaws.com',
  64. ),
  65. 'cn-north-1' => array(
  66. 'http' => false,
  67. 'https' => true,
  68. 'hostname' => 'elasticache.cn-north-1.amazonaws.com.cn',
  69. ),
  70. ),
  71. 'operations' => array(
  72. 'AuthorizeCacheSecurityGroupIngress' => array(
  73. 'httpMethod' => 'POST',
  74. 'uri' => '/',
  75. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  76. 'responseClass' => 'CacheSecurityGroupWrapper',
  77. 'responseType' => 'model',
  78. 'parameters' => array(
  79. 'Action' => array(
  80. 'static' => true,
  81. 'location' => 'aws.query',
  82. 'default' => 'AuthorizeCacheSecurityGroupIngress',
  83. ),
  84. 'Version' => array(
  85. 'static' => true,
  86. 'location' => 'aws.query',
  87. 'default' => '2014-09-30',
  88. ),
  89. 'CacheSecurityGroupName' => array(
  90. 'required' => true,
  91. 'type' => 'string',
  92. 'location' => 'aws.query',
  93. ),
  94. 'EC2SecurityGroupName' => array(
  95. 'required' => true,
  96. 'type' => 'string',
  97. 'location' => 'aws.query',
  98. ),
  99. 'EC2SecurityGroupOwnerId' => array(
  100. 'required' => true,
  101. 'type' => 'string',
  102. 'location' => 'aws.query',
  103. ),
  104. ),
  105. 'errorResponses' => array(
  106. array(
  107. 'reason' => 'The requested cache security group name does not refer to an existing cache security group.',
  108. 'class' => 'CacheSecurityGroupNotFoundException',
  109. ),
  110. array(
  111. 'reason' => 'The current state of the cache security group does not allow deletion.',
  112. 'class' => 'InvalidCacheSecurityGroupStateException',
  113. ),
  114. array(
  115. 'reason' => 'The specified Amazon EC2 security group is already authorized for the specified cache security group.',
  116. 'class' => 'AuthorizationAlreadyExistsException',
  117. ),
  118. array(
  119. 'reason' => 'The value for a parameter is invalid.',
  120. 'class' => 'InvalidParameterValueException',
  121. ),
  122. array(
  123. 'reason' => 'Two or more incompatible parameters were specified.',
  124. 'class' => 'InvalidParameterCombinationException',
  125. ),
  126. ),
  127. ),
  128. 'CopySnapshot' => array(
  129. 'httpMethod' => 'POST',
  130. 'uri' => '/',
  131. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  132. 'responseClass' => 'SnapshotWrapper',
  133. 'responseType' => 'model',
  134. 'parameters' => array(
  135. 'Action' => array(
  136. 'static' => true,
  137. 'location' => 'aws.query',
  138. 'default' => 'CopySnapshot',
  139. ),
  140. 'Version' => array(
  141. 'static' => true,
  142. 'location' => 'aws.query',
  143. 'default' => '2014-09-30',
  144. ),
  145. 'SourceSnapshotName' => array(
  146. 'required' => true,
  147. 'type' => 'string',
  148. 'location' => 'aws.query',
  149. ),
  150. 'TargetSnapshotName' => array(
  151. 'required' => true,
  152. 'type' => 'string',
  153. 'location' => 'aws.query',
  154. ),
  155. ),
  156. 'errorResponses' => array(
  157. array(
  158. 'reason' => 'You already have a snapshot with the given name.',
  159. 'class' => 'SnapshotAlreadyExistsException',
  160. ),
  161. array(
  162. 'reason' => 'The requested snapshot name does not refer to an existing snapshot.',
  163. 'class' => 'SnapshotNotFoundException',
  164. ),
  165. array(
  166. 'reason' => 'The request cannot be processed because it would exceed the maximum number of snapshots.',
  167. 'class' => 'SnapshotQuotaExceededException',
  168. ),
  169. array(
  170. 'reason' => 'The current state of the snapshot does not allow the requested action to occur.',
  171. 'class' => 'InvalidSnapshotStateException',
  172. ),
  173. array(
  174. 'reason' => 'The value for a parameter is invalid.',
  175. 'class' => 'InvalidParameterValueException',
  176. ),
  177. array(
  178. 'reason' => 'Two or more incompatible parameters were specified.',
  179. 'class' => 'InvalidParameterCombinationException',
  180. ),
  181. ),
  182. ),
  183. 'CreateCacheCluster' => array(
  184. 'httpMethod' => 'POST',
  185. 'uri' => '/',
  186. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  187. 'responseClass' => 'CacheClusterWrapper',
  188. 'responseType' => 'model',
  189. 'parameters' => array(
  190. 'Action' => array(
  191. 'static' => true,
  192. 'location' => 'aws.query',
  193. 'default' => 'CreateCacheCluster',
  194. ),
  195. 'Version' => array(
  196. 'static' => true,
  197. 'location' => 'aws.query',
  198. 'default' => '2014-09-30',
  199. ),
  200. 'CacheClusterId' => array(
  201. 'required' => true,
  202. 'type' => 'string',
  203. 'location' => 'aws.query',
  204. ),
  205. 'ReplicationGroupId' => array(
  206. 'type' => 'string',
  207. 'location' => 'aws.query',
  208. ),
  209. 'AZMode' => array(
  210. 'type' => 'string',
  211. 'location' => 'aws.query',
  212. ),
  213. 'PreferredAvailabilityZone' => array(
  214. 'type' => 'string',
  215. 'location' => 'aws.query',
  216. ),
  217. 'PreferredAvailabilityZones' => array(
  218. 'type' => 'array',
  219. 'location' => 'aws.query',
  220. 'sentAs' => 'PreferredAvailabilityZones.member',
  221. 'items' => array(
  222. 'name' => 'PreferredAvailabilityZone',
  223. 'type' => 'string',
  224. ),
  225. ),
  226. 'NumCacheNodes' => array(
  227. 'type' => 'numeric',
  228. 'location' => 'aws.query',
  229. ),
  230. 'CacheNodeType' => array(
  231. 'type' => 'string',
  232. 'location' => 'aws.query',
  233. ),
  234. 'Engine' => array(
  235. 'type' => 'string',
  236. 'location' => 'aws.query',
  237. ),
  238. 'EngineVersion' => array(
  239. 'type' => 'string',
  240. 'location' => 'aws.query',
  241. ),
  242. 'CacheParameterGroupName' => array(
  243. 'type' => 'string',
  244. 'location' => 'aws.query',
  245. ),
  246. 'CacheSubnetGroupName' => array(
  247. 'type' => 'string',
  248. 'location' => 'aws.query',
  249. ),
  250. 'CacheSecurityGroupNames' => array(
  251. 'type' => 'array',
  252. 'location' => 'aws.query',
  253. 'sentAs' => 'CacheSecurityGroupNames.member',
  254. 'items' => array(
  255. 'name' => 'CacheSecurityGroupName',
  256. 'type' => 'string',
  257. ),
  258. ),
  259. 'SecurityGroupIds' => array(
  260. 'type' => 'array',
  261. 'location' => 'aws.query',
  262. 'sentAs' => 'SecurityGroupIds.member',
  263. 'items' => array(
  264. 'name' => 'SecurityGroupId',
  265. 'type' => 'string',
  266. ),
  267. ),
  268. 'SnapshotArns' => array(
  269. 'type' => 'array',
  270. 'location' => 'aws.query',
  271. 'sentAs' => 'SnapshotArns.member',
  272. 'items' => array(
  273. 'name' => 'SnapshotArn',
  274. 'type' => 'string',
  275. ),
  276. ),
  277. 'SnapshotName' => array(
  278. 'type' => 'string',
  279. 'location' => 'aws.query',
  280. ),
  281. 'PreferredMaintenanceWindow' => array(
  282. 'type' => 'string',
  283. 'location' => 'aws.query',
  284. ),
  285. 'Port' => array(
  286. 'type' => 'numeric',
  287. 'location' => 'aws.query',
  288. ),
  289. 'NotificationTopicArn' => array(
  290. 'type' => 'string',
  291. 'location' => 'aws.query',
  292. ),
  293. 'AutoMinorVersionUpgrade' => array(
  294. 'type' => 'boolean',
  295. 'format' => 'boolean-string',
  296. 'location' => 'aws.query',
  297. ),
  298. 'SnapshotRetentionLimit' => array(
  299. 'type' => 'numeric',
  300. 'location' => 'aws.query',
  301. ),
  302. 'SnapshotWindow' => array(
  303. 'type' => 'string',
  304. 'location' => 'aws.query',
  305. ),
  306. ),
  307. 'errorResponses' => array(
  308. array(
  309. 'reason' => 'The specified replication group does not exist.',
  310. 'class' => 'ReplicationGroupNotFoundException',
  311. ),
  312. array(
  313. 'reason' => 'The requested replication group is not in the available state.',
  314. 'class' => 'InvalidReplicationGroupStateException',
  315. ),
  316. array(
  317. 'reason' => 'You already have a cache cluster with the given identifier.',
  318. 'class' => 'CacheClusterAlreadyExistsException',
  319. ),
  320. array(
  321. 'reason' => 'The requested cache node type is not available in the specified Availability Zone.',
  322. 'class' => 'InsufficientCacheClusterCapacityException',
  323. ),
  324. array(
  325. 'reason' => 'The requested cache security group name does not refer to an existing cache security group.',
  326. 'class' => 'CacheSecurityGroupNotFoundException',
  327. ),
  328. array(
  329. 'reason' => 'The requested cache subnet group name does not refer to an existing cache subnet group.',
  330. 'class' => 'CacheSubnetGroupNotFoundException',
  331. ),
  332. array(
  333. 'reason' => 'The request cannot be processed because it would exceed the allowed number of cache clusters per customer.',
  334. 'class' => 'ClusterQuotaForCustomerExceededException',
  335. ),
  336. array(
  337. 'reason' => 'The request cannot be processed because it would exceed the allowed number of cache nodes in a single cache cluster.',
  338. 'class' => 'NodeQuotaForClusterExceededException',
  339. ),
  340. array(
  341. 'reason' => 'The request cannot be processed because it would exceed the allowed number of cache nodes per customer.',
  342. 'class' => 'NodeQuotaForCustomerExceededException',
  343. ),
  344. array(
  345. 'reason' => 'The requested cache parameter group name does not refer to an existing cache parameter group.',
  346. 'class' => 'CacheParameterGroupNotFoundException',
  347. ),
  348. array(
  349. 'reason' => 'The VPC network is in an invalid state.',
  350. 'class' => 'InvalidVPCNetworkStateException',
  351. ),
  352. array(
  353. 'reason' => 'The value for a parameter is invalid.',
  354. 'class' => 'InvalidParameterValueException',
  355. ),
  356. array(
  357. 'reason' => 'Two or more incompatible parameters were specified.',
  358. 'class' => 'InvalidParameterCombinationException',
  359. ),
  360. ),
  361. ),
  362. 'CreateCacheParameterGroup' => array(
  363. 'httpMethod' => 'POST',
  364. 'uri' => '/',
  365. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  366. 'responseClass' => 'CacheParameterGroupWrapper',
  367. 'responseType' => 'model',
  368. 'parameters' => array(
  369. 'Action' => array(
  370. 'static' => true,
  371. 'location' => 'aws.query',
  372. 'default' => 'CreateCacheParameterGroup',
  373. ),
  374. 'Version' => array(
  375. 'static' => true,
  376. 'location' => 'aws.query',
  377. 'default' => '2014-09-30',
  378. ),
  379. 'CacheParameterGroupName' => array(
  380. 'required' => true,
  381. 'type' => 'string',
  382. 'location' => 'aws.query',
  383. ),
  384. 'CacheParameterGroupFamily' => array(
  385. 'required' => true,
  386. 'type' => 'string',
  387. 'location' => 'aws.query',
  388. ),
  389. 'Description' => array(
  390. 'required' => true,
  391. 'type' => 'string',
  392. 'location' => 'aws.query',
  393. ),
  394. ),
  395. 'errorResponses' => array(
  396. array(
  397. 'reason' => 'The request cannot be processed because it would exceed the maximum number of cache security groups.',
  398. 'class' => 'CacheParameterGroupQuotaExceededException',
  399. ),
  400. array(
  401. 'reason' => 'A cache parameter group with the requested name already exists.',
  402. 'class' => 'CacheParameterGroupAlreadyExistsException',
  403. ),
  404. array(
  405. 'reason' => 'The current state of the cache parameter group does not allow the requested action to occur.',
  406. 'class' => 'InvalidCacheParameterGroupStateException',
  407. ),
  408. array(
  409. 'reason' => 'The value for a parameter is invalid.',
  410. 'class' => 'InvalidParameterValueException',
  411. ),
  412. array(
  413. 'reason' => 'Two or more incompatible parameters were specified.',
  414. 'class' => 'InvalidParameterCombinationException',
  415. ),
  416. ),
  417. ),
  418. 'CreateCacheSecurityGroup' => array(
  419. 'httpMethod' => 'POST',
  420. 'uri' => '/',
  421. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  422. 'responseClass' => 'CacheSecurityGroupWrapper',
  423. 'responseType' => 'model',
  424. 'parameters' => array(
  425. 'Action' => array(
  426. 'static' => true,
  427. 'location' => 'aws.query',
  428. 'default' => 'CreateCacheSecurityGroup',
  429. ),
  430. 'Version' => array(
  431. 'static' => true,
  432. 'location' => 'aws.query',
  433. 'default' => '2014-09-30',
  434. ),
  435. 'CacheSecurityGroupName' => array(
  436. 'required' => true,
  437. 'type' => 'string',
  438. 'location' => 'aws.query',
  439. ),
  440. 'Description' => array(
  441. 'required' => true,
  442. 'type' => 'string',
  443. 'location' => 'aws.query',
  444. ),
  445. ),
  446. 'errorResponses' => array(
  447. array(
  448. 'reason' => 'A cache security group with the specified name already exists.',
  449. 'class' => 'CacheSecurityGroupAlreadyExistsException',
  450. ),
  451. array(
  452. 'reason' => 'The request cannot be processed because it would exceed the allowed number of cache security groups.',
  453. 'class' => 'CacheSecurityGroupQuotaExceededException',
  454. ),
  455. array(
  456. 'reason' => 'The value for a parameter is invalid.',
  457. 'class' => 'InvalidParameterValueException',
  458. ),
  459. array(
  460. 'reason' => 'Two or more incompatible parameters were specified.',
  461. 'class' => 'InvalidParameterCombinationException',
  462. ),
  463. ),
  464. ),
  465. 'CreateCacheSubnetGroup' => array(
  466. 'httpMethod' => 'POST',
  467. 'uri' => '/',
  468. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  469. 'responseClass' => 'CacheSubnetGroupWrapper',
  470. 'responseType' => 'model',
  471. 'parameters' => array(
  472. 'Action' => array(
  473. 'static' => true,
  474. 'location' => 'aws.query',
  475. 'default' => 'CreateCacheSubnetGroup',
  476. ),
  477. 'Version' => array(
  478. 'static' => true,
  479. 'location' => 'aws.query',
  480. 'default' => '2014-09-30',
  481. ),
  482. 'CacheSubnetGroupName' => array(
  483. 'required' => true,
  484. 'type' => 'string',
  485. 'location' => 'aws.query',
  486. ),
  487. 'CacheSubnetGroupDescription' => array(
  488. 'required' => true,
  489. 'type' => 'string',
  490. 'location' => 'aws.query',
  491. ),
  492. 'SubnetIds' => array(
  493. 'required' => true,
  494. 'type' => 'array',
  495. 'location' => 'aws.query',
  496. 'sentAs' => 'SubnetIds.member',
  497. 'items' => array(
  498. 'name' => 'SubnetIdentifier',
  499. 'type' => 'string',
  500. ),
  501. ),
  502. ),
  503. 'errorResponses' => array(
  504. array(
  505. 'reason' => 'The requested cache subnet group name is already in use by an existing cache subnet group.',
  506. 'class' => 'CacheSubnetGroupAlreadyExistsException',
  507. ),
  508. array(
  509. 'reason' => 'The request cannot be processed because it would exceed the allowed number of cache subnet groups.',
  510. 'class' => 'CacheSubnetGroupQuotaExceededException',
  511. ),
  512. array(
  513. 'reason' => 'The request cannot be processed because it would exceed the allowed number of subnets in a cache subnet group.',
  514. 'class' => 'CacheSubnetQuotaExceededException',
  515. ),
  516. array(
  517. 'reason' => 'An invalid subnet identifier was specified.',
  518. 'class' => 'InvalidSubnetException',
  519. ),
  520. ),
  521. ),
  522. 'CreateReplicationGroup' => array(
  523. 'httpMethod' => 'POST',
  524. 'uri' => '/',
  525. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  526. 'responseClass' => 'ReplicationGroupWrapper',
  527. 'responseType' => 'model',
  528. 'parameters' => array(
  529. 'Action' => array(
  530. 'static' => true,
  531. 'location' => 'aws.query',
  532. 'default' => 'CreateReplicationGroup',
  533. ),
  534. 'Version' => array(
  535. 'static' => true,
  536. 'location' => 'aws.query',
  537. 'default' => '2014-09-30',
  538. ),
  539. 'ReplicationGroupId' => array(
  540. 'required' => true,
  541. 'type' => 'string',
  542. 'location' => 'aws.query',
  543. ),
  544. 'ReplicationGroupDescription' => array(
  545. 'required' => true,
  546. 'type' => 'string',
  547. 'location' => 'aws.query',
  548. ),
  549. 'PrimaryClusterId' => array(
  550. 'type' => 'string',
  551. 'location' => 'aws.query',
  552. ),
  553. 'AutomaticFailoverEnabled' => array(
  554. 'type' => 'boolean',
  555. 'format' => 'boolean-string',
  556. 'location' => 'aws.query',
  557. ),
  558. 'NumCacheClusters' => array(
  559. 'type' => 'numeric',
  560. 'location' => 'aws.query',
  561. ),
  562. 'PreferredCacheClusterAZs' => array(
  563. 'type' => 'array',
  564. 'location' => 'aws.query',
  565. 'sentAs' => 'PreferredCacheClusterAZs.member',
  566. 'items' => array(
  567. 'name' => 'AvailabilityZone',
  568. 'type' => 'string',
  569. ),
  570. ),
  571. 'CacheNodeType' => array(
  572. 'type' => 'string',
  573. 'location' => 'aws.query',
  574. ),
  575. 'Engine' => array(
  576. 'type' => 'string',
  577. 'location' => 'aws.query',
  578. ),
  579. 'EngineVersion' => array(
  580. 'type' => 'string',
  581. 'location' => 'aws.query',
  582. ),
  583. 'CacheParameterGroupName' => array(
  584. 'type' => 'string',
  585. 'location' => 'aws.query',
  586. ),
  587. 'CacheSubnetGroupName' => array(
  588. 'type' => 'string',
  589. 'location' => 'aws.query',
  590. ),
  591. 'CacheSecurityGroupNames' => array(
  592. 'type' => 'array',
  593. 'location' => 'aws.query',
  594. 'sentAs' => 'CacheSecurityGroupNames.member',
  595. 'items' => array(
  596. 'name' => 'CacheSecurityGroupName',
  597. 'type' => 'string',
  598. ),
  599. ),
  600. 'SecurityGroupIds' => array(
  601. 'type' => 'array',
  602. 'location' => 'aws.query',
  603. 'sentAs' => 'SecurityGroupIds.member',
  604. 'items' => array(
  605. 'name' => 'SecurityGroupId',
  606. 'type' => 'string',
  607. ),
  608. ),
  609. 'SnapshotArns' => array(
  610. 'type' => 'array',
  611. 'location' => 'aws.query',
  612. 'sentAs' => 'SnapshotArns.member',
  613. 'items' => array(
  614. 'name' => 'SnapshotArn',
  615. 'type' => 'string',
  616. ),
  617. ),
  618. 'SnapshotName' => array(
  619. 'type' => 'string',
  620. 'location' => 'aws.query',
  621. ),
  622. 'PreferredMaintenanceWindow' => array(
  623. 'type' => 'string',
  624. 'location' => 'aws.query',
  625. ),
  626. 'Port' => array(
  627. 'type' => 'numeric',
  628. 'location' => 'aws.query',
  629. ),
  630. 'NotificationTopicArn' => array(
  631. 'type' => 'string',
  632. 'location' => 'aws.query',
  633. ),
  634. 'AutoMinorVersionUpgrade' => array(
  635. 'type' => 'boolean',
  636. 'format' => 'boolean-string',
  637. 'location' => 'aws.query',
  638. ),
  639. 'SnapshotRetentionLimit' => array(
  640. 'type' => 'numeric',
  641. 'location' => 'aws.query',
  642. ),
  643. 'SnapshotWindow' => array(
  644. 'type' => 'string',
  645. 'location' => 'aws.query',
  646. ),
  647. ),
  648. 'errorResponses' => array(
  649. array(
  650. 'reason' => 'The requested cache cluster ID does not refer to an existing cache cluster.',
  651. 'class' => 'CacheClusterNotFoundException',
  652. ),
  653. array(
  654. 'reason' => 'The requested cache cluster is not in the available state.',
  655. 'class' => 'InvalidCacheClusterStateException',
  656. ),
  657. array(
  658. 'reason' => 'The specified replication group already exists.',
  659. 'class' => 'ReplicationGroupAlreadyExistsException',
  660. ),
  661. array(
  662. 'reason' => 'The requested cache node type is not available in the specified Availability Zone.',
  663. 'class' => 'InsufficientCacheClusterCapacityException',
  664. ),
  665. array(
  666. 'reason' => 'The requested cache security group name does not refer to an existing cache security group.',
  667. 'class' => 'CacheSecurityGroupNotFoundException',
  668. ),
  669. array(
  670. 'reason' => 'The requested cache subnet group name does not refer to an existing cache subnet group.',
  671. 'class' => 'CacheSubnetGroupNotFoundException',
  672. ),
  673. array(
  674. 'reason' => 'The request cannot be processed because it would exceed the allowed number of cache clusters per customer.',
  675. 'class' => 'ClusterQuotaForCustomerExceededException',
  676. ),
  677. array(
  678. 'reason' => 'The request cannot be processed because it would exceed the allowed number of cache nodes in a single cache cluster.',
  679. 'class' => 'NodeQuotaForClusterExceededException',
  680. ),
  681. array(
  682. 'reason' => 'The request cannot be processed because it would exceed the allowed number of cache nodes per customer.',
  683. 'class' => 'NodeQuotaForCustomerExceededException',
  684. ),
  685. array(
  686. 'reason' => 'The requested cache parameter group name does not refer to an existing cache parameter group.',
  687. 'class' => 'CacheParameterGroupNotFoundException',
  688. ),
  689. array(
  690. 'reason' => 'The VPC network is in an invalid state.',
  691. 'class' => 'InvalidVPCNetworkStateException',
  692. ),
  693. array(
  694. 'reason' => 'The value for a parameter is invalid.',
  695. 'class' => 'InvalidParameterValueException',
  696. ),
  697. array(
  698. 'reason' => 'Two or more incompatible parameters were specified.',
  699. 'class' => 'InvalidParameterCombinationException',
  700. ),
  701. ),
  702. ),
  703. 'CreateSnapshot' => array(
  704. 'httpMethod' => 'POST',
  705. 'uri' => '/',
  706. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  707. 'responseClass' => 'SnapshotWrapper',
  708. 'responseType' => 'model',
  709. 'parameters' => array(
  710. 'Action' => array(
  711. 'static' => true,
  712. 'location' => 'aws.query',
  713. 'default' => 'CreateSnapshot',
  714. ),
  715. 'Version' => array(
  716. 'static' => true,
  717. 'location' => 'aws.query',
  718. 'default' => '2014-09-30',
  719. ),
  720. 'CacheClusterId' => array(
  721. 'required' => true,
  722. 'type' => 'string',
  723. 'location' => 'aws.query',
  724. ),
  725. 'SnapshotName' => array(
  726. 'required' => true,
  727. 'type' => 'string',
  728. 'location' => 'aws.query',
  729. ),
  730. ),
  731. 'errorResponses' => array(
  732. array(
  733. 'reason' => 'You already have a snapshot with the given name.',
  734. 'class' => 'SnapshotAlreadyExistsException',
  735. ),
  736. array(
  737. 'reason' => 'The requested cache cluster ID does not refer to an existing cache cluster.',
  738. 'class' => 'CacheClusterNotFoundException',
  739. ),
  740. array(
  741. 'reason' => 'The requested cache cluster is not in the available state.',
  742. 'class' => 'InvalidCacheClusterStateException',
  743. ),
  744. array(
  745. 'reason' => 'The request cannot be processed because it would exceed the maximum number of snapshots.',
  746. 'class' => 'SnapshotQuotaExceededException',
  747. ),
  748. array(
  749. 'reason' => 'You attempted one of the following actions: Creating a snapshot of a Redis cache cluster running on a t1.micro cache node. Creating a snapshot of a cache cluster that is running Memcached rather than Redis. Neither of these are supported by ElastiCache.',
  750. 'class' => 'SnapshotFeatureNotSupportedException',
  751. ),
  752. array(
  753. 'reason' => 'Two or more incompatible parameters were specified.',
  754. 'class' => 'InvalidParameterCombinationException',
  755. ),
  756. array(
  757. 'reason' => 'The value for a parameter is invalid.',
  758. 'class' => 'InvalidParameterValueException',
  759. ),
  760. ),
  761. ),
  762. 'DeleteCacheCluster' => array(
  763. 'httpMethod' => 'POST',
  764. 'uri' => '/',
  765. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  766. 'responseClass' => 'CacheClusterWrapper',
  767. 'responseType' => 'model',
  768. 'parameters' => array(
  769. 'Action' => array(
  770. 'static' => true,
  771. 'location' => 'aws.query',
  772. 'default' => 'DeleteCacheCluster',
  773. ),
  774. 'Version' => array(
  775. 'static' => true,
  776. 'location' => 'aws.query',
  777. 'default' => '2014-09-30',
  778. ),
  779. 'CacheClusterId' => array(
  780. 'required' => true,
  781. 'type' => 'string',
  782. 'location' => 'aws.query',
  783. ),
  784. 'FinalSnapshotIdentifier' => array(
  785. 'type' => 'string',
  786. 'location' => 'aws.query',
  787. ),
  788. ),
  789. 'errorResponses' => array(
  790. array(
  791. 'reason' => 'The requested cache cluster ID does not refer to an existing cache cluster.',
  792. 'class' => 'CacheClusterNotFoundException',
  793. ),
  794. array(
  795. 'reason' => 'The requested cache cluster is not in the available state.',
  796. 'class' => 'InvalidCacheClusterStateException',
  797. ),
  798. array(
  799. 'reason' => 'You already have a snapshot with the given name.',
  800. 'class' => 'SnapshotAlreadyExistsException',
  801. ),
  802. array(
  803. 'reason' => 'You attempted one of the following actions: Creating a snapshot of a Redis cache cluster running on a t1.micro cache node. Creating a snapshot of a cache cluster that is running Memcached rather than Redis. Neither of these are supported by ElastiCache.',
  804. 'class' => 'SnapshotFeatureNotSupportedException',
  805. ),
  806. array(
  807. 'reason' => 'The request cannot be processed because it would exceed the maximum number of snapshots.',
  808. 'class' => 'SnapshotQuotaExceededException',
  809. ),
  810. array(
  811. 'reason' => 'The value for a parameter is invalid.',
  812. 'class' => 'InvalidParameterValueException',
  813. ),
  814. array(
  815. 'reason' => 'Two or more incompatible parameters were specified.',
  816. 'class' => 'InvalidParameterCombinationException',
  817. ),
  818. ),
  819. ),
  820. 'DeleteCacheParameterGroup' => array(
  821. 'httpMethod' => 'POST',
  822. 'uri' => '/',
  823. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  824. 'responseClass' => 'EmptyOutput',
  825. 'responseType' => 'model',
  826. 'parameters' => array(
  827. 'Action' => array(
  828. 'static' => true,
  829. 'location' => 'aws.query',
  830. 'default' => 'DeleteCacheParameterGroup',
  831. ),
  832. 'Version' => array(
  833. 'static' => true,
  834. 'location' => 'aws.query',
  835. 'default' => '2014-09-30',
  836. ),
  837. 'CacheParameterGroupName' => array(
  838. 'required' => true,
  839. 'type' => 'string',
  840. 'location' => 'aws.query',
  841. ),
  842. ),
  843. 'errorResponses' => array(
  844. array(
  845. 'reason' => 'The current state of the cache parameter group does not allow the requested action to occur.',
  846. 'class' => 'InvalidCacheParameterGroupStateException',
  847. ),
  848. array(
  849. 'reason' => 'The requested cache parameter group name does not refer to an existing cache parameter group.',
  850. 'class' => 'CacheParameterGroupNotFoundException',
  851. ),
  852. array(
  853. 'reason' => 'The value for a parameter is invalid.',
  854. 'class' => 'InvalidParameterValueException',
  855. ),
  856. array(
  857. 'reason' => 'Two or more incompatible parameters were specified.',
  858. 'class' => 'InvalidParameterCombinationException',
  859. ),
  860. ),
  861. ),
  862. 'DeleteCacheSecurityGroup' => array(
  863. 'httpMethod' => 'POST',
  864. 'uri' => '/',
  865. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  866. 'responseClass' => 'EmptyOutput',
  867. 'responseType' => 'model',
  868. 'parameters' => array(
  869. 'Action' => array(
  870. 'static' => true,
  871. 'location' => 'aws.query',
  872. 'default' => 'DeleteCacheSecurityGroup',
  873. ),
  874. 'Version' => array(
  875. 'static' => true,
  876. 'location' => 'aws.query',
  877. 'default' => '2014-09-30',
  878. ),
  879. 'CacheSecurityGroupName' => array(
  880. 'required' => true,
  881. 'type' => 'string',
  882. 'location' => 'aws.query',
  883. ),
  884. ),
  885. 'errorResponses' => array(
  886. array(
  887. 'reason' => 'The current state of the cache security group does not allow deletion.',
  888. 'class' => 'InvalidCacheSecurityGroupStateException',
  889. ),
  890. array(
  891. 'reason' => 'The requested cache security group name does not refer to an existing cache security group.',
  892. 'class' => 'CacheSecurityGroupNotFoundException',
  893. ),
  894. array(
  895. 'reason' => 'The value for a parameter is invalid.',
  896. 'class' => 'InvalidParameterValueException',
  897. ),
  898. array(
  899. 'reason' => 'Two or more incompatible parameters were specified.',
  900. 'class' => 'InvalidParameterCombinationException',
  901. ),
  902. ),
  903. ),
  904. 'DeleteCacheSubnetGroup' => array(
  905. 'httpMethod' => 'POST',
  906. 'uri' => '/',
  907. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  908. 'responseClass' => 'EmptyOutput',
  909. 'responseType' => 'model',
  910. 'parameters' => array(
  911. 'Action' => array(
  912. 'static' => true,
  913. 'location' => 'aws.query',
  914. 'default' => 'DeleteCacheSubnetGroup',
  915. ),
  916. 'Version' => array(
  917. 'static' => true,
  918. 'location' => 'aws.query',
  919. 'default' => '2014-09-30',
  920. ),
  921. 'CacheSubnetGroupName' => array(
  922. 'required' => true,
  923. 'type' => 'string',
  924. 'location' => 'aws.query',
  925. ),
  926. ),
  927. 'errorResponses' => array(
  928. array(
  929. 'reason' => 'The requested cache subnet group is currently in use.',
  930. 'class' => 'CacheSubnetGroupInUseException',
  931. ),
  932. array(
  933. 'reason' => 'The requested cache subnet group name does not refer to an existing cache subnet group.',
  934. 'class' => 'CacheSubnetGroupNotFoundException',
  935. ),
  936. ),
  937. ),
  938. 'DeleteReplicationGroup' => array(
  939. 'httpMethod' => 'POST',
  940. 'uri' => '/',
  941. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  942. 'responseClass' => 'ReplicationGroupWrapper',
  943. 'responseType' => 'model',
  944. 'parameters' => array(
  945. 'Action' => array(
  946. 'static' => true,
  947. 'location' => 'aws.query',
  948. 'default' => 'DeleteReplicationGroup',
  949. ),
  950. 'Version' => array(
  951. 'static' => true,
  952. 'location' => 'aws.query',
  953. 'default' => '2014-09-30',
  954. ),
  955. 'ReplicationGroupId' => array(
  956. 'required' => true,
  957. 'type' => 'string',
  958. 'location' => 'aws.query',
  959. ),
  960. 'RetainPrimaryCluster' => array(
  961. 'type' => 'boolean',
  962. 'format' => 'boolean-string',
  963. 'location' => 'aws.query',
  964. ),
  965. 'FinalSnapshotIdentifier' => array(
  966. 'type' => 'string',
  967. 'location' => 'aws.query',
  968. ),
  969. ),
  970. 'errorResponses' => array(
  971. array(
  972. 'reason' => 'The specified replication group does not exist.',
  973. 'class' => 'ReplicationGroupNotFoundException',
  974. ),
  975. array(
  976. 'reason' => 'The requested replication group is not in the available state.',
  977. 'class' => 'InvalidReplicationGroupStateException',
  978. ),
  979. array(
  980. 'reason' => 'You already have a snapshot with the given name.',
  981. 'class' => 'SnapshotAlreadyExistsException',
  982. ),
  983. array(
  984. 'reason' => 'You attempted one of the following actions: Creating a snapshot of a Redis cache cluster running on a t1.micro cache node. Creating a snapshot of a cache cluster that is running Memcached rather than Redis. Neither of these are supported by ElastiCache.',
  985. 'class' => 'SnapshotFeatureNotSupportedException',
  986. ),
  987. array(
  988. 'reason' => 'The request cannot be processed because it would exceed the maximum number of snapshots.',
  989. 'class' => 'SnapshotQuotaExceededException',
  990. ),
  991. array(
  992. 'reason' => 'The value for a parameter is invalid.',
  993. 'class' => 'InvalidParameterValueException',
  994. ),
  995. array(
  996. 'reason' => 'Two or more incompatible parameters were specified.',
  997. 'class' => 'InvalidParameterCombinationException',
  998. ),
  999. ),
  1000. ),
  1001. 'DeleteSnapshot' => array(
  1002. 'httpMethod' => 'POST',
  1003. 'uri' => '/',
  1004. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1005. 'responseClass' => 'SnapshotWrapper',
  1006. 'responseType' => 'model',
  1007. 'parameters' => array(
  1008. 'Action' => array(
  1009. 'static' => true,
  1010. 'location' => 'aws.query',
  1011. 'default' => 'DeleteSnapshot',
  1012. ),
  1013. 'Version' => array(
  1014. 'static' => true,
  1015. 'location' => 'aws.query',
  1016. 'default' => '2014-09-30',
  1017. ),
  1018. 'SnapshotName' => array(
  1019. 'required' => true,
  1020. 'type' => 'string',
  1021. 'location' => 'aws.query',
  1022. ),
  1023. ),
  1024. 'errorResponses' => array(
  1025. array(
  1026. 'reason' => 'The requested snapshot name does not refer to an existing snapshot.',
  1027. 'class' => 'SnapshotNotFoundException',
  1028. ),
  1029. array(
  1030. 'reason' => 'The current state of the snapshot does not allow the requested action to occur.',
  1031. 'class' => 'InvalidSnapshotStateException',
  1032. ),
  1033. array(
  1034. 'reason' => 'The value for a parameter is invalid.',
  1035. 'class' => 'InvalidParameterValueException',
  1036. ),
  1037. array(
  1038. 'reason' => 'Two or more incompatible parameters were specified.',
  1039. 'class' => 'InvalidParameterCombinationException',
  1040. ),
  1041. ),
  1042. ),
  1043. 'DescribeCacheClusters' => array(
  1044. 'httpMethod' => 'POST',
  1045. 'uri' => '/',
  1046. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1047. 'responseClass' => 'CacheClusterMessage',
  1048. 'responseType' => 'model',
  1049. 'parameters' => array(
  1050. 'Action' => array(
  1051. 'static' => true,
  1052. 'location' => 'aws.query',
  1053. 'default' => 'DescribeCacheClusters',
  1054. ),
  1055. 'Version' => array(
  1056. 'static' => true,
  1057. 'location' => 'aws.query',
  1058. 'default' => '2014-09-30',
  1059. ),
  1060. 'CacheClusterId' => array(
  1061. 'type' => 'string',
  1062. 'location' => 'aws.query',
  1063. ),
  1064. 'MaxRecords' => array(
  1065. 'type' => 'numeric',
  1066. 'location' => 'aws.query',
  1067. ),
  1068. 'Marker' => array(
  1069. 'type' => 'string',
  1070. 'location' => 'aws.query',
  1071. ),
  1072. 'ShowCacheNodeInfo' => array(
  1073. 'type' => 'boolean',
  1074. 'format' => 'boolean-string',
  1075. 'location' => 'aws.query',
  1076. ),
  1077. ),
  1078. 'errorResponses' => array(
  1079. array(
  1080. 'reason' => 'The requested cache cluster ID does not refer to an existing cache cluster.',
  1081. 'class' => 'CacheClusterNotFoundException',
  1082. ),
  1083. array(
  1084. 'reason' => 'The value for a parameter is invalid.',
  1085. 'class' => 'InvalidParameterValueException',
  1086. ),
  1087. array(
  1088. 'reason' => 'Two or more incompatible parameters were specified.',
  1089. 'class' => 'InvalidParameterCombinationException',
  1090. ),
  1091. ),
  1092. ),
  1093. 'DescribeCacheEngineVersions' => array(
  1094. 'httpMethod' => 'POST',
  1095. 'uri' => '/',
  1096. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1097. 'responseClass' => 'CacheEngineVersionMessage',
  1098. 'responseType' => 'model',
  1099. 'parameters' => array(
  1100. 'Action' => array(
  1101. 'static' => true,
  1102. 'location' => 'aws.query',
  1103. 'default' => 'DescribeCacheEngineVersions',
  1104. ),
  1105. 'Version' => array(
  1106. 'static' => true,
  1107. 'location' => 'aws.query',
  1108. 'default' => '2014-09-30',
  1109. ),
  1110. 'Engine' => array(
  1111. 'type' => 'string',
  1112. 'location' => 'aws.query',
  1113. ),
  1114. 'EngineVersion' => array(
  1115. 'type' => 'string',
  1116. 'location' => 'aws.query',
  1117. ),
  1118. 'CacheParameterGroupFamily' => array(
  1119. 'type' => 'string',
  1120. 'location' => 'aws.query',
  1121. ),
  1122. 'MaxRecords' => array(
  1123. 'type' => 'numeric',
  1124. 'location' => 'aws.query',
  1125. ),
  1126. 'Marker' => array(
  1127. 'type' => 'string',
  1128. 'location' => 'aws.query',
  1129. ),
  1130. 'DefaultOnly' => array(
  1131. 'type' => 'boolean',
  1132. 'format' => 'boolean-string',
  1133. 'location' => 'aws.query',
  1134. ),
  1135. ),
  1136. ),
  1137. 'DescribeCacheParameterGroups' => array(
  1138. 'httpMethod' => 'POST',
  1139. 'uri' => '/',
  1140. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1141. 'responseClass' => 'CacheParameterGroupsMessage',
  1142. 'responseType' => 'model',
  1143. 'parameters' => array(
  1144. 'Action' => array(
  1145. 'static' => true,
  1146. 'location' => 'aws.query',
  1147. 'default' => 'DescribeCacheParameterGroups',
  1148. ),
  1149. 'Version' => array(
  1150. 'static' => true,
  1151. 'location' => 'aws.query',
  1152. 'default' => '2014-09-30',
  1153. ),
  1154. 'CacheParameterGroupName' => array(
  1155. 'type' => 'string',
  1156. 'location' => 'aws.query',
  1157. ),
  1158. 'MaxRecords' => array(
  1159. 'type' => 'numeric',
  1160. 'location' => 'aws.query',
  1161. ),
  1162. 'Marker' => array(
  1163. 'type' => 'string',
  1164. 'location' => 'aws.query',
  1165. ),
  1166. ),
  1167. 'errorResponses' => array(
  1168. array(
  1169. 'reason' => 'The requested cac