/api/vendor/aws/aws-sdk-php/src/Aws/Rds/Resources/rds-2014-09-01.php

https://gitlab.com/x33n/respond · PHP · 1207 lines · 1191 code · 2 blank · 14 comment · 0 complexity · cef457f9be7e41441f6ee84b5f243767 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-01',
  18. 'endpointPrefix' => 'rds',
  19. 'serviceFullName' => 'Amazon Relational Database Service',
  20. 'serviceAbbreviation' => 'Amazon RDS',
  21. 'serviceType' => 'query',
  22. 'resultWrapped' => true,
  23. 'signatureVersion' => 'v4',
  24. 'namespace' => 'Rds',
  25. 'regions' => array(
  26. 'us-east-1' => array(
  27. 'http' => false,
  28. 'https' => true,
  29. 'hostname' => 'rds.us-east-1.amazonaws.com',
  30. ),
  31. 'us-west-1' => array(
  32. 'http' => false,
  33. 'https' => true,
  34. 'hostname' => 'rds.us-west-1.amazonaws.com',
  35. ),
  36. 'us-west-2' => array(
  37. 'http' => false,
  38. 'https' => true,
  39. 'hostname' => 'rds.us-west-2.amazonaws.com',
  40. ),
  41. 'eu-west-1' => array(
  42. 'http' => false,
  43. 'https' => true,
  44. 'hostname' => 'rds.eu-west-1.amazonaws.com',
  45. ),
  46. 'ap-northeast-1' => array(
  47. 'http' => false,
  48. 'https' => true,
  49. 'hostname' => 'rds.ap-northeast-1.amazonaws.com',
  50. ),
  51. 'ap-southeast-1' => array(
  52. 'http' => false,
  53. 'https' => true,
  54. 'hostname' => 'rds.ap-southeast-1.amazonaws.com',
  55. ),
  56. 'ap-southeast-2' => array(
  57. 'http' => false,
  58. 'https' => true,
  59. 'hostname' => 'rds.ap-southeast-2.amazonaws.com',
  60. ),
  61. 'sa-east-1' => array(
  62. 'http' => false,
  63. 'https' => true,
  64. 'hostname' => 'rds.sa-east-1.amazonaws.com',
  65. ),
  66. 'cn-north-1' => array(
  67. 'http' => false,
  68. 'https' => true,
  69. 'hostname' => 'rds.cn-north-1.amazonaws.com.cn',
  70. ),
  71. 'us-gov-west-1' => array(
  72. 'http' => false,
  73. 'https' => true,
  74. 'hostname' => 'rds.us-gov-west-1.amazonaws.com',
  75. ),
  76. ),
  77. 'operations' => array(
  78. 'AddSourceIdentifierToSubscription' => array(
  79. 'httpMethod' => 'POST',
  80. 'uri' => '/',
  81. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  82. 'responseClass' => 'EventSubscriptionWrapper',
  83. 'responseType' => 'model',
  84. 'parameters' => array(
  85. 'Action' => array(
  86. 'static' => true,
  87. 'location' => 'aws.query',
  88. 'default' => 'AddSourceIdentifierToSubscription',
  89. ),
  90. 'Version' => array(
  91. 'static' => true,
  92. 'location' => 'aws.query',
  93. 'default' => '2014-09-01',
  94. ),
  95. 'SubscriptionName' => array(
  96. 'required' => true,
  97. 'type' => 'string',
  98. 'location' => 'aws.query',
  99. ),
  100. 'SourceIdentifier' => array(
  101. 'required' => true,
  102. 'type' => 'string',
  103. 'location' => 'aws.query',
  104. ),
  105. ),
  106. 'errorResponses' => array(
  107. array(
  108. 'reason' => 'The subscription name does not exist.',
  109. 'class' => 'SubscriptionNotFoundException',
  110. ),
  111. array(
  112. 'reason' => 'The requested source could not be found.',
  113. 'class' => 'SourceNotFoundException',
  114. ),
  115. ),
  116. ),
  117. 'AddTagsToResource' => array(
  118. 'httpMethod' => 'POST',
  119. 'uri' => '/',
  120. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  121. 'responseClass' => 'EmptyOutput',
  122. 'responseType' => 'model',
  123. 'parameters' => array(
  124. 'Action' => array(
  125. 'static' => true,
  126. 'location' => 'aws.query',
  127. 'default' => 'AddTagsToResource',
  128. ),
  129. 'Version' => array(
  130. 'static' => true,
  131. 'location' => 'aws.query',
  132. 'default' => '2014-09-01',
  133. ),
  134. 'ResourceName' => array(
  135. 'required' => true,
  136. 'type' => 'string',
  137. 'location' => 'aws.query',
  138. ),
  139. 'Tags' => array(
  140. 'required' => true,
  141. 'type' => 'array',
  142. 'location' => 'aws.query',
  143. 'sentAs' => 'Tags.member',
  144. 'items' => array(
  145. 'name' => 'Tag',
  146. 'type' => 'object',
  147. 'properties' => array(
  148. 'Key' => array(
  149. 'type' => 'string',
  150. ),
  151. 'Value' => array(
  152. 'type' => 'string',
  153. ),
  154. ),
  155. ),
  156. ),
  157. ),
  158. 'errorResponses' => array(
  159. array(
  160. 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.',
  161. 'class' => 'DBInstanceNotFoundException',
  162. ),
  163. array(
  164. 'reason' => 'DBSnapshotIdentifier does not refer to an existing DB snapshot.',
  165. 'class' => 'DBSnapshotNotFoundException',
  166. ),
  167. ),
  168. ),
  169. 'AuthorizeDBSecurityGroupIngress' => array(
  170. 'httpMethod' => 'POST',
  171. 'uri' => '/',
  172. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  173. 'responseClass' => 'DBSecurityGroupWrapper',
  174. 'responseType' => 'model',
  175. 'parameters' => array(
  176. 'Action' => array(
  177. 'static' => true,
  178. 'location' => 'aws.query',
  179. 'default' => 'AuthorizeDBSecurityGroupIngress',
  180. ),
  181. 'Version' => array(
  182. 'static' => true,
  183. 'location' => 'aws.query',
  184. 'default' => '2014-09-01',
  185. ),
  186. 'DBSecurityGroupName' => array(
  187. 'required' => true,
  188. 'type' => 'string',
  189. 'location' => 'aws.query',
  190. ),
  191. 'CIDRIP' => array(
  192. 'type' => 'string',
  193. 'location' => 'aws.query',
  194. ),
  195. 'EC2SecurityGroupName' => array(
  196. 'type' => 'string',
  197. 'location' => 'aws.query',
  198. ),
  199. 'EC2SecurityGroupId' => array(
  200. 'type' => 'string',
  201. 'location' => 'aws.query',
  202. ),
  203. 'EC2SecurityGroupOwnerId' => array(
  204. 'type' => 'string',
  205. 'location' => 'aws.query',
  206. ),
  207. ),
  208. 'errorResponses' => array(
  209. array(
  210. 'reason' => 'DBSecurityGroupName does not refer to an existing DB security group.',
  211. 'class' => 'DBSecurityGroupNotFoundException',
  212. ),
  213. array(
  214. 'reason' => 'The state of the DB security group does not allow deletion.',
  215. 'class' => 'InvalidDBSecurityGroupStateException',
  216. ),
  217. array(
  218. 'reason' => 'The specified CIDRIP or EC2 security group is already authorized for the specified DB security group.',
  219. 'class' => 'AuthorizationAlreadyExistsException',
  220. ),
  221. array(
  222. 'reason' => 'DB security group authorization quota has been reached.',
  223. 'class' => 'AuthorizationQuotaExceededException',
  224. ),
  225. ),
  226. ),
  227. 'CopyDBParameterGroup' => array(
  228. 'httpMethod' => 'POST',
  229. 'uri' => '/',
  230. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  231. 'responseClass' => 'DBParameterGroupWrapper',
  232. 'responseType' => 'model',
  233. 'parameters' => array(
  234. 'Action' => array(
  235. 'static' => true,
  236. 'location' => 'aws.query',
  237. 'default' => 'CopyDBParameterGroup',
  238. ),
  239. 'Version' => array(
  240. 'static' => true,
  241. 'location' => 'aws.query',
  242. 'default' => '2014-09-01',
  243. ),
  244. 'SourceDBParameterGroupIdentifier' => array(
  245. 'required' => true,
  246. 'type' => 'string',
  247. 'location' => 'aws.query',
  248. ),
  249. 'TargetDBParameterGroupIdentifier' => array(
  250. 'required' => true,
  251. 'type' => 'string',
  252. 'location' => 'aws.query',
  253. ),
  254. 'TargetDBParameterGroupDescription' => array(
  255. 'required' => true,
  256. 'type' => 'string',
  257. 'location' => 'aws.query',
  258. ),
  259. 'Tags' => array(
  260. 'type' => 'array',
  261. 'location' => 'aws.query',
  262. 'sentAs' => 'Tags.member',
  263. 'items' => array(
  264. 'name' => 'Tag',
  265. 'type' => 'object',
  266. 'properties' => array(
  267. 'Key' => array(
  268. 'type' => 'string',
  269. ),
  270. 'Value' => array(
  271. 'type' => 'string',
  272. ),
  273. ),
  274. ),
  275. ),
  276. ),
  277. 'errorResponses' => array(
  278. array(
  279. 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.',
  280. 'class' => 'DBParameterGroupNotFoundException',
  281. ),
  282. array(
  283. 'reason' => 'A DB parameter group with the same name exists.',
  284. 'class' => 'DBParameterGroupAlreadyExistsException',
  285. ),
  286. array(
  287. 'reason' => 'Request would result in user exceeding the allowed number of DB parameter groups.',
  288. 'class' => 'DBParameterGroupQuotaExceededException',
  289. ),
  290. ),
  291. ),
  292. 'CopyDBSnapshot' => array(
  293. 'httpMethod' => 'POST',
  294. 'uri' => '/',
  295. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  296. 'responseClass' => 'DBSnapshotWrapper',
  297. 'responseType' => 'model',
  298. 'parameters' => array(
  299. 'Action' => array(
  300. 'static' => true,
  301. 'location' => 'aws.query',
  302. 'default' => 'CopyDBSnapshot',
  303. ),
  304. 'Version' => array(
  305. 'static' => true,
  306. 'location' => 'aws.query',
  307. 'default' => '2014-09-01',
  308. ),
  309. 'SourceDBSnapshotIdentifier' => array(
  310. 'required' => true,
  311. 'type' => 'string',
  312. 'location' => 'aws.query',
  313. ),
  314. 'TargetDBSnapshotIdentifier' => array(
  315. 'required' => true,
  316. 'type' => 'string',
  317. 'location' => 'aws.query',
  318. ),
  319. 'Tags' => array(
  320. 'type' => 'array',
  321. 'location' => 'aws.query',
  322. 'sentAs' => 'Tags.member',
  323. 'items' => array(
  324. 'name' => 'Tag',
  325. 'type' => 'object',
  326. 'properties' => array(
  327. 'Key' => array(
  328. 'type' => 'string',
  329. ),
  330. 'Value' => array(
  331. 'type' => 'string',
  332. ),
  333. ),
  334. ),
  335. ),
  336. ),
  337. 'errorResponses' => array(
  338. array(
  339. 'reason' => 'DBSnapshotIdentifier is already used by an existing snapshot.',
  340. 'class' => 'DBSnapshotAlreadyExistsException',
  341. ),
  342. array(
  343. 'reason' => 'DBSnapshotIdentifier does not refer to an existing DB snapshot.',
  344. 'class' => 'DBSnapshotNotFoundException',
  345. ),
  346. array(
  347. 'reason' => 'The state of the DB snapshot does not allow deletion.',
  348. 'class' => 'InvalidDBSnapshotStateException',
  349. ),
  350. array(
  351. 'reason' => 'Request would result in user exceeding the allowed number of DB snapshots.',
  352. 'class' => 'SnapshotQuotaExceededException',
  353. ),
  354. ),
  355. ),
  356. 'CopyOptionGroup' => array(
  357. 'httpMethod' => 'POST',
  358. 'uri' => '/',
  359. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  360. 'responseClass' => 'OptionGroupWrapper',
  361. 'responseType' => 'model',
  362. 'parameters' => array(
  363. 'Action' => array(
  364. 'static' => true,
  365. 'location' => 'aws.query',
  366. 'default' => 'CopyOptionGroup',
  367. ),
  368. 'Version' => array(
  369. 'static' => true,
  370. 'location' => 'aws.query',
  371. 'default' => '2014-09-01',
  372. ),
  373. 'SourceOptionGroupIdentifier' => array(
  374. 'required' => true,
  375. 'type' => 'string',
  376. 'location' => 'aws.query',
  377. ),
  378. 'TargetOptionGroupIdentifier' => array(
  379. 'required' => true,
  380. 'type' => 'string',
  381. 'location' => 'aws.query',
  382. ),
  383. 'TargetOptionGroupDescription' => array(
  384. 'required' => true,
  385. 'type' => 'string',
  386. 'location' => 'aws.query',
  387. ),
  388. 'Tags' => array(
  389. 'type' => 'array',
  390. 'location' => 'aws.query',
  391. 'sentAs' => 'Tags.member',
  392. 'items' => array(
  393. 'name' => 'Tag',
  394. 'type' => 'object',
  395. 'properties' => array(
  396. 'Key' => array(
  397. 'type' => 'string',
  398. ),
  399. 'Value' => array(
  400. 'type' => 'string',
  401. ),
  402. ),
  403. ),
  404. ),
  405. ),
  406. 'errorResponses' => array(
  407. array(
  408. 'reason' => 'The option group you are trying to create already exists.',
  409. 'class' => 'OptionGroupAlreadyExistsException',
  410. ),
  411. array(
  412. 'reason' => 'The specified option group could not be found.',
  413. 'class' => 'OptionGroupNotFoundException',
  414. ),
  415. array(
  416. 'reason' => 'The quota of 20 option groups was exceeded for this AWS account.',
  417. 'class' => 'OptionGroupQuotaExceededException',
  418. ),
  419. ),
  420. ),
  421. 'CreateDBInstance' => array(
  422. 'httpMethod' => 'POST',
  423. 'uri' => '/',
  424. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  425. 'responseClass' => 'DBInstanceWrapper',
  426. 'responseType' => 'model',
  427. 'parameters' => array(
  428. 'Action' => array(
  429. 'static' => true,
  430. 'location' => 'aws.query',
  431. 'default' => 'CreateDBInstance',
  432. ),
  433. 'Version' => array(
  434. 'static' => true,
  435. 'location' => 'aws.query',
  436. 'default' => '2014-09-01',
  437. ),
  438. 'DBName' => array(
  439. 'type' => 'string',
  440. 'location' => 'aws.query',
  441. ),
  442. 'DBInstanceIdentifier' => array(
  443. 'required' => true,
  444. 'type' => 'string',
  445. 'location' => 'aws.query',
  446. ),
  447. 'AllocatedStorage' => array(
  448. 'required' => true,
  449. 'type' => 'numeric',
  450. 'location' => 'aws.query',
  451. ),
  452. 'DBInstanceClass' => array(
  453. 'required' => true,
  454. 'type' => 'string',
  455. 'location' => 'aws.query',
  456. ),
  457. 'Engine' => array(
  458. 'required' => true,
  459. 'type' => 'string',
  460. 'location' => 'aws.query',
  461. ),
  462. 'MasterUsername' => array(
  463. 'required' => true,
  464. 'type' => 'string',
  465. 'location' => 'aws.query',
  466. ),
  467. 'MasterUserPassword' => array(
  468. 'required' => true,
  469. 'type' => 'string',
  470. 'location' => 'aws.query',
  471. ),
  472. 'DBSecurityGroups' => array(
  473. 'type' => 'array',
  474. 'location' => 'aws.query',
  475. 'sentAs' => 'DBSecurityGroups.member',
  476. 'items' => array(
  477. 'name' => 'DBSecurityGroupName',
  478. 'type' => 'string',
  479. ),
  480. ),
  481. 'VpcSecurityGroupIds' => array(
  482. 'type' => 'array',
  483. 'location' => 'aws.query',
  484. 'sentAs' => 'VpcSecurityGroupIds.member',
  485. 'items' => array(
  486. 'name' => 'VpcSecurityGroupId',
  487. 'type' => 'string',
  488. ),
  489. ),
  490. 'AvailabilityZone' => array(
  491. 'type' => 'string',
  492. 'location' => 'aws.query',
  493. ),
  494. 'DBSubnetGroupName' => array(
  495. 'type' => 'string',
  496. 'location' => 'aws.query',
  497. ),
  498. 'PreferredMaintenanceWindow' => array(
  499. 'type' => 'string',
  500. 'location' => 'aws.query',
  501. ),
  502. 'DBParameterGroupName' => array(
  503. 'type' => 'string',
  504. 'location' => 'aws.query',
  505. ),
  506. 'BackupRetentionPeriod' => array(
  507. 'type' => 'numeric',
  508. 'location' => 'aws.query',
  509. ),
  510. 'PreferredBackupWindow' => array(
  511. 'type' => 'string',
  512. 'location' => 'aws.query',
  513. ),
  514. 'Port' => array(
  515. 'type' => 'numeric',
  516. 'location' => 'aws.query',
  517. ),
  518. 'MultiAZ' => array(
  519. 'type' => 'boolean',
  520. 'format' => 'boolean-string',
  521. 'location' => 'aws.query',
  522. ),
  523. 'EngineVersion' => array(
  524. 'type' => 'string',
  525. 'location' => 'aws.query',
  526. ),
  527. 'AutoMinorVersionUpgrade' => array(
  528. 'type' => 'boolean',
  529. 'format' => 'boolean-string',
  530. 'location' => 'aws.query',
  531. ),
  532. 'LicenseModel' => array(
  533. 'type' => 'string',
  534. 'location' => 'aws.query',
  535. ),
  536. 'Iops' => array(
  537. 'type' => 'numeric',
  538. 'location' => 'aws.query',
  539. ),
  540. 'OptionGroupName' => array(
  541. 'type' => 'string',
  542. 'location' => 'aws.query',
  543. ),
  544. 'CharacterSetName' => array(
  545. 'type' => 'string',
  546. 'location' => 'aws.query',
  547. ),
  548. 'PubliclyAccessible' => array(
  549. 'type' => 'boolean',
  550. 'format' => 'boolean-string',
  551. 'location' => 'aws.query',
  552. ),
  553. 'Tags' => array(
  554. 'type' => 'array',
  555. 'location' => 'aws.query',
  556. 'sentAs' => 'Tags.member',
  557. 'items' => array(
  558. 'name' => 'Tag',
  559. 'type' => 'object',
  560. 'properties' => array(
  561. 'Key' => array(
  562. 'type' => 'string',
  563. ),
  564. 'Value' => array(
  565. 'type' => 'string',
  566. ),
  567. ),
  568. ),
  569. ),
  570. 'StorageType' => array(
  571. 'type' => 'string',
  572. 'location' => 'aws.query',
  573. ),
  574. 'TdeCredentialArn' => array(
  575. 'type' => 'string',
  576. 'location' => 'aws.query',
  577. ),
  578. 'TdeCredentialPassword' => array(
  579. 'type' => 'string',
  580. 'location' => 'aws.query',
  581. ),
  582. ),
  583. 'errorResponses' => array(
  584. array(
  585. 'reason' => 'User already has a DB instance with the given identifier.',
  586. 'class' => 'DBInstanceAlreadyExistsException',
  587. ),
  588. array(
  589. 'reason' => 'Specified DB instance class is not available in the specified Availability Zone.',
  590. 'class' => 'InsufficientDBInstanceCapacityException',
  591. ),
  592. array(
  593. 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.',
  594. 'class' => 'DBParameterGroupNotFoundException',
  595. ),
  596. array(
  597. 'reason' => 'DBSecurityGroupName does not refer to an existing DB security group.',
  598. 'class' => 'DBSecurityGroupNotFoundException',
  599. ),
  600. array(
  601. 'reason' => 'Request would result in user exceeding the allowed number of DB instances.',
  602. 'class' => 'InstanceQuotaExceededException',
  603. ),
  604. array(
  605. 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.',
  606. 'class' => 'StorageQuotaExceededException',
  607. ),
  608. array(
  609. 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.',
  610. 'class' => 'DBSubnetGroupNotFoundException',
  611. ),
  612. array(
  613. 'reason' => 'Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.',
  614. 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException',
  615. ),
  616. array(
  617. 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.',
  618. 'class' => 'InvalidSubnetException',
  619. ),
  620. array(
  621. 'reason' => 'DB subnet group does not cover all Availability Zones after it is created because users\' change.',
  622. 'class' => 'InvalidVPCNetworkStateException',
  623. ),
  624. array(
  625. 'reason' => 'Provisioned IOPS not available in the specified Availability Zone.',
  626. 'class' => 'ProvisionedIopsNotAvailableInAZException',
  627. ),
  628. array(
  629. 'reason' => 'The specified option group could not be found.',
  630. 'class' => 'OptionGroupNotFoundException',
  631. ),
  632. array(
  633. 'reason' => 'StorageType specified cannot be associated with the DB Instance.',
  634. 'class' => 'StorageTypeNotSupportedException',
  635. ),
  636. array(
  637. 'reason' => 'Specified CIDRIP or EC2 security group is not authorized for the specified DB security group. RDS may not also be authorized via IAM to perform necessary actions on your behalf.',
  638. 'class' => 'AuthorizationNotFoundException',
  639. ),
  640. ),
  641. ),
  642. 'CreateDBInstanceReadReplica' => array(
  643. 'httpMethod' => 'POST',
  644. 'uri' => '/',
  645. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  646. 'responseClass' => 'DBInstanceWrapper',
  647. 'responseType' => 'model',
  648. 'parameters' => array(
  649. 'Action' => array(
  650. 'static' => true,
  651. 'location' => 'aws.query',
  652. 'default' => 'CreateDBInstanceReadReplica',
  653. ),
  654. 'Version' => array(
  655. 'static' => true,
  656. 'location' => 'aws.query',
  657. 'default' => '2014-09-01',
  658. ),
  659. 'DBInstanceIdentifier' => array(
  660. 'required' => true,
  661. 'type' => 'string',
  662. 'location' => 'aws.query',
  663. ),
  664. 'SourceDBInstanceIdentifier' => array(
  665. 'required' => true,
  666. 'type' => 'string',
  667. 'location' => 'aws.query',
  668. ),
  669. 'DBInstanceClass' => array(
  670. 'type' => 'string',
  671. 'location' => 'aws.query',
  672. ),
  673. 'AvailabilityZone' => array(
  674. 'type' => 'string',
  675. 'location' => 'aws.query',
  676. ),
  677. 'Port' => array(
  678. 'type' => 'numeric',
  679. 'location' => 'aws.query',
  680. ),
  681. 'AutoMinorVersionUpgrade' => array(
  682. 'type' => 'boolean',
  683. 'format' => 'boolean-string',
  684. 'location' => 'aws.query',
  685. ),
  686. 'Iops' => array(
  687. 'type' => 'numeric',
  688. 'location' => 'aws.query',
  689. ),
  690. 'OptionGroupName' => array(
  691. 'type' => 'string',
  692. 'location' => 'aws.query',
  693. ),
  694. 'PubliclyAccessible' => array(
  695. 'type' => 'boolean',
  696. 'format' => 'boolean-string',
  697. 'location' => 'aws.query',
  698. ),
  699. 'Tags' => array(
  700. 'type' => 'array',
  701. 'location' => 'aws.query',
  702. 'sentAs' => 'Tags.member',
  703. 'items' => array(
  704. 'name' => 'Tag',
  705. 'type' => 'object',
  706. 'properties' => array(
  707. 'Key' => array(
  708. 'type' => 'string',
  709. ),
  710. 'Value' => array(
  711. 'type' => 'string',
  712. ),
  713. ),
  714. ),
  715. ),
  716. 'DBSubnetGroupName' => array(
  717. 'type' => 'string',
  718. 'location' => 'aws.query',
  719. ),
  720. 'StorageType' => array(
  721. 'type' => 'string',
  722. 'location' => 'aws.query',
  723. ),
  724. ),
  725. 'errorResponses' => array(
  726. array(
  727. 'reason' => 'User already has a DB instance with the given identifier.',
  728. 'class' => 'DBInstanceAlreadyExistsException',
  729. ),
  730. array(
  731. 'reason' => 'Specified DB instance class is not available in the specified Availability Zone.',
  732. 'class' => 'InsufficientDBInstanceCapacityException',
  733. ),
  734. array(
  735. 'reason' => 'DBParameterGroupName does not refer to an existing DB parameter group.',
  736. 'class' => 'DBParameterGroupNotFoundException',
  737. ),
  738. array(
  739. 'reason' => 'DBSecurityGroupName does not refer to an existing DB security group.',
  740. 'class' => 'DBSecurityGroupNotFoundException',
  741. ),
  742. array(
  743. 'reason' => 'Request would result in user exceeding the allowed number of DB instances.',
  744. 'class' => 'InstanceQuotaExceededException',
  745. ),
  746. array(
  747. 'reason' => 'Request would result in user exceeding the allowed amount of storage available across all DB instances.',
  748. 'class' => 'StorageQuotaExceededException',
  749. ),
  750. array(
  751. 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.',
  752. 'class' => 'DBInstanceNotFoundException',
  753. ),
  754. array(
  755. 'reason' => 'The specified DB instance is not in the available state.',
  756. 'class' => 'InvalidDBInstanceStateException',
  757. ),
  758. array(
  759. 'reason' => 'DBSubnetGroupName does not refer to an existing DB subnet group.',
  760. 'class' => 'DBSubnetGroupNotFoundException',
  761. ),
  762. array(
  763. 'reason' => 'Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.',
  764. 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException',
  765. ),
  766. array(
  767. 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.',
  768. 'class' => 'InvalidSubnetException',
  769. ),
  770. array(
  771. 'reason' => 'DB subnet group does not cover all Availability Zones after it is created because users\' change.',
  772. 'class' => 'InvalidVPCNetworkStateException',
  773. ),
  774. array(
  775. 'reason' => 'Provisioned IOPS not available in the specified Availability Zone.',
  776. 'class' => 'ProvisionedIopsNotAvailableInAZException',
  777. ),
  778. array(
  779. 'reason' => 'The specified option group could not be found.',
  780. 'class' => 'OptionGroupNotFoundException',
  781. ),
  782. array(
  783. 'reason' => 'Indicates that the DBSubnetGroup should not be specified while creating read replicas that lie in the same region as the source instance.',
  784. 'class' => 'DBSubnetGroupNotAllowedException',
  785. ),
  786. array(
  787. 'reason' => 'Indicates the DBSubnetGroup does not belong to the same VPC as that of an existing cross region read replica of the same source instance.',
  788. 'class' => 'InvalidDBSubnetGroupException',
  789. ),
  790. array(
  791. 'reason' => 'StorageType specified cannot be associated with the DB Instance.',
  792. 'class' => 'StorageTypeNotSupportedException',
  793. ),
  794. ),
  795. ),
  796. 'CreateDBParameterGroup' => array(
  797. 'httpMethod' => 'POST',
  798. 'uri' => '/',
  799. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  800. 'responseClass' => 'DBParameterGroupWrapper',
  801. 'responseType' => 'model',
  802. 'parameters' => array(
  803. 'Action' => array(
  804. 'static' => true,
  805. 'location' => 'aws.query',
  806. 'default' => 'CreateDBParameterGroup',
  807. ),
  808. 'Version' => array(
  809. 'static' => true,
  810. 'location' => 'aws.query',
  811. 'default' => '2014-09-01',
  812. ),
  813. 'DBParameterGroupName' => array(
  814. 'required' => true,
  815. 'type' => 'string',
  816. 'location' => 'aws.query',
  817. ),
  818. 'DBParameterGroupFamily' => array(
  819. 'required' => true,
  820. 'type' => 'string',
  821. 'location' => 'aws.query',
  822. ),
  823. 'Description' => array(
  824. 'required' => true,
  825. 'type' => 'string',
  826. 'location' => 'aws.query',
  827. ),
  828. 'Tags' => array(
  829. 'type' => 'array',
  830. 'location' => 'aws.query',
  831. 'sentAs' => 'Tags.member',
  832. 'items' => array(
  833. 'name' => 'Tag',
  834. 'type' => 'object',
  835. 'properties' => array(
  836. 'Key' => array(
  837. 'type' => 'string',
  838. ),
  839. 'Value' => array(
  840. 'type' => 'string',
  841. ),
  842. ),
  843. ),
  844. ),
  845. ),
  846. 'errorResponses' => array(
  847. array(
  848. 'reason' => 'Request would result in user exceeding the allowed number of DB parameter groups.',
  849. 'class' => 'DBParameterGroupQuotaExceededException',
  850. ),
  851. array(
  852. 'reason' => 'A DB parameter group with the same name exists.',
  853. 'class' => 'DBParameterGroupAlreadyExistsException',
  854. ),
  855. ),
  856. ),
  857. 'CreateDBSecurityGroup' => array(
  858. 'httpMethod' => 'POST',
  859. 'uri' => '/',
  860. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  861. 'responseClass' => 'DBSecurityGroupWrapper',
  862. 'responseType' => 'model',
  863. 'parameters' => array(
  864. 'Action' => array(
  865. 'static' => true,
  866. 'location' => 'aws.query',
  867. 'default' => 'CreateDBSecurityGroup',
  868. ),
  869. 'Version' => array(
  870. 'static' => true,
  871. 'location' => 'aws.query',
  872. 'default' => '2014-09-01',
  873. ),
  874. 'DBSecurityGroupName' => array(
  875. 'required' => true,
  876. 'type' => 'string',
  877. 'location' => 'aws.query',
  878. ),
  879. 'DBSecurityGroupDescription' => array(
  880. 'required' => true,
  881. 'type' => 'string',
  882. 'location' => 'aws.query',
  883. ),
  884. 'Tags' => array(
  885. 'type' => 'array',
  886. 'location' => 'aws.query',
  887. 'sentAs' => 'Tags.member',
  888. 'items' => array(
  889. 'name' => 'Tag',
  890. 'type' => 'object',
  891. 'properties' => array(
  892. 'Key' => array(
  893. 'type' => 'string',
  894. ),
  895. 'Value' => array(
  896. 'type' => 'string',
  897. ),
  898. ),
  899. ),
  900. ),
  901. ),
  902. 'errorResponses' => array(
  903. array(
  904. 'reason' => 'A DB security group with the name specified in DBSecurityGroupName already exists.',
  905. 'class' => 'DBSecurityGroupAlreadyExistsException',
  906. ),
  907. array(
  908. 'reason' => 'Request would result in user exceeding the allowed number of DB security groups.',
  909. 'class' => 'DBSecurityGroupQuotaExceededException',
  910. ),
  911. array(
  912. 'reason' => 'A DB security group is not allowed for this action.',
  913. 'class' => 'DBSecurityGroupNotSupportedException',
  914. ),
  915. ),
  916. ),
  917. 'CreateDBSnapshot' => array(
  918. 'httpMethod' => 'POST',
  919. 'uri' => '/',
  920. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  921. 'responseClass' => 'DBSnapshotWrapper',
  922. 'responseType' => 'model',
  923. 'parameters' => array(
  924. 'Action' => array(
  925. 'static' => true,
  926. 'location' => 'aws.query',
  927. 'default' => 'CreateDBSnapshot',
  928. ),
  929. 'Version' => array(
  930. 'static' => true,
  931. 'location' => 'aws.query',
  932. 'default' => '2014-09-01',
  933. ),
  934. 'DBSnapshotIdentifier' => array(
  935. 'required' => true,
  936. 'type' => 'string',
  937. 'location' => 'aws.query',
  938. ),
  939. 'DBInstanceIdentifier' => array(
  940. 'required' => true,
  941. 'type' => 'string',
  942. 'location' => 'aws.query',
  943. ),
  944. 'Tags' => array(
  945. 'type' => 'array',
  946. 'location' => 'aws.query',
  947. 'sentAs' => 'Tags.member',
  948. 'items' => array(
  949. 'name' => 'Tag',
  950. 'type' => 'object',
  951. 'properties' => array(
  952. 'Key' => array(
  953. 'type' => 'string',
  954. ),
  955. 'Value' => array(
  956. 'type' => 'string',
  957. ),
  958. ),
  959. ),
  960. ),
  961. ),
  962. 'errorResponses' => array(
  963. array(
  964. 'reason' => 'DBSnapshotIdentifier is already used by an existing snapshot.',
  965. 'class' => 'DBSnapshotAlreadyExistsException',
  966. ),
  967. array(
  968. 'reason' => 'The specified DB instance is not in the available state.',
  969. 'class' => 'InvalidDBInstanceStateException',
  970. ),
  971. array(
  972. 'reason' => 'DBInstanceIdentifier does not refer to an existing DB instance.',
  973. 'class' => 'DBInstanceNotFoundException',
  974. ),
  975. array(
  976. 'reason' => 'Request would result in user exceeding the allowed number of DB snapshots.',
  977. 'class' => 'SnapshotQuotaExceededException',
  978. ),
  979. ),
  980. ),
  981. 'CreateDBSubnetGroup' => array(
  982. 'httpMethod' => 'POST',
  983. 'uri' => '/',
  984. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  985. 'responseClass' => 'DBSubnetGroupWrapper',
  986. 'responseType' => 'model',
  987. 'parameters' => array(
  988. 'Action' => array(
  989. 'static' => true,
  990. 'location' => 'aws.query',
  991. 'default' => 'CreateDBSubnetGroup',
  992. ),
  993. 'Version' => array(
  994. 'static' => true,
  995. 'location' => 'aws.query',
  996. 'default' => '2014-09-01',
  997. ),
  998. 'DBSubnetGroupName' => array(
  999. 'required' => true,
  1000. 'type' => 'string',
  1001. 'location' => 'aws.query',
  1002. ),
  1003. 'DBSubnetGroupDescription' => array(
  1004. 'required' => true,
  1005. 'type' => 'string',
  1006. 'location' => 'aws.query',
  1007. ),
  1008. 'SubnetIds' => array(
  1009. 'required' => true,
  1010. 'type' => 'array',
  1011. 'location' => 'aws.query',
  1012. 'sentAs' => 'SubnetIds.member',
  1013. 'items' => array(
  1014. 'name' => 'SubnetIdentifier',
  1015. 'type' => 'string',
  1016. ),
  1017. ),
  1018. 'Tags' => array(
  1019. 'type' => 'array',
  1020. 'location' => 'aws.query',
  1021. 'sentAs' => 'Tags.member',
  1022. 'items' => array(
  1023. 'name' => 'Tag',
  1024. 'type' => 'object',
  1025. 'properties' => array(
  1026. 'Key' => array(
  1027. 'type' => 'string',
  1028. ),
  1029. 'Value' => array(
  1030. 'type' => 'string',
  1031. ),
  1032. ),
  1033. ),
  1034. ),
  1035. ),
  1036. 'errorResponses' => array(
  1037. array(
  1038. 'reason' => 'DBSubnetGroupName is already used by an existing DB subnet group.',
  1039. 'class' => 'DBSubnetGroupAlreadyExistsException',
  1040. ),
  1041. array(
  1042. 'reason' => 'Request would result in user exceeding the allowed number of DB subnet groups.',
  1043. 'class' => 'DBSubnetGroupQuotaExceededException',
  1044. ),
  1045. array(
  1046. 'reason' => 'Request would result in user exceeding the allowed number of subnets in a DB subnet groups.',
  1047. 'class' => 'DBSubnetQuotaExceededException',
  1048. ),
  1049. array(
  1050. 'reason' => 'Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.',
  1051. 'class' => 'DBSubnetGroupDoesNotCoverEnoughAZsException',
  1052. ),
  1053. array(
  1054. 'reason' => 'The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.',
  1055. 'class' => 'InvalidSubnetException',
  1056. ),
  1057. ),
  1058. ),
  1059. 'CreateEventSubscription' => array(
  1060. 'httpMethod' => 'POST',
  1061. 'uri' => '/',
  1062. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1063. 'responseClass' => 'EventSubscriptionWrapper',
  1064. 'responseType' => 'model',
  1065. 'parameters' => array(
  1066. 'Action' => array(
  1067. 'static' => true,
  1068. 'location' => 'aws.query',
  1069. 'default' => 'CreateEventSubscription',
  1070. ),
  1071. 'Version' => array(
  1072. 'static' => true,
  1073. 'location' => 'aws.query',
  1074. 'default' => '2014-09-01',
  1075. ),
  1076. 'SubscriptionName' => array(
  1077. 'required' => true,
  1078. 'type' => 'string',
  1079. 'location' => 'aws.query',
  1080. ),
  1081. 'SnsTopicArn' => array(
  1082. 'required' => true,
  1083. 'type' => 'string',
  1084. 'location' => 'aws.query',
  1085. ),
  1086. 'SourceType' => array(
  1087. 'type' => 'string',
  1088. 'location' => 'aws.query',
  1089. ),
  1090. 'EventCategories' => array(
  1091. 'type' => 'array',
  1092. 'location' => 'aws.query',
  1093. 'sentAs' => 'EventCategories.member',
  1094. 'items' => array(
  1095. 'name' => 'EventCategory',
  1096. 'type' => 'string',
  1097. ),
  1098. ),
  1099. 'SourceIds' => array(
  1100. 'type' => 'array',
  1101. 'location' => 'aws.query',
  1102. 'sentAs' => 'SourceIds.member',
  1103. 'items' => array(
  1104. 'name' => 'SourceId',
  1105. 'type' => 'string',
  1106. ),
  1107. ),
  1108. 'Enabled' => array(
  1109. 'type' => 'boolean',
  1110. 'format' => 'boolean-string',
  1111. 'location' => 'aws.query',
  1112. ),
  1113. 'Tags' => array(
  1114. 'type' => 'array',
  1115. 'location' => 'aws.query',
  1116. 'sentAs' => 'Tags.member',
  1117. 'items' => array(
  1118. 'name' => 'Tag',
  1119. 'type' => 'object',
  1120. 'properties' => array(
  1121. 'Key' => array(
  1122. 'type' => 'string',
  1123. ),
  1124. 'Value' => array(
  1125. 'type' => 'string',
  1126. ),
  1127. ),
  1128. ),
  1129. ),
  1130. ),
  1131. 'errorResponses' => array(
  1132. array(
  1133. 'reason' => 'You have reached the maximum number of event subscriptions.',
  1134. 'class' => 'EventSubscriptionQuotaExceededException',
  1135. ),
  1136. array(
  1137. 'reason' => 'The supplied subscription name already exists.',
  1138. 'class' => 'SubscriptionAlreadyExistException',
  1139. ),
  1140. array(
  1141. 'reason' => 'SNS has responded that there is a problem with the SND topic specified.',
  1142. 'class' => 'SNSInvalidTopicException',
  1143. ),
  1144. array(
  1145. 'reason' => 'You do not have permission to publish to the SNS topic ARN.',
  1146. 'class' => 'SNSNoAuthorizationException',
  1147. ),
  1148. array(
  1149. 'reason' => 'The SNS topic ARN does not exist.',
  1150. 'class' => 'SNSTopicArnNotFoundException',
  1151. ),
  1152. array(
  1153. 'reason' => 'The supplied category does not exist.',
  1154. 'class' => 'SubscriptionCategoryNotFoundException',
  1155. ),
  1156. array(
  1157. 'reason' => 'The requested source could not be found.',
  1158. 'class' => 'SourceNotFoundException',
  1159. ),
  1160. ),
  1161. ),
  1162. 'CreateOptionGroup' => array(
  1163. 'httpMethod' => 'POST',
  1164. 'uri' => '/',
  1165. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1166. 'responseClass' => 'OptionGroupWrapper',
  1167. 'responseType' => 'model',
  1168. 'parameters' => array(
  1169. 'Action' => array(
  1170. 'static' => true,
  1171. 'location' => 'aws.query',
  1172. 'default' => 'CreateOptionGroup',
  1173. ),
  1174. 'Version' => array(
  1175. 'static' => true,
  1176. 'location' => 'aws.query',
  1177. 'default' => '2014-09-01',
  1178. ),
  1179. 'OptionGroupName' => array(
  1180. 'required' => true,
  1181. 'type' => 'string',
  1182. 'location' => 'aws.query',
  1183. ),
  1184. 'EngineName' => array(
  1185. 'required' => true,
  1186. 'type' => 'string',
  1187. 'location' => 'aws.query',
  1188. ),
  1189. 'MajorEngineVersion' => array(
  1190. 'required' => true,
  1191. 'type' => 'string',
  1192. 'location' => 'aws.query',
  1193. ),
  1194. 'OptionGroupDescription' => array(
  1195. 'required' => true,
  1196. 'type' => 'string',
  1197. 'location' => 'aws.query',
  1198. ),
  1199. 'Tags' => array(
  1200. 'type' => 'array',
  1201. 'location' => 'aws.query',
  1202. 'sentAs' => 'Tags.member',
  1203. 'items' => array(
  1204. 'name' => 'Tag',
  1205. 'type' => 'object',