/api/vendor/aws/aws-sdk-php/src/Aws/OpsWorks/Resources/opsworks-2013-02-18.php

https://gitlab.com/x33n/respond · PHP · 1307 lines · 1291 code · 2 blank · 14 comment · 0 complexity · 9f0903eaee4f586ecee2b754bb0ed2c8 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' => '2013-02-18',
  18. 'endpointPrefix' => 'opsworks',
  19. 'serviceFullName' => 'AWS OpsWorks',
  20. 'serviceType' => 'json',
  21. 'jsonVersion' => '1.1',
  22. 'targetPrefix' => 'OpsWorks_20130218.',
  23. 'signatureVersion' => 'v4',
  24. 'namespace' => 'OpsWorks',
  25. 'regions' => array(
  26. 'us-east-1' => array(
  27. 'http' => false,
  28. 'https' => true,
  29. 'hostname' => 'opsworks.us-east-1.amazonaws.com',
  30. ),
  31. ),
  32. 'operations' => array(
  33. 'AssignInstance' => array(
  34. 'httpMethod' => 'POST',
  35. 'uri' => '/',
  36. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  37. 'responseClass' => 'EmptyOutput',
  38. 'responseType' => 'model',
  39. 'parameters' => array(
  40. 'Content-Type' => array(
  41. 'static' => true,
  42. 'location' => 'header',
  43. 'default' => 'application/x-amz-json-1.1',
  44. ),
  45. 'command.expects' => array(
  46. 'static' => true,
  47. 'default' => 'application/json',
  48. ),
  49. 'X-Amz-Target' => array(
  50. 'static' => true,
  51. 'location' => 'header',
  52. 'default' => 'OpsWorks_20130218.AssignInstance',
  53. ),
  54. 'InstanceId' => array(
  55. 'required' => true,
  56. 'type' => 'string',
  57. 'location' => 'json',
  58. ),
  59. 'LayerIds' => array(
  60. 'required' => true,
  61. 'type' => 'array',
  62. 'location' => 'json',
  63. 'items' => array(
  64. 'name' => 'String',
  65. 'type' => 'string',
  66. ),
  67. ),
  68. ),
  69. 'errorResponses' => array(
  70. array(
  71. 'reason' => 'Indicates that a request was invalid.',
  72. 'class' => 'ValidationException',
  73. ),
  74. array(
  75. 'reason' => 'Indicates that a resource was not found.',
  76. 'class' => 'ResourceNotFoundException',
  77. ),
  78. ),
  79. ),
  80. 'AssignVolume' => array(
  81. 'httpMethod' => 'POST',
  82. 'uri' => '/',
  83. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  84. 'responseClass' => 'EmptyOutput',
  85. 'responseType' => 'model',
  86. 'parameters' => array(
  87. 'Content-Type' => array(
  88. 'static' => true,
  89. 'location' => 'header',
  90. 'default' => 'application/x-amz-json-1.1',
  91. ),
  92. 'command.expects' => array(
  93. 'static' => true,
  94. 'default' => 'application/json',
  95. ),
  96. 'X-Amz-Target' => array(
  97. 'static' => true,
  98. 'location' => 'header',
  99. 'default' => 'OpsWorks_20130218.AssignVolume',
  100. ),
  101. 'VolumeId' => array(
  102. 'required' => true,
  103. 'type' => 'string',
  104. 'location' => 'json',
  105. ),
  106. 'InstanceId' => array(
  107. 'type' => 'string',
  108. 'location' => 'json',
  109. ),
  110. ),
  111. 'errorResponses' => array(
  112. array(
  113. 'reason' => 'Indicates that a request was invalid.',
  114. 'class' => 'ValidationException',
  115. ),
  116. array(
  117. 'reason' => 'Indicates that a resource was not found.',
  118. 'class' => 'ResourceNotFoundException',
  119. ),
  120. ),
  121. ),
  122. 'AssociateElasticIp' => array(
  123. 'httpMethod' => 'POST',
  124. 'uri' => '/',
  125. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  126. 'responseClass' => 'EmptyOutput',
  127. 'responseType' => 'model',
  128. 'parameters' => array(
  129. 'Content-Type' => array(
  130. 'static' => true,
  131. 'location' => 'header',
  132. 'default' => 'application/x-amz-json-1.1',
  133. ),
  134. 'command.expects' => array(
  135. 'static' => true,
  136. 'default' => 'application/json',
  137. ),
  138. 'X-Amz-Target' => array(
  139. 'static' => true,
  140. 'location' => 'header',
  141. 'default' => 'OpsWorks_20130218.AssociateElasticIp',
  142. ),
  143. 'ElasticIp' => array(
  144. 'required' => true,
  145. 'type' => 'string',
  146. 'location' => 'json',
  147. ),
  148. 'InstanceId' => array(
  149. 'type' => 'string',
  150. 'location' => 'json',
  151. ),
  152. ),
  153. 'errorResponses' => array(
  154. array(
  155. 'reason' => 'Indicates that a request was invalid.',
  156. 'class' => 'ValidationException',
  157. ),
  158. array(
  159. 'reason' => 'Indicates that a resource was not found.',
  160. 'class' => 'ResourceNotFoundException',
  161. ),
  162. ),
  163. ),
  164. 'AttachElasticLoadBalancer' => array(
  165. 'httpMethod' => 'POST',
  166. 'uri' => '/',
  167. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  168. 'responseClass' => 'EmptyOutput',
  169. 'responseType' => 'model',
  170. 'parameters' => array(
  171. 'Content-Type' => array(
  172. 'static' => true,
  173. 'location' => 'header',
  174. 'default' => 'application/x-amz-json-1.1',
  175. ),
  176. 'command.expects' => array(
  177. 'static' => true,
  178. 'default' => 'application/json',
  179. ),
  180. 'X-Amz-Target' => array(
  181. 'static' => true,
  182. 'location' => 'header',
  183. 'default' => 'OpsWorks_20130218.AttachElasticLoadBalancer',
  184. ),
  185. 'ElasticLoadBalancerName' => array(
  186. 'required' => true,
  187. 'type' => 'string',
  188. 'location' => 'json',
  189. ),
  190. 'LayerId' => array(
  191. 'required' => true,
  192. 'type' => 'string',
  193. 'location' => 'json',
  194. ),
  195. ),
  196. 'errorResponses' => array(
  197. array(
  198. 'reason' => 'Indicates that a request was invalid.',
  199. 'class' => 'ValidationException',
  200. ),
  201. array(
  202. 'reason' => 'Indicates that a resource was not found.',
  203. 'class' => 'ResourceNotFoundException',
  204. ),
  205. ),
  206. ),
  207. 'CloneStack' => array(
  208. 'httpMethod' => 'POST',
  209. 'uri' => '/',
  210. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  211. 'responseClass' => 'CloneStackResult',
  212. 'responseType' => 'model',
  213. 'parameters' => array(
  214. 'Content-Type' => array(
  215. 'static' => true,
  216. 'location' => 'header',
  217. 'default' => 'application/x-amz-json-1.1',
  218. ),
  219. 'command.expects' => array(
  220. 'static' => true,
  221. 'default' => 'application/json',
  222. ),
  223. 'X-Amz-Target' => array(
  224. 'static' => true,
  225. 'location' => 'header',
  226. 'default' => 'OpsWorks_20130218.CloneStack',
  227. ),
  228. 'SourceStackId' => array(
  229. 'required' => true,
  230. 'type' => 'string',
  231. 'location' => 'json',
  232. ),
  233. 'Name' => array(
  234. 'type' => 'string',
  235. 'location' => 'json',
  236. ),
  237. 'Region' => array(
  238. 'type' => 'string',
  239. 'location' => 'json',
  240. ),
  241. 'VpcId' => array(
  242. 'type' => 'string',
  243. 'location' => 'json',
  244. ),
  245. 'Attributes' => array(
  246. 'type' => 'object',
  247. 'location' => 'json',
  248. 'additionalProperties' => array(
  249. 'type' => 'string',
  250. 'data' => array(
  251. 'shape_name' => 'StackAttributesKeys',
  252. ),
  253. ),
  254. ),
  255. 'ServiceRoleArn' => array(
  256. 'required' => true,
  257. 'type' => 'string',
  258. 'location' => 'json',
  259. ),
  260. 'DefaultInstanceProfileArn' => array(
  261. 'type' => 'string',
  262. 'location' => 'json',
  263. ),
  264. 'DefaultOs' => array(
  265. 'type' => 'string',
  266. 'location' => 'json',
  267. ),
  268. 'HostnameTheme' => array(
  269. 'type' => 'string',
  270. 'location' => 'json',
  271. ),
  272. 'DefaultAvailabilityZone' => array(
  273. 'type' => 'string',
  274. 'location' => 'json',
  275. ),
  276. 'DefaultSubnetId' => array(
  277. 'type' => 'string',
  278. 'location' => 'json',
  279. ),
  280. 'CustomJson' => array(
  281. 'type' => 'string',
  282. 'location' => 'json',
  283. ),
  284. 'ConfigurationManager' => array(
  285. 'type' => 'object',
  286. 'location' => 'json',
  287. 'properties' => array(
  288. 'Name' => array(
  289. 'type' => 'string',
  290. ),
  291. 'Version' => array(
  292. 'type' => 'string',
  293. ),
  294. ),
  295. ),
  296. 'ChefConfiguration' => array(
  297. 'type' => 'object',
  298. 'location' => 'json',
  299. 'properties' => array(
  300. 'ManageBerkshelf' => array(
  301. 'type' => 'boolean',
  302. 'format' => 'boolean-string',
  303. ),
  304. 'BerkshelfVersion' => array(
  305. 'type' => 'string',
  306. ),
  307. ),
  308. ),
  309. 'UseCustomCookbooks' => array(
  310. 'type' => 'boolean',
  311. 'format' => 'boolean-string',
  312. 'location' => 'json',
  313. ),
  314. 'UseOpsworksSecurityGroups' => array(
  315. 'type' => 'boolean',
  316. 'format' => 'boolean-string',
  317. 'location' => 'json',
  318. ),
  319. 'CustomCookbooksSource' => array(
  320. 'type' => 'object',
  321. 'location' => 'json',
  322. 'properties' => array(
  323. 'Type' => array(
  324. 'type' => 'string',
  325. ),
  326. 'Url' => array(
  327. 'type' => 'string',
  328. ),
  329. 'Username' => array(
  330. 'type' => 'string',
  331. ),
  332. 'Password' => array(
  333. 'type' => 'string',
  334. ),
  335. 'SshKey' => array(
  336. 'type' => 'string',
  337. ),
  338. 'Revision' => array(
  339. 'type' => 'string',
  340. ),
  341. ),
  342. ),
  343. 'DefaultSshKeyName' => array(
  344. 'type' => 'string',
  345. 'location' => 'json',
  346. ),
  347. 'ClonePermissions' => array(
  348. 'type' => 'boolean',
  349. 'format' => 'boolean-string',
  350. 'location' => 'json',
  351. ),
  352. 'CloneAppIds' => array(
  353. 'type' => 'array',
  354. 'location' => 'json',
  355. 'items' => array(
  356. 'name' => 'String',
  357. 'type' => 'string',
  358. ),
  359. ),
  360. 'DefaultRootDeviceType' => array(
  361. 'type' => 'string',
  362. 'location' => 'json',
  363. ),
  364. ),
  365. 'errorResponses' => array(
  366. array(
  367. 'reason' => 'Indicates that a request was invalid.',
  368. 'class' => 'ValidationException',
  369. ),
  370. array(
  371. 'reason' => 'Indicates that a resource was not found.',
  372. 'class' => 'ResourceNotFoundException',
  373. ),
  374. ),
  375. ),
  376. 'CreateApp' => array(
  377. 'httpMethod' => 'POST',
  378. 'uri' => '/',
  379. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  380. 'responseClass' => 'CreateAppResult',
  381. 'responseType' => 'model',
  382. 'parameters' => array(
  383. 'Content-Type' => array(
  384. 'static' => true,
  385. 'location' => 'header',
  386. 'default' => 'application/x-amz-json-1.1',
  387. ),
  388. 'command.expects' => array(
  389. 'static' => true,
  390. 'default' => 'application/json',
  391. ),
  392. 'X-Amz-Target' => array(
  393. 'static' => true,
  394. 'location' => 'header',
  395. 'default' => 'OpsWorks_20130218.CreateApp',
  396. ),
  397. 'StackId' => array(
  398. 'required' => true,
  399. 'type' => 'string',
  400. 'location' => 'json',
  401. ),
  402. 'Shortname' => array(
  403. 'type' => 'string',
  404. 'location' => 'json',
  405. ),
  406. 'Name' => array(
  407. 'required' => true,
  408. 'type' => 'string',
  409. 'location' => 'json',
  410. ),
  411. 'Description' => array(
  412. 'type' => 'string',
  413. 'location' => 'json',
  414. ),
  415. 'DataSources' => array(
  416. 'type' => 'array',
  417. 'location' => 'json',
  418. 'items' => array(
  419. 'name' => 'DataSource',
  420. 'type' => 'object',
  421. 'properties' => array(
  422. 'Type' => array(
  423. 'type' => 'string',
  424. ),
  425. 'Arn' => array(
  426. 'type' => 'string',
  427. ),
  428. 'DatabaseName' => array(
  429. 'type' => 'string',
  430. ),
  431. ),
  432. ),
  433. ),
  434. 'Type' => array(
  435. 'required' => true,
  436. 'type' => 'string',
  437. 'location' => 'json',
  438. ),
  439. 'AppSource' => array(
  440. 'type' => 'object',
  441. 'location' => 'json',
  442. 'properties' => array(
  443. 'Type' => array(
  444. 'type' => 'string',
  445. ),
  446. 'Url' => array(
  447. 'type' => 'string',
  448. ),
  449. 'Username' => array(
  450. 'type' => 'string',
  451. ),
  452. 'Password' => array(
  453. 'type' => 'string',
  454. ),
  455. 'SshKey' => array(
  456. 'type' => 'string',
  457. ),
  458. 'Revision' => array(
  459. 'type' => 'string',
  460. ),
  461. ),
  462. ),
  463. 'Domains' => array(
  464. 'type' => 'array',
  465. 'location' => 'json',
  466. 'items' => array(
  467. 'name' => 'String',
  468. 'type' => 'string',
  469. ),
  470. ),
  471. 'EnableSsl' => array(
  472. 'type' => 'boolean',
  473. 'format' => 'boolean-string',
  474. 'location' => 'json',
  475. ),
  476. 'SslConfiguration' => array(
  477. 'type' => 'object',
  478. 'location' => 'json',
  479. 'properties' => array(
  480. 'Certificate' => array(
  481. 'required' => true,
  482. 'type' => 'string',
  483. ),
  484. 'PrivateKey' => array(
  485. 'required' => true,
  486. 'type' => 'string',
  487. ),
  488. 'Chain' => array(
  489. 'type' => 'string',
  490. ),
  491. ),
  492. ),
  493. 'Attributes' => array(
  494. 'type' => 'object',
  495. 'location' => 'json',
  496. 'additionalProperties' => array(
  497. 'type' => 'string',
  498. 'data' => array(
  499. 'shape_name' => 'AppAttributesKeys',
  500. ),
  501. ),
  502. ),
  503. 'Environment' => array(
  504. 'type' => 'array',
  505. 'location' => 'json',
  506. 'items' => array(
  507. 'name' => 'EnvironmentVariable',
  508. 'type' => 'object',
  509. 'properties' => array(
  510. 'Key' => array(
  511. 'required' => true,
  512. 'type' => 'string',
  513. ),
  514. 'Value' => array(
  515. 'required' => true,
  516. 'type' => 'string',
  517. ),
  518. 'Secure' => array(
  519. 'type' => 'boolean',
  520. 'format' => 'boolean-string',
  521. ),
  522. ),
  523. ),
  524. ),
  525. ),
  526. 'errorResponses' => array(
  527. array(
  528. 'reason' => 'Indicates that a request was invalid.',
  529. 'class' => 'ValidationException',
  530. ),
  531. array(
  532. 'reason' => 'Indicates that a resource was not found.',
  533. 'class' => 'ResourceNotFoundException',
  534. ),
  535. ),
  536. ),
  537. 'CreateDeployment' => array(
  538. 'httpMethod' => 'POST',
  539. 'uri' => '/',
  540. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  541. 'responseClass' => 'CreateDeploymentResult',
  542. 'responseType' => 'model',
  543. 'parameters' => array(
  544. 'Content-Type' => array(
  545. 'static' => true,
  546. 'location' => 'header',
  547. 'default' => 'application/x-amz-json-1.1',
  548. ),
  549. 'command.expects' => array(
  550. 'static' => true,
  551. 'default' => 'application/json',
  552. ),
  553. 'X-Amz-Target' => array(
  554. 'static' => true,
  555. 'location' => 'header',
  556. 'default' => 'OpsWorks_20130218.CreateDeployment',
  557. ),
  558. 'StackId' => array(
  559. 'required' => true,
  560. 'type' => 'string',
  561. 'location' => 'json',
  562. ),
  563. 'AppId' => array(
  564. 'type' => 'string',
  565. 'location' => 'json',
  566. ),
  567. 'InstanceIds' => array(
  568. 'type' => 'array',
  569. 'location' => 'json',
  570. 'items' => array(
  571. 'name' => 'String',
  572. 'type' => 'string',
  573. ),
  574. ),
  575. 'Command' => array(
  576. 'required' => true,
  577. 'type' => 'object',
  578. 'location' => 'json',
  579. 'properties' => array(
  580. 'Name' => array(
  581. 'required' => true,
  582. 'type' => 'string',
  583. ),
  584. 'Args' => array(
  585. 'type' => 'object',
  586. 'additionalProperties' => array(
  587. 'type' => 'array',
  588. 'data' => array(
  589. 'shape_name' => 'String',
  590. ),
  591. 'items' => array(
  592. 'name' => 'String',
  593. 'type' => 'string',
  594. ),
  595. ),
  596. ),
  597. ),
  598. ),
  599. 'Comment' => array(
  600. 'type' => 'string',
  601. 'location' => 'json',
  602. ),
  603. 'CustomJson' => array(
  604. 'type' => 'string',
  605. 'location' => 'json',
  606. ),
  607. ),
  608. 'errorResponses' => array(
  609. array(
  610. 'reason' => 'Indicates that a request was invalid.',
  611. 'class' => 'ValidationException',
  612. ),
  613. array(
  614. 'reason' => 'Indicates that a resource was not found.',
  615. 'class' => 'ResourceNotFoundException',
  616. ),
  617. ),
  618. ),
  619. 'CreateInstance' => array(
  620. 'httpMethod' => 'POST',
  621. 'uri' => '/',
  622. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  623. 'responseClass' => 'CreateInstanceResult',
  624. 'responseType' => 'model',
  625. 'parameters' => array(
  626. 'Content-Type' => array(
  627. 'static' => true,
  628. 'location' => 'header',
  629. 'default' => 'application/x-amz-json-1.1',
  630. ),
  631. 'command.expects' => array(
  632. 'static' => true,
  633. 'default' => 'application/json',
  634. ),
  635. 'X-Amz-Target' => array(
  636. 'static' => true,
  637. 'location' => 'header',
  638. 'default' => 'OpsWorks_20130218.CreateInstance',
  639. ),
  640. 'StackId' => array(
  641. 'required' => true,
  642. 'type' => 'string',
  643. 'location' => 'json',
  644. ),
  645. 'LayerIds' => array(
  646. 'required' => true,
  647. 'type' => 'array',
  648. 'location' => 'json',
  649. 'items' => array(
  650. 'name' => 'String',
  651. 'type' => 'string',
  652. ),
  653. ),
  654. 'InstanceType' => array(
  655. 'required' => true,
  656. 'type' => 'string',
  657. 'location' => 'json',
  658. ),
  659. 'AutoScalingType' => array(
  660. 'type' => 'string',
  661. 'location' => 'json',
  662. ),
  663. 'Hostname' => array(
  664. 'type' => 'string',
  665. 'location' => 'json',
  666. ),
  667. 'Os' => array(
  668. 'type' => 'string',
  669. 'location' => 'json',
  670. ),
  671. 'AmiId' => array(
  672. 'type' => 'string',
  673. 'location' => 'json',
  674. ),
  675. 'SshKeyName' => array(
  676. 'type' => 'string',
  677. 'location' => 'json',
  678. ),
  679. 'AvailabilityZone' => array(
  680. 'type' => 'string',
  681. 'location' => 'json',
  682. ),
  683. 'VirtualizationType' => array(
  684. 'type' => 'string',
  685. 'location' => 'json',
  686. ),
  687. 'SubnetId' => array(
  688. 'type' => 'string',
  689. 'location' => 'json',
  690. ),
  691. 'Architecture' => array(
  692. 'type' => 'string',
  693. 'location' => 'json',
  694. ),
  695. 'RootDeviceType' => array(
  696. 'type' => 'string',
  697. 'location' => 'json',
  698. ),
  699. 'InstallUpdatesOnBoot' => array(
  700. 'type' => 'boolean',
  701. 'format' => 'boolean-string',
  702. 'location' => 'json',
  703. ),
  704. 'EbsOptimized' => array(
  705. 'type' => 'boolean',
  706. 'format' => 'boolean-string',
  707. 'location' => 'json',
  708. ),
  709. ),
  710. 'errorResponses' => array(
  711. array(
  712. 'reason' => 'Indicates that a request was invalid.',
  713. 'class' => 'ValidationException',
  714. ),
  715. array(
  716. 'reason' => 'Indicates that a resource was not found.',
  717. 'class' => 'ResourceNotFoundException',
  718. ),
  719. ),
  720. ),
  721. 'CreateLayer' => array(
  722. 'httpMethod' => 'POST',
  723. 'uri' => '/',
  724. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  725. 'responseClass' => 'CreateLayerResult',
  726. 'responseType' => 'model',
  727. 'parameters' => array(
  728. 'Content-Type' => array(
  729. 'static' => true,
  730. 'location' => 'header',
  731. 'default' => 'application/x-amz-json-1.1',
  732. ),
  733. 'command.expects' => array(
  734. 'static' => true,
  735. 'default' => 'application/json',
  736. ),
  737. 'X-Amz-Target' => array(
  738. 'static' => true,
  739. 'location' => 'header',
  740. 'default' => 'OpsWorks_20130218.CreateLayer',
  741. ),
  742. 'StackId' => array(
  743. 'required' => true,
  744. 'type' => 'string',
  745. 'location' => 'json',
  746. ),
  747. 'Type' => array(
  748. 'required' => true,
  749. 'type' => 'string',
  750. 'location' => 'json',
  751. ),
  752. 'Name' => array(
  753. 'required' => true,
  754. 'type' => 'string',
  755. 'location' => 'json',
  756. ),
  757. 'Shortname' => array(
  758. 'required' => true,
  759. 'type' => 'string',
  760. 'location' => 'json',
  761. ),
  762. 'Attributes' => array(
  763. 'type' => 'object',
  764. 'location' => 'json',
  765. 'additionalProperties' => array(
  766. 'type' => 'string',
  767. 'data' => array(
  768. 'shape_name' => 'LayerAttributesKeys',
  769. ),
  770. ),
  771. ),
  772. 'CustomInstanceProfileArn' => array(
  773. 'type' => 'string',
  774. 'location' => 'json',
  775. ),
  776. 'CustomSecurityGroupIds' => array(
  777. 'type' => 'array',
  778. 'location' => 'json',
  779. 'items' => array(
  780. 'name' => 'String',
  781. 'type' => 'string',
  782. ),
  783. ),
  784. 'Packages' => array(
  785. 'type' => 'array',
  786. 'location' => 'json',
  787. 'items' => array(
  788. 'name' => 'String',
  789. 'type' => 'string',
  790. ),
  791. ),
  792. 'VolumeConfigurations' => array(
  793. 'type' => 'array',
  794. 'location' => 'json',
  795. 'items' => array(
  796. 'name' => 'VolumeConfiguration',
  797. 'type' => 'object',
  798. 'properties' => array(
  799. 'MountPoint' => array(
  800. 'required' => true,
  801. 'type' => 'string',
  802. ),
  803. 'RaidLevel' => array(
  804. 'type' => 'numeric',
  805. ),
  806. 'NumberOfDisks' => array(
  807. 'required' => true,
  808. 'type' => 'numeric',
  809. ),
  810. 'Size' => array(
  811. 'required' => true,
  812. 'type' => 'numeric',
  813. ),
  814. 'VolumeType' => array(
  815. 'type' => 'string',
  816. ),
  817. 'Iops' => array(
  818. 'type' => 'numeric',
  819. ),
  820. ),
  821. ),
  822. ),
  823. 'EnableAutoHealing' => array(
  824. 'type' => 'boolean',
  825. 'format' => 'boolean-string',
  826. 'location' => 'json',
  827. ),
  828. 'AutoAssignElasticIps' => array(
  829. 'type' => 'boolean',
  830. 'format' => 'boolean-string',
  831. 'location' => 'json',
  832. ),
  833. 'AutoAssignPublicIps' => array(
  834. 'type' => 'boolean',
  835. 'format' => 'boolean-string',
  836. 'location' => 'json',
  837. ),
  838. 'CustomRecipes' => array(
  839. 'type' => 'object',
  840. 'location' => 'json',
  841. 'properties' => array(
  842. 'Setup' => array(
  843. 'type' => 'array',
  844. 'items' => array(
  845. 'name' => 'String',
  846. 'type' => 'string',
  847. ),
  848. ),
  849. 'Configure' => array(
  850. 'type' => 'array',
  851. 'items' => array(
  852. 'name' => 'String',
  853. 'type' => 'string',
  854. ),
  855. ),
  856. 'Deploy' => array(
  857. 'type' => 'array',
  858. 'items' => array(
  859. 'name' => 'String',
  860. 'type' => 'string',
  861. ),
  862. ),
  863. 'Undeploy' => array(
  864. 'type' => 'array',
  865. 'items' => array(
  866. 'name' => 'String',
  867. 'type' => 'string',
  868. ),
  869. ),
  870. 'Shutdown' => array(
  871. 'type' => 'array',
  872. 'items' => array(
  873. 'name' => 'String',
  874. 'type' => 'string',
  875. ),
  876. ),
  877. ),
  878. ),
  879. 'InstallUpdatesOnBoot' => array(
  880. 'type' => 'boolean',
  881. 'format' => 'boolean-string',
  882. 'location' => 'json',
  883. ),
  884. 'UseEbsOptimizedInstances' => array(
  885. 'type' => 'boolean',
  886. 'format' => 'boolean-string',
  887. 'location' => 'json',
  888. ),
  889. 'LifecycleEventConfiguration' => array(
  890. 'type' => 'object',
  891. 'location' => 'json',
  892. 'properties' => array(
  893. 'Shutdown' => array(
  894. 'type' => 'object',
  895. 'properties' => array(
  896. 'ExecutionTimeout' => array(
  897. 'type' => 'numeric',
  898. ),
  899. 'DelayUntilElbConnectionsDrained' => array(
  900. 'type' => 'boolean',
  901. 'format' => 'boolean-string',
  902. ),
  903. ),
  904. ),
  905. ),
  906. ),
  907. ),
  908. 'errorResponses' => array(
  909. array(
  910. 'reason' => 'Indicates that a request was invalid.',
  911. 'class' => 'ValidationException',
  912. ),
  913. array(
  914. 'reason' => 'Indicates that a resource was not found.',
  915. 'class' => 'ResourceNotFoundException',
  916. ),
  917. ),
  918. ),
  919. 'CreateStack' => array(
  920. 'httpMethod' => 'POST',
  921. 'uri' => '/',
  922. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  923. 'responseClass' => 'CreateStackResult',
  924. 'responseType' => 'model',
  925. 'parameters' => array(
  926. 'Content-Type' => array(
  927. 'static' => true,
  928. 'location' => 'header',
  929. 'default' => 'application/x-amz-json-1.1',
  930. ),
  931. 'command.expects' => array(
  932. 'static' => true,
  933. 'default' => 'application/json',
  934. ),
  935. 'X-Amz-Target' => array(
  936. 'static' => true,
  937. 'location' => 'header',
  938. 'default' => 'OpsWorks_20130218.CreateStack',
  939. ),
  940. 'Name' => array(
  941. 'required' => true,
  942. 'type' => 'string',
  943. 'location' => 'json',
  944. ),
  945. 'Region' => array(
  946. 'required' => true,
  947. 'type' => 'string',
  948. 'location' => 'json',
  949. ),
  950. 'VpcId' => array(
  951. 'type' => 'string',
  952. 'location' => 'json',
  953. ),
  954. 'Attributes' => array(
  955. 'type' => 'object',
  956. 'location' => 'json',
  957. 'additionalProperties' => array(
  958. 'type' => 'string',
  959. 'data' => array(
  960. 'shape_name' => 'StackAttributesKeys',
  961. ),
  962. ),
  963. ),
  964. 'ServiceRoleArn' => array(
  965. 'required' => true,
  966. 'type' => 'string',
  967. 'location' => 'json',
  968. ),
  969. 'DefaultInstanceProfileArn' => array(
  970. 'required' => true,
  971. 'type' => 'string',
  972. 'location' => 'json',
  973. ),
  974. 'DefaultOs' => array(
  975. 'type' => 'string',
  976. 'location' => 'json',
  977. ),
  978. 'HostnameTheme' => array(
  979. 'type' => 'string',
  980. 'location' => 'json',
  981. ),
  982. 'DefaultAvailabilityZone' => array(
  983. 'type' => 'string',
  984. 'location' => 'json',
  985. ),
  986. 'DefaultSubnetId' => array(
  987. 'type' => 'string',
  988. 'location' => 'json',
  989. ),
  990. 'CustomJson' => array(
  991. 'type' => 'string',
  992. 'location' => 'json',
  993. ),
  994. 'ConfigurationManager' => array(
  995. 'type' => 'object',
  996. 'location' => 'json',
  997. 'properties' => array(
  998. 'Name' => array(
  999. 'type' => 'string',
  1000. ),
  1001. 'Version' => array(
  1002. 'type' => 'string',
  1003. ),
  1004. ),
  1005. ),
  1006. 'ChefConfiguration' => array(
  1007. 'type' => 'object',
  1008. 'location' => 'json',
  1009. 'properties' => array(
  1010. 'ManageBerkshelf' => array(
  1011. 'type' => 'boolean',
  1012. 'format' => 'boolean-string',
  1013. ),
  1014. 'BerkshelfVersion' => array(
  1015. 'type' => 'string',
  1016. ),
  1017. ),
  1018. ),
  1019. 'UseCustomCookbooks' => array(
  1020. 'type' => 'boolean',
  1021. 'format' => 'boolean-string',
  1022. 'location' => 'json',
  1023. ),
  1024. 'UseOpsworksSecurityGroups' => array(
  1025. 'type' => 'boolean',
  1026. 'format' => 'boolean-string',
  1027. 'location' => 'json',
  1028. ),
  1029. 'CustomCookbooksSource' => array(
  1030. 'type' => 'object',
  1031. 'location' => 'json',
  1032. 'properties' => array(
  1033. 'Type' => array(
  1034. 'type' => 'string',
  1035. ),
  1036. 'Url' => array(
  1037. 'type' => 'string',
  1038. ),
  1039. 'Username' => array(
  1040. 'type' => 'string',
  1041. ),
  1042. 'Password' => array(
  1043. 'type' => 'string',
  1044. ),
  1045. 'SshKey' => array(
  1046. 'type' => 'string',
  1047. ),
  1048. 'Revision' => array(
  1049. 'type' => 'string',
  1050. ),
  1051. ),
  1052. ),
  1053. 'DefaultSshKeyName' => array(
  1054. 'type' => 'string',
  1055. 'location' => 'json',
  1056. ),
  1057. 'DefaultRootDeviceType' => array(
  1058. 'type' => 'string',
  1059. 'location' => 'json',
  1060. ),
  1061. ),
  1062. 'errorResponses' => array(
  1063. array(
  1064. 'reason' => 'Indicates that a request was invalid.',
  1065. 'class' => 'ValidationException',
  1066. ),
  1067. ),
  1068. ),
  1069. 'CreateUserProfile' => array(
  1070. 'httpMethod' => 'POST',
  1071. 'uri' => '/',
  1072. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1073. 'responseClass' => 'CreateUserProfileResult',
  1074. 'responseType' => 'model',
  1075. 'parameters' => array(
  1076. 'Content-Type' => array(
  1077. 'static' => true,
  1078. 'location' => 'header',
  1079. 'default' => 'application/x-amz-json-1.1',
  1080. ),
  1081. 'command.expects' => array(
  1082. 'static' => true,
  1083. 'default' => 'application/json',
  1084. ),
  1085. 'X-Amz-Target' => array(
  1086. 'static' => true,
  1087. 'location' => 'header',
  1088. 'default' => 'OpsWorks_20130218.CreateUserProfile',
  1089. ),
  1090. 'IamUserArn' => array(
  1091. 'required' => true,
  1092. 'type' => 'string',
  1093. 'location' => 'json',
  1094. ),
  1095. 'SshUsername' => array(
  1096. 'type' => 'string',
  1097. 'location' => 'json',
  1098. ),
  1099. 'SshPublicKey' => array(
  1100. 'type' => 'string',
  1101. 'location' => 'json',
  1102. ),
  1103. 'AllowSelfManagement' => array(
  1104. 'type' => 'boolean',
  1105. 'format' => 'boolean-string',
  1106. 'location' => 'json',
  1107. ),
  1108. ),
  1109. 'errorResponses' => array(
  1110. array(
  1111. 'reason' => 'Indicates that a request was invalid.',
  1112. 'class' => 'ValidationException',
  1113. ),
  1114. ),
  1115. ),
  1116. 'DeleteApp' => array(
  1117. 'httpMethod' => 'POST',
  1118. 'uri' => '/',
  1119. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1120. 'responseClass' => 'EmptyOutput',
  1121. 'responseType' => 'model',
  1122. 'parameters' => array(
  1123. 'Content-Type' => array(
  1124. 'static' => true,
  1125. 'location' => 'header',
  1126. 'default' => 'application/x-amz-json-1.1',
  1127. ),
  1128. 'command.expects' => array(
  1129. 'static' => true,
  1130. 'default' => 'application/json',
  1131. ),
  1132. 'X-Amz-Target' => array(
  1133. 'static' => true,
  1134. 'location' => 'header',
  1135. 'default' => 'OpsWorks_20130218.DeleteApp',
  1136. ),
  1137. 'AppId' => array(
  1138. 'required' => true,
  1139. 'type' => 'string',
  1140. 'location' => 'json',
  1141. ),
  1142. ),
  1143. 'errorResponses' => array(
  1144. array(
  1145. 'reason' => 'Indicates that a request was invalid.',
  1146. 'class' => 'ValidationException',
  1147. ),
  1148. array(
  1149. 'reason' => 'Indicates that a resource was not found.',
  1150. 'class' => 'ResourceNotFoundException',
  1151. ),
  1152. ),
  1153. ),
  1154. 'DeleteInstance' => array(
  1155. 'httpMethod' => 'POST',
  1156. 'uri' => '/',
  1157. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1158. 'responseClass' => 'EmptyOutput',
  1159. 'responseType' => 'model',
  1160. 'parameters' => array(
  1161. 'Content-Type' => array(
  1162. 'static' => true,
  1163. 'location' => 'header',
  1164. 'default' => 'application/x-amz-json-1.1',
  1165. ),
  1166. 'command.expects' => array(
  1167. 'static' => true,
  1168. 'default' => 'application/json',
  1169. ),
  1170. 'X-Amz-Target' => array(
  1171. 'static' => true,
  1172. 'location' => 'header',
  1173. 'default' => 'OpsWorks_20130218.DeleteInstance',
  1174. ),
  1175. 'InstanceId' => array(
  1176. 'required' => true,
  1177. 'type' => 'string',
  1178. 'location' => 'json',
  1179. ),
  1180. 'DeleteElasticIp' => array(
  1181. 'type' => 'boolean',
  1182. 'format' => 'boolean-string',
  1183. 'location' => 'json',
  1184. ),
  1185. 'DeleteVolumes' => array(
  1186. 'type' => 'boolean',
  1187. 'format' => 'boolean-string',
  1188. 'location' => 'json',
  1189. ),
  1190. ),
  1191. 'errorResponses' => array(
  1192. array(
  1193. 'reason' => 'Indicates that a request was invalid.',
  1194. 'class' => 'ValidationException',
  1195. ),
  1196. array(
  1197. 'reason' => 'Indicates that a resource was not found.',
  1198. 'class' => 'ResourceNotFoundException',
  1199. ),
  1200. ),
  1201. ),
  1202. 'DeleteLayer' => array(
  1203. 'httpMethod' => 'POST',
  1204. 'uri' => '/',
  1205. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1206. 'responseClass' => 'EmptyOutput',
  1207. 'responseType' => 'model',
  1208. 'parameters' => array(
  1209. 'Content-Type' => array(
  1210. 'static' => true,
  1211. 'location' => 'header',
  1212. 'default' => 'application/x-amz-json-1.1',
  1213. ),
  1214. 'command.expects' => array(
  1215. 'static' => true,
  1216. 'default' => 'application/json',
  1217. ),
  1218. 'X-Amz-Target' => array(
  1219. 'static' => true,
  1220. 'location' => 'header',
  1221. 'default' => 'OpsWorks_20130218.DeleteLayer',
  1222. ),
  1223. 'LayerId' => array(
  1224. 'required' => true,
  1225. 'type' => 'string',
  1226. 'location' => 'json',
  1227. ),
  1228. ),
  1229. 'errorResponses' => array(
  1230. array(
  1231. 'reason' => 'Indicates that a request was invalid.',
  1232. 'class' => 'ValidationException',
  1233. ),
  1234. array(
  1235. 'reason' => 'Indicates that a resource was not found.',
  1236. 'class' => 'ResourceNotFoundException',
  1237. ),
  1238. ),
  1239. ),
  1240. 'DeleteStack' => array(
  1241. 'httpMethod' => 'POST',
  1242. 'uri' => '/',
  1243. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1244. 'responseClass' => 'EmptyOutput',
  1245. 'responseType' => 'model',
  1246. 'parameters' => array(
  1247. 'Content-Type' => array(
  1248. 'static' => true,
  1249. 'location' => 'header',
  1250. 'default' => 'application/x-amz-json-1.1',
  1251. ),
  1252. 'command.expects' => array(
  1253. 'static' => true,
  1254. 'default' => 'application/json',
  1255. ),
  1256. 'X-Amz-Target' => array(
  1257. 'static' => true,
  1258. 'location' => 'header',
  1259. 'default' => 'OpsWorks_20130218.DeleteStack',
  1260. ),
  1261. 'StackId' => array(
  1262. 'required' => true,
  1263. 'type' => 'string',
  1264. 'location' => 'json',
  1265. ),
  1266. ),
  1267. 'errorResponses' => array(
  1268. array(
  1269. 'reason' => 'Indicates that a request was invalid.',
  1270. 'class' => 'ValidationException',
  1271. ),
  1272. array(
  1273. 'reason' => 'Indicates that a resource was not found.',
  1274. 'class' => 'ResourceNotFoundException',
  1275. ),
  1276. ),
  1277. ),
  1278. 'DeleteUserProfile' => array(
  1279. 'httpMethod' => 'POST',
  1280. 'uri' => '/',
  1281. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1282. 'responseClass' => 'EmptyOutput',
  1283. 'responseType' => 'model',
  1284. 'parameters' => array(
  1285. 'Content-Type' => array(
  1286. 'static' => true,
  1287. 'location' => 'header',
  1288. 'default' => 'application/x-amz-json-1.1',
  1289. ),
  1290. 'command.expects' => array(
  1291. 'static' => true,
  1292. 'default' => 'application/json',
  1293. ),
  1294. 'X-Amz-Target' => array(
  1295. 'static' => true,
  1296. 'location' => 'header',
  1297. 'default' => 'OpsWorks_20130218.DeleteUserProfile',
  1298. ),
  1299. 'IamUserArn' => array(
  1300. 'required' => true,
  1301. 'type' => 'string',
  1302. 'location' => 'json',
  1303. ),
  1304. ),
  1305. 'errorResponses' => array(