/api/vendor/aws/aws-sdk-php/src/Aws/CodeDeploy/Resources/codedeploy-2014-10-06.php

https://gitlab.com/x33n/respond · PHP · 1183 lines · 1167 code · 2 blank · 14 comment · 0 complexity · e02a0937415e4ecca1ace98760465f8b MD5 · raw file

  1. <?php
  2. /**
  3. * Copyright 2010-2014 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-10-06',
  18. 'endpointPrefix' => 'codedeploy',
  19. 'serviceFullName' => 'AWS CodeDeploy',
  20. 'serviceAbbreviation' => 'CodeDeploy',
  21. 'serviceType' => 'json',
  22. 'jsonVersion' => '1.1',
  23. 'targetPrefix' => 'CodeDeploy_20141006.',
  24. 'timestampFormat' => 'unixTimestamp',
  25. 'signatureVersion' => 'v4',
  26. 'namespace' => 'CodeDeploy',
  27. 'operations' => array(
  28. 'BatchGetApplications' => array(
  29. 'httpMethod' => 'POST',
  30. 'uri' => '/',
  31. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  32. 'responseClass' => 'BatchGetApplicationsOutput',
  33. 'responseType' => 'model',
  34. 'parameters' => array(
  35. 'Content-Type' => array(
  36. 'static' => true,
  37. 'location' => 'header',
  38. 'default' => 'application/x-amz-json-1.1',
  39. ),
  40. 'command.expects' => array(
  41. 'static' => true,
  42. 'default' => 'application/json',
  43. ),
  44. 'X-Amz-Target' => array(
  45. 'static' => true,
  46. 'location' => 'header',
  47. 'default' => 'CodeDeploy_20141006.BatchGetApplications',
  48. ),
  49. 'applicationNames' => array(
  50. 'type' => 'array',
  51. 'location' => 'json',
  52. 'items' => array(
  53. 'name' => 'ApplicationName',
  54. 'type' => 'string',
  55. 'minLength' => 1,
  56. 'maxLength' => 100,
  57. ),
  58. ),
  59. ),
  60. 'errorResponses' => array(
  61. array(
  62. 'reason' => 'The minimum number of required application names was not specified.',
  63. 'class' => 'ApplicationNameRequiredException',
  64. ),
  65. array(
  66. 'reason' => 'The application name was specified in an invalid format.',
  67. 'class' => 'InvalidApplicationNameException',
  68. ),
  69. array(
  70. 'reason' => 'The application does not exist within the AWS user account.',
  71. 'class' => 'ApplicationDoesNotExistException',
  72. ),
  73. ),
  74. ),
  75. 'BatchGetDeployments' => array(
  76. 'httpMethod' => 'POST',
  77. 'uri' => '/',
  78. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  79. 'responseClass' => 'BatchGetDeploymentsOutput',
  80. 'responseType' => 'model',
  81. 'parameters' => array(
  82. 'Content-Type' => array(
  83. 'static' => true,
  84. 'location' => 'header',
  85. 'default' => 'application/x-amz-json-1.1',
  86. ),
  87. 'command.expects' => array(
  88. 'static' => true,
  89. 'default' => 'application/json',
  90. ),
  91. 'X-Amz-Target' => array(
  92. 'static' => true,
  93. 'location' => 'header',
  94. 'default' => 'CodeDeploy_20141006.BatchGetDeployments',
  95. ),
  96. 'deploymentIds' => array(
  97. 'type' => 'array',
  98. 'location' => 'json',
  99. 'items' => array(
  100. 'name' => 'DeploymentId',
  101. 'type' => 'string',
  102. ),
  103. ),
  104. ),
  105. 'errorResponses' => array(
  106. array(
  107. 'reason' => 'At least one deployment ID must be specified.',
  108. 'class' => 'DeploymentIdRequiredException',
  109. ),
  110. array(
  111. 'reason' => 'At least one of the deployment IDs was specified in an invalid format.',
  112. 'class' => 'InvalidDeploymentIdException',
  113. ),
  114. ),
  115. ),
  116. 'CreateApplication' => array(
  117. 'httpMethod' => 'POST',
  118. 'uri' => '/',
  119. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  120. 'responseClass' => 'CreateApplicationOutput',
  121. 'responseType' => 'model',
  122. 'parameters' => array(
  123. 'Content-Type' => array(
  124. 'static' => true,
  125. 'location' => 'header',
  126. 'default' => 'application/x-amz-json-1.1',
  127. ),
  128. 'command.expects' => array(
  129. 'static' => true,
  130. 'default' => 'application/json',
  131. ),
  132. 'X-Amz-Target' => array(
  133. 'static' => true,
  134. 'location' => 'header',
  135. 'default' => 'CodeDeploy_20141006.CreateApplication',
  136. ),
  137. 'applicationName' => array(
  138. 'required' => true,
  139. 'type' => 'string',
  140. 'location' => 'json',
  141. 'minLength' => 1,
  142. 'maxLength' => 100,
  143. ),
  144. ),
  145. 'errorResponses' => array(
  146. array(
  147. 'reason' => 'The minimum number of required application names was not specified.',
  148. 'class' => 'ApplicationNameRequiredException',
  149. ),
  150. array(
  151. 'reason' => 'The application name was specified in an invalid format.',
  152. 'class' => 'InvalidApplicationNameException',
  153. ),
  154. array(
  155. 'reason' => 'An application with the specified name already exists within the AWS user account.',
  156. 'class' => 'ApplicationAlreadyExistsException',
  157. ),
  158. array(
  159. 'reason' => 'More applications were attempted to be created than were allowed.',
  160. 'class' => 'ApplicationLimitExceededException',
  161. ),
  162. ),
  163. ),
  164. 'CreateDeployment' => array(
  165. 'httpMethod' => 'POST',
  166. 'uri' => '/',
  167. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  168. 'responseClass' => 'CreateDeploymentOutput',
  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' => 'CodeDeploy_20141006.CreateDeployment',
  184. ),
  185. 'applicationName' => array(
  186. 'required' => true,
  187. 'type' => 'string',
  188. 'location' => 'json',
  189. 'minLength' => 1,
  190. 'maxLength' => 100,
  191. ),
  192. 'deploymentGroupName' => array(
  193. 'type' => 'string',
  194. 'location' => 'json',
  195. 'minLength' => 1,
  196. 'maxLength' => 100,
  197. ),
  198. 'revision' => array(
  199. 'type' => 'object',
  200. 'location' => 'json',
  201. 'properties' => array(
  202. 'revisionType' => array(
  203. 'type' => 'string',
  204. ),
  205. 's3Location' => array(
  206. 'type' => 'object',
  207. 'properties' => array(
  208. 'bucket' => array(
  209. 'type' => 'string',
  210. ),
  211. 'key' => array(
  212. 'type' => 'string',
  213. ),
  214. 'bundleType' => array(
  215. 'type' => 'string',
  216. ),
  217. 'version' => array(
  218. 'type' => 'string',
  219. ),
  220. 'eTag' => array(
  221. 'type' => 'string',
  222. ),
  223. ),
  224. ),
  225. 'gitHubLocation' => array(
  226. 'type' => 'object',
  227. 'properties' => array(
  228. 'repository' => array(
  229. 'type' => 'string',
  230. ),
  231. 'commitId' => array(
  232. 'type' => 'string',
  233. ),
  234. ),
  235. ),
  236. ),
  237. ),
  238. 'deploymentConfigName' => array(
  239. 'type' => 'string',
  240. 'location' => 'json',
  241. 'minLength' => 1,
  242. 'maxLength' => 100,
  243. ),
  244. 'description' => array(
  245. 'type' => 'string',
  246. 'location' => 'json',
  247. ),
  248. 'ignoreApplicationStopFailures' => array(
  249. 'type' => 'boolean',
  250. 'format' => 'boolean-string',
  251. 'location' => 'json',
  252. ),
  253. ),
  254. 'errorResponses' => array(
  255. array(
  256. 'reason' => 'The minimum number of required application names was not specified.',
  257. 'class' => 'ApplicationNameRequiredException',
  258. ),
  259. array(
  260. 'reason' => 'The application name was specified in an invalid format.',
  261. 'class' => 'InvalidApplicationNameException',
  262. ),
  263. array(
  264. 'reason' => 'The application does not exist within the AWS user account.',
  265. 'class' => 'ApplicationDoesNotExistException',
  266. ),
  267. array(
  268. 'reason' => 'The deployment group name was not specified.',
  269. 'class' => 'DeploymentGroupNameRequiredException',
  270. ),
  271. array(
  272. 'reason' => 'The deployment group name was specified in an invalid format.',
  273. 'class' => 'InvalidDeploymentGroupNameException',
  274. ),
  275. array(
  276. 'reason' => 'The named deployment group does not exist within the AWS user account.',
  277. 'class' => 'DeploymentGroupDoesNotExistException',
  278. ),
  279. array(
  280. 'reason' => 'The revision ID was not specified.',
  281. 'class' => 'RevisionRequiredException',
  282. ),
  283. array(
  284. 'reason' => 'The revision was specified in an invalid format.',
  285. 'class' => 'InvalidRevisionException',
  286. ),
  287. array(
  288. 'reason' => 'The deployment configuration name was specified in an invalid format.',
  289. 'class' => 'InvalidDeploymentConfigNameException',
  290. ),
  291. array(
  292. 'reason' => 'The deployment configuration does not exist within the AWS user account.',
  293. 'class' => 'DeploymentConfigDoesNotExistException',
  294. ),
  295. array(
  296. 'reason' => 'The description that was provided is too long.',
  297. 'class' => 'DescriptionTooLongException',
  298. ),
  299. array(
  300. 'reason' => 'The number of allowed deployments was exceeded.',
  301. 'class' => 'DeploymentLimitExceededException',
  302. ),
  303. ),
  304. ),
  305. 'CreateDeploymentConfig' => array(
  306. 'httpMethod' => 'POST',
  307. 'uri' => '/',
  308. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  309. 'responseClass' => 'CreateDeploymentConfigOutput',
  310. 'responseType' => 'model',
  311. 'parameters' => array(
  312. 'Content-Type' => array(
  313. 'static' => true,
  314. 'location' => 'header',
  315. 'default' => 'application/x-amz-json-1.1',
  316. ),
  317. 'command.expects' => array(
  318. 'static' => true,
  319. 'default' => 'application/json',
  320. ),
  321. 'X-Amz-Target' => array(
  322. 'static' => true,
  323. 'location' => 'header',
  324. 'default' => 'CodeDeploy_20141006.CreateDeploymentConfig',
  325. ),
  326. 'deploymentConfigName' => array(
  327. 'required' => true,
  328. 'type' => 'string',
  329. 'location' => 'json',
  330. 'minLength' => 1,
  331. 'maxLength' => 100,
  332. ),
  333. 'minimumHealthyHosts' => array(
  334. 'type' => 'object',
  335. 'location' => 'json',
  336. 'properties' => array(
  337. '' => array(
  338. ),
  339. ),
  340. ),
  341. ),
  342. 'errorResponses' => array(
  343. array(
  344. 'reason' => 'The deployment configuration name was specified in an invalid format.',
  345. 'class' => 'InvalidDeploymentConfigNameException',
  346. ),
  347. array(
  348. 'reason' => 'The deployment configuration name was not specified.',
  349. 'class' => 'DeploymentConfigNameRequiredException',
  350. ),
  351. array(
  352. 'reason' => 'A deployment configuration with the specified name already exists within the AWS user account.',
  353. 'class' => 'DeploymentConfigAlreadyExistsException',
  354. ),
  355. array(
  356. 'reason' => 'The minimum healthy instances value was specified in an invalid format.',
  357. 'class' => 'InvalidMinimumHealthyHostValueException',
  358. ),
  359. array(
  360. 'reason' => 'The deployment configurations limit was exceeded.',
  361. 'class' => 'DeploymentConfigLimitExceededException',
  362. ),
  363. ),
  364. ),
  365. 'CreateDeploymentGroup' => array(
  366. 'httpMethod' => 'POST',
  367. 'uri' => '/',
  368. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  369. 'responseClass' => 'CreateDeploymentGroupOutput',
  370. 'responseType' => 'model',
  371. 'parameters' => array(
  372. 'Content-Type' => array(
  373. 'static' => true,
  374. 'location' => 'header',
  375. 'default' => 'application/x-amz-json-1.1',
  376. ),
  377. 'command.expects' => array(
  378. 'static' => true,
  379. 'default' => 'application/json',
  380. ),
  381. 'X-Amz-Target' => array(
  382. 'static' => true,
  383. 'location' => 'header',
  384. 'default' => 'CodeDeploy_20141006.CreateDeploymentGroup',
  385. ),
  386. 'applicationName' => array(
  387. 'required' => true,
  388. 'type' => 'string',
  389. 'location' => 'json',
  390. 'minLength' => 1,
  391. 'maxLength' => 100,
  392. ),
  393. 'deploymentGroupName' => array(
  394. 'required' => true,
  395. 'type' => 'string',
  396. 'location' => 'json',
  397. 'minLength' => 1,
  398. 'maxLength' => 100,
  399. ),
  400. 'deploymentConfigName' => array(
  401. 'type' => 'string',
  402. 'location' => 'json',
  403. 'minLength' => 1,
  404. 'maxLength' => 100,
  405. ),
  406. 'ec2TagFilters' => array(
  407. 'type' => 'array',
  408. 'location' => 'json',
  409. 'items' => array(
  410. 'name' => 'EC2TagFilter',
  411. 'type' => 'object',
  412. 'properties' => array(
  413. 'Key' => array(
  414. 'type' => 'string',
  415. ),
  416. 'Value' => array(
  417. 'type' => 'string',
  418. ),
  419. 'Type' => array(
  420. 'type' => 'string',
  421. ),
  422. ),
  423. ),
  424. ),
  425. 'autoScalingGroups' => array(
  426. 'type' => 'array',
  427. 'location' => 'json',
  428. 'items' => array(
  429. 'name' => 'AutoScalingGroupName',
  430. 'type' => 'string',
  431. ),
  432. ),
  433. 'serviceRoleArn' => array(
  434. 'type' => 'string',
  435. 'location' => 'json',
  436. ),
  437. ),
  438. 'errorResponses' => array(
  439. array(
  440. 'reason' => 'The minimum number of required application names was not specified.',
  441. 'class' => 'ApplicationNameRequiredException',
  442. ),
  443. array(
  444. 'reason' => 'The application name was specified in an invalid format.',
  445. 'class' => 'InvalidApplicationNameException',
  446. ),
  447. array(
  448. 'reason' => 'The application does not exist within the AWS user account.',
  449. 'class' => 'ApplicationDoesNotExistException',
  450. ),
  451. array(
  452. 'reason' => 'The deployment group name was not specified.',
  453. 'class' => 'DeploymentGroupNameRequiredException',
  454. ),
  455. array(
  456. 'reason' => 'The deployment group name was specified in an invalid format.',
  457. 'class' => 'InvalidDeploymentGroupNameException',
  458. ),
  459. array(
  460. 'reason' => 'A deployment group group with the specified name already exists within the AWS user account.',
  461. 'class' => 'DeploymentGroupAlreadyExistsException',
  462. ),
  463. array(
  464. 'reason' => 'The Amazon EC2 tag was specified in an invalid format.',
  465. 'class' => 'InvalidEC2TagException',
  466. ),
  467. array(
  468. 'reason' => 'The Auto Scaling group was specified in an invalid format or does not exist.',
  469. 'class' => 'InvalidAutoScalingGroupException',
  470. ),
  471. array(
  472. 'reason' => 'The deployment configuration name was specified in an invalid format.',
  473. 'class' => 'InvalidDeploymentConfigNameException',
  474. ),
  475. array(
  476. 'reason' => 'The deployment configuration does not exist within the AWS user account.',
  477. 'class' => 'DeploymentConfigDoesNotExistException',
  478. ),
  479. array(
  480. 'reason' => 'The role ID was not specified.',
  481. 'class' => 'RoleRequiredException',
  482. ),
  483. array(
  484. 'reason' => 'The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.',
  485. 'class' => 'InvalidRoleException',
  486. ),
  487. array(
  488. 'reason' => 'The deployment groups limit was exceeded.',
  489. 'class' => 'DeploymentGroupLimitExceededException',
  490. ),
  491. ),
  492. ),
  493. 'DeleteApplication' => array(
  494. 'httpMethod' => 'POST',
  495. 'uri' => '/',
  496. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  497. 'responseClass' => 'EmptyOutput',
  498. 'responseType' => 'model',
  499. 'parameters' => array(
  500. 'Content-Type' => array(
  501. 'static' => true,
  502. 'location' => 'header',
  503. 'default' => 'application/x-amz-json-1.1',
  504. ),
  505. 'command.expects' => array(
  506. 'static' => true,
  507. 'default' => 'application/json',
  508. ),
  509. 'X-Amz-Target' => array(
  510. 'static' => true,
  511. 'location' => 'header',
  512. 'default' => 'CodeDeploy_20141006.DeleteApplication',
  513. ),
  514. 'applicationName' => array(
  515. 'required' => true,
  516. 'type' => 'string',
  517. 'location' => 'json',
  518. 'minLength' => 1,
  519. 'maxLength' => 100,
  520. ),
  521. ),
  522. 'errorResponses' => array(
  523. array(
  524. 'reason' => 'The minimum number of required application names was not specified.',
  525. 'class' => 'ApplicationNameRequiredException',
  526. ),
  527. array(
  528. 'reason' => 'The application name was specified in an invalid format.',
  529. 'class' => 'InvalidApplicationNameException',
  530. ),
  531. ),
  532. ),
  533. 'DeleteDeploymentConfig' => array(
  534. 'httpMethod' => 'POST',
  535. 'uri' => '/',
  536. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  537. 'responseClass' => 'EmptyOutput',
  538. 'responseType' => 'model',
  539. 'parameters' => array(
  540. 'Content-Type' => array(
  541. 'static' => true,
  542. 'location' => 'header',
  543. 'default' => 'application/x-amz-json-1.1',
  544. ),
  545. 'command.expects' => array(
  546. 'static' => true,
  547. 'default' => 'application/json',
  548. ),
  549. 'X-Amz-Target' => array(
  550. 'static' => true,
  551. 'location' => 'header',
  552. 'default' => 'CodeDeploy_20141006.DeleteDeploymentConfig',
  553. ),
  554. 'deploymentConfigName' => array(
  555. 'required' => true,
  556. 'type' => 'string',
  557. 'location' => 'json',
  558. 'minLength' => 1,
  559. 'maxLength' => 100,
  560. ),
  561. ),
  562. 'errorResponses' => array(
  563. array(
  564. 'reason' => 'The deployment configuration name was specified in an invalid format.',
  565. 'class' => 'InvalidDeploymentConfigNameException',
  566. ),
  567. array(
  568. 'reason' => 'The deployment configuration name was not specified.',
  569. 'class' => 'DeploymentConfigNameRequiredException',
  570. ),
  571. array(
  572. 'reason' => 'The deployment configuration is still in use.',
  573. 'class' => 'DeploymentConfigInUseException',
  574. ),
  575. array(
  576. 'reason' => 'An invalid operation was detected.',
  577. 'class' => 'InvalidOperationException',
  578. ),
  579. ),
  580. ),
  581. 'DeleteDeploymentGroup' => array(
  582. 'httpMethod' => 'POST',
  583. 'uri' => '/',
  584. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  585. 'responseClass' => 'DeleteDeploymentGroupOutput',
  586. 'responseType' => 'model',
  587. 'parameters' => array(
  588. 'Content-Type' => array(
  589. 'static' => true,
  590. 'location' => 'header',
  591. 'default' => 'application/x-amz-json-1.1',
  592. ),
  593. 'command.expects' => array(
  594. 'static' => true,
  595. 'default' => 'application/json',
  596. ),
  597. 'X-Amz-Target' => array(
  598. 'static' => true,
  599. 'location' => 'header',
  600. 'default' => 'CodeDeploy_20141006.DeleteDeploymentGroup',
  601. ),
  602. 'applicationName' => array(
  603. 'required' => true,
  604. 'type' => 'string',
  605. 'location' => 'json',
  606. 'minLength' => 1,
  607. 'maxLength' => 100,
  608. ),
  609. 'deploymentGroupName' => array(
  610. 'required' => true,
  611. 'type' => 'string',
  612. 'location' => 'json',
  613. 'minLength' => 1,
  614. 'maxLength' => 100,
  615. ),
  616. ),
  617. 'errorResponses' => array(
  618. array(
  619. 'reason' => 'The minimum number of required application names was not specified.',
  620. 'class' => 'ApplicationNameRequiredException',
  621. ),
  622. array(
  623. 'reason' => 'The application name was specified in an invalid format.',
  624. 'class' => 'InvalidApplicationNameException',
  625. ),
  626. array(
  627. 'reason' => 'The deployment group name was not specified.',
  628. 'class' => 'DeploymentGroupNameRequiredException',
  629. ),
  630. array(
  631. 'reason' => 'The deployment group name was specified in an invalid format.',
  632. 'class' => 'InvalidDeploymentGroupNameException',
  633. ),
  634. array(
  635. 'reason' => 'The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.',
  636. 'class' => 'InvalidRoleException',
  637. ),
  638. ),
  639. ),
  640. 'GetApplication' => array(
  641. 'httpMethod' => 'POST',
  642. 'uri' => '/',
  643. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  644. 'responseClass' => 'GetApplicationOutput',
  645. 'responseType' => 'model',
  646. 'parameters' => array(
  647. 'Content-Type' => array(
  648. 'static' => true,
  649. 'location' => 'header',
  650. 'default' => 'application/x-amz-json-1.1',
  651. ),
  652. 'command.expects' => array(
  653. 'static' => true,
  654. 'default' => 'application/json',
  655. ),
  656. 'X-Amz-Target' => array(
  657. 'static' => true,
  658. 'location' => 'header',
  659. 'default' => 'CodeDeploy_20141006.GetApplication',
  660. ),
  661. 'applicationName' => array(
  662. 'required' => true,
  663. 'type' => 'string',
  664. 'location' => 'json',
  665. 'minLength' => 1,
  666. 'maxLength' => 100,
  667. ),
  668. ),
  669. 'errorResponses' => array(
  670. array(
  671. 'reason' => 'The minimum number of required application names was not specified.',
  672. 'class' => 'ApplicationNameRequiredException',
  673. ),
  674. array(
  675. 'reason' => 'The application name was specified in an invalid format.',
  676. 'class' => 'InvalidApplicationNameException',
  677. ),
  678. array(
  679. 'reason' => 'The application does not exist within the AWS user account.',
  680. 'class' => 'ApplicationDoesNotExistException',
  681. ),
  682. ),
  683. ),
  684. 'GetApplicationRevision' => array(
  685. 'httpMethod' => 'POST',
  686. 'uri' => '/',
  687. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  688. 'responseClass' => 'GetApplicationRevisionOutput',
  689. 'responseType' => 'model',
  690. 'parameters' => array(
  691. 'Content-Type' => array(
  692. 'static' => true,
  693. 'location' => 'header',
  694. 'default' => 'application/x-amz-json-1.1',
  695. ),
  696. 'command.expects' => array(
  697. 'static' => true,
  698. 'default' => 'application/json',
  699. ),
  700. 'X-Amz-Target' => array(
  701. 'static' => true,
  702. 'location' => 'header',
  703. 'default' => 'CodeDeploy_20141006.GetApplicationRevision',
  704. ),
  705. 'applicationName' => array(
  706. 'required' => true,
  707. 'type' => 'string',
  708. 'location' => 'json',
  709. 'minLength' => 1,
  710. 'maxLength' => 100,
  711. ),
  712. 'revision' => array(
  713. 'required' => true,
  714. 'type' => 'object',
  715. 'location' => 'json',
  716. 'properties' => array(
  717. 'revisionType' => array(
  718. 'type' => 'string',
  719. ),
  720. 's3Location' => array(
  721. 'type' => 'object',
  722. 'properties' => array(
  723. 'bucket' => array(
  724. 'type' => 'string',
  725. ),
  726. 'key' => array(
  727. 'type' => 'string',
  728. ),
  729. 'bundleType' => array(
  730. 'type' => 'string',
  731. ),
  732. 'version' => array(
  733. 'type' => 'string',
  734. ),
  735. 'eTag' => array(
  736. 'type' => 'string',
  737. ),
  738. ),
  739. ),
  740. 'gitHubLocation' => array(
  741. 'type' => 'object',
  742. 'properties' => array(
  743. 'repository' => array(
  744. 'type' => 'string',
  745. ),
  746. 'commitId' => array(
  747. 'type' => 'string',
  748. ),
  749. ),
  750. ),
  751. ),
  752. ),
  753. ),
  754. 'errorResponses' => array(
  755. array(
  756. 'reason' => 'The application does not exist within the AWS user account.',
  757. 'class' => 'ApplicationDoesNotExistException',
  758. ),
  759. array(
  760. 'reason' => 'The minimum number of required application names was not specified.',
  761. 'class' => 'ApplicationNameRequiredException',
  762. ),
  763. array(
  764. 'reason' => 'The application name was specified in an invalid format.',
  765. 'class' => 'InvalidApplicationNameException',
  766. ),
  767. array(
  768. 'reason' => 'The named revision does not exist within the AWS user account.',
  769. 'class' => 'RevisionDoesNotExistException',
  770. ),
  771. array(
  772. 'reason' => 'The revision ID was not specified.',
  773. 'class' => 'RevisionRequiredException',
  774. ),
  775. array(
  776. 'reason' => 'The revision was specified in an invalid format.',
  777. 'class' => 'InvalidRevisionException',
  778. ),
  779. ),
  780. ),
  781. 'GetDeployment' => array(
  782. 'httpMethod' => 'POST',
  783. 'uri' => '/',
  784. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  785. 'responseClass' => 'GetDeploymentOutput',
  786. 'responseType' => 'model',
  787. 'parameters' => array(
  788. 'Content-Type' => array(
  789. 'static' => true,
  790. 'location' => 'header',
  791. 'default' => 'application/x-amz-json-1.1',
  792. ),
  793. 'command.expects' => array(
  794. 'static' => true,
  795. 'default' => 'application/json',
  796. ),
  797. 'X-Amz-Target' => array(
  798. 'static' => true,
  799. 'location' => 'header',
  800. 'default' => 'CodeDeploy_20141006.GetDeployment',
  801. ),
  802. 'deploymentId' => array(
  803. 'required' => true,
  804. 'type' => 'string',
  805. 'location' => 'json',
  806. ),
  807. ),
  808. 'errorResponses' => array(
  809. array(
  810. 'reason' => 'At least one deployment ID must be specified.',
  811. 'class' => 'DeploymentIdRequiredException',
  812. ),
  813. array(
  814. 'reason' => 'At least one of the deployment IDs was specified in an invalid format.',
  815. 'class' => 'InvalidDeploymentIdException',
  816. ),
  817. array(
  818. 'reason' => 'The deployment does not exist within the AWS user account.',
  819. 'class' => 'DeploymentDoesNotExistException',
  820. ),
  821. ),
  822. ),
  823. 'GetDeploymentConfig' => array(
  824. 'httpMethod' => 'POST',
  825. 'uri' => '/',
  826. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  827. 'responseClass' => 'GetDeploymentConfigOutput',
  828. 'responseType' => 'model',
  829. 'parameters' => array(
  830. 'Content-Type' => array(
  831. 'static' => true,
  832. 'location' => 'header',
  833. 'default' => 'application/x-amz-json-1.1',
  834. ),
  835. 'command.expects' => array(
  836. 'static' => true,
  837. 'default' => 'application/json',
  838. ),
  839. 'X-Amz-Target' => array(
  840. 'static' => true,
  841. 'location' => 'header',
  842. 'default' => 'CodeDeploy_20141006.GetDeploymentConfig',
  843. ),
  844. 'deploymentConfigName' => array(
  845. 'required' => true,
  846. 'type' => 'string',
  847. 'location' => 'json',
  848. 'minLength' => 1,
  849. 'maxLength' => 100,
  850. ),
  851. ),
  852. 'errorResponses' => array(
  853. array(
  854. 'reason' => 'The deployment configuration name was specified in an invalid format.',
  855. 'class' => 'InvalidDeploymentConfigNameException',
  856. ),
  857. array(
  858. 'reason' => 'The deployment configuration name was not specified.',
  859. 'class' => 'DeploymentConfigNameRequiredException',
  860. ),
  861. array(
  862. 'reason' => 'The deployment configuration does not exist within the AWS user account.',
  863. 'class' => 'DeploymentConfigDoesNotExistException',
  864. ),
  865. ),
  866. ),
  867. 'GetDeploymentGroup' => array(
  868. 'httpMethod' => 'POST',
  869. 'uri' => '/',
  870. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  871. 'responseClass' => 'GetDeploymentGroupOutput',
  872. 'responseType' => 'model',
  873. 'parameters' => array(
  874. 'Content-Type' => array(
  875. 'static' => true,
  876. 'location' => 'header',
  877. 'default' => 'application/x-amz-json-1.1',
  878. ),
  879. 'command.expects' => array(
  880. 'static' => true,
  881. 'default' => 'application/json',
  882. ),
  883. 'X-Amz-Target' => array(
  884. 'static' => true,
  885. 'location' => 'header',
  886. 'default' => 'CodeDeploy_20141006.GetDeploymentGroup',
  887. ),
  888. 'applicationName' => array(
  889. 'required' => true,
  890. 'type' => 'string',
  891. 'location' => 'json',
  892. 'minLength' => 1,
  893. 'maxLength' => 100,
  894. ),
  895. 'deploymentGroupName' => array(
  896. 'required' => true,
  897. 'type' => 'string',
  898. 'location' => 'json',
  899. 'minLength' => 1,
  900. 'maxLength' => 100,
  901. ),
  902. ),
  903. 'errorResponses' => array(
  904. array(
  905. 'reason' => 'The minimum number of required application names was not specified.',
  906. 'class' => 'ApplicationNameRequiredException',
  907. ),
  908. array(
  909. 'reason' => 'The application name was specified in an invalid format.',
  910. 'class' => 'InvalidApplicationNameException',
  911. ),
  912. array(
  913. 'reason' => 'The application does not exist within the AWS user account.',
  914. 'class' => 'ApplicationDoesNotExistException',
  915. ),
  916. array(
  917. 'reason' => 'The deployment group name was not specified.',
  918. 'class' => 'DeploymentGroupNameRequiredException',
  919. ),
  920. array(
  921. 'reason' => 'The deployment group name was specified in an invalid format.',
  922. 'class' => 'InvalidDeploymentGroupNameException',
  923. ),
  924. array(
  925. 'reason' => 'The named deployment group does not exist within the AWS user account.',
  926. 'class' => 'DeploymentGroupDoesNotExistException',
  927. ),
  928. ),
  929. ),
  930. 'GetDeploymentInstance' => array(
  931. 'httpMethod' => 'POST',
  932. 'uri' => '/',
  933. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  934. 'responseClass' => 'GetDeploymentInstanceOutput',
  935. 'responseType' => 'model',
  936. 'parameters' => array(
  937. 'Content-Type' => array(
  938. 'static' => true,
  939. 'location' => 'header',
  940. 'default' => 'application/x-amz-json-1.1',
  941. ),
  942. 'command.expects' => array(
  943. 'static' => true,
  944. 'default' => 'application/json',
  945. ),
  946. 'X-Amz-Target' => array(
  947. 'static' => true,
  948. 'location' => 'header',
  949. 'default' => 'CodeDeploy_20141006.GetDeploymentInstance',
  950. ),
  951. 'deploymentId' => array(
  952. 'required' => true,
  953. 'type' => 'string',
  954. 'location' => 'json',
  955. ),
  956. 'instanceId' => array(
  957. 'required' => true,
  958. 'type' => 'string',
  959. 'location' => 'json',
  960. ),
  961. ),
  962. 'errorResponses' => array(
  963. array(
  964. 'reason' => 'At least one deployment ID must be specified.',
  965. 'class' => 'DeploymentIdRequiredException',
  966. ),
  967. array(
  968. 'reason' => 'The deployment does not exist within the AWS user account.',
  969. 'class' => 'DeploymentDoesNotExistException',
  970. ),
  971. array(
  972. 'reason' => 'The instance ID was not specified.',
  973. 'class' => 'InstanceIdRequiredException',
  974. ),
  975. array(
  976. 'reason' => 'At least one of the deployment IDs was specified in an invalid format.',
  977. 'class' => 'InvalidDeploymentIdException',
  978. ),
  979. array(
  980. 'reason' => 'The specified instance does not exist in the deployment group.',
  981. 'class' => 'InstanceDoesNotExistException',
  982. ),
  983. ),
  984. ),
  985. 'ListApplicationRevisions' => array(
  986. 'httpMethod' => 'POST',
  987. 'uri' => '/',
  988. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  989. 'responseClass' => 'ListApplicationRevisionsOutput',
  990. 'responseType' => 'model',
  991. 'parameters' => array(
  992. 'Content-Type' => array(
  993. 'static' => true,
  994. 'location' => 'header',
  995. 'default' => 'application/x-amz-json-1.1',
  996. ),
  997. 'command.expects' => array(
  998. 'static' => true,
  999. 'default' => 'application/json',
  1000. ),
  1001. 'X-Amz-Target' => array(
  1002. 'static' => true,
  1003. 'location' => 'header',
  1004. 'default' => 'CodeDeploy_20141006.ListApplicationRevisions',
  1005. ),
  1006. 'applicationName' => array(
  1007. 'required' => true,
  1008. 'type' => 'string',
  1009. 'location' => 'json',
  1010. 'minLength' => 1,
  1011. 'maxLength' => 100,
  1012. ),
  1013. 'sortBy' => array(
  1014. 'type' => 'string',
  1015. 'location' => 'json',
  1016. ),
  1017. 'sortOrder' => array(
  1018. 'type' => 'string',
  1019. 'location' => 'json',
  1020. ),
  1021. 's3Bucket' => array(
  1022. 'type' => 'string',
  1023. 'location' => 'json',
  1024. ),
  1025. 's3KeyPrefix' => array(
  1026. 'type' => 'string',
  1027. 'location' => 'json',
  1028. ),
  1029. 'deployed' => array(
  1030. 'type' => 'string',
  1031. 'location' => 'json',
  1032. ),
  1033. 'nextToken' => array(
  1034. 'type' => 'string',
  1035. 'location' => 'json',
  1036. ),
  1037. ),
  1038. 'errorResponses' => array(
  1039. array(
  1040. 'reason' => 'The application does not exist within the AWS user account.',
  1041. 'class' => 'ApplicationDoesNotExistException',
  1042. ),
  1043. array(
  1044. 'reason' => 'The minimum number of required application names was not specified.',
  1045. 'class' => 'ApplicationNameRequiredException',
  1046. ),
  1047. array(
  1048. 'reason' => 'The application name was specified in an invalid format.',
  1049. 'class' => 'InvalidApplicationNameException',
  1050. ),
  1051. array(
  1052. 'reason' => 'The column name to sort by is either not present or was specified in an invalid format.',
  1053. 'class' => 'InvalidSortByException',
  1054. ),
  1055. array(
  1056. 'reason' => 'The sort order was specified in an invalid format.',
  1057. 'class' => 'InvalidSortOrderException',
  1058. ),
  1059. array(
  1060. 'reason' => 'The bucket name either doesn\'t exist or was specified in an invalid format.',
  1061. 'class' => 'InvalidBucketNameFilterException',
  1062. ),
  1063. array(
  1064. 'reason' => 'The specified key prefix filter was specified in an invalid format.',
  1065. 'class' => 'InvalidKeyPrefixFilterException',
  1066. ),
  1067. array(
  1068. 'reason' => 'A bucket name is required but was not provided.',
  1069. 'class' => 'BucketNameFilterRequiredException',
  1070. ),
  1071. array(
  1072. 'reason' => 'The deployed state filter was specified in an invalid format.',
  1073. 'class' => 'InvalidDeployedStateFilterException',
  1074. ),
  1075. array(
  1076. 'reason' => 'The next token was specified in an invalid format.',
  1077. 'class' => 'InvalidNextTokenException',
  1078. ),
  1079. ),
  1080. ),
  1081. 'ListApplications' => array(
  1082. 'httpMethod' => 'POST',
  1083. 'uri' => '/',
  1084. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1085. 'responseClass' => 'ListApplicationsOutput',
  1086. 'responseType' => 'model',
  1087. 'parameters' => array(
  1088. 'Content-Type' => array(
  1089. 'static' => true,
  1090. 'location' => 'header',
  1091. 'default' => 'application/x-amz-json-1.1',
  1092. ),
  1093. 'command.expects' => array(
  1094. 'static' => true,
  1095. 'default' => 'application/json',
  1096. ),
  1097. 'X-Amz-Target' => array(
  1098. 'static' => true,
  1099. 'location' => 'header',
  1100. 'default' => 'CodeDeploy_20141006.ListApplications',
  1101. ),
  1102. 'nextToken' => array(
  1103. 'type' => 'string',
  1104. 'location' => 'json',
  1105. ),
  1106. ),
  1107. 'errorResponses' => array(
  1108. array(
  1109. 'reason' => 'The next token was specified in an invalid format.',
  1110. 'class' => 'InvalidNextTokenException',
  1111. ),
  1112. ),
  1113. ),
  1114. 'ListDeploymentConfigs' => array(
  1115. 'httpMethod' => 'POST',
  1116. 'uri' => '/',
  1117. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1118. 'responseClass' => 'ListDeploymentConfigsOutput',
  1119. 'responseType' => 'model',
  1120. 'parameters' => array(
  1121. 'Content-Type' => array(
  1122. 'static' => true,
  1123. 'location' => 'header',
  1124. 'default' => 'application/x-amz-json-1.1',
  1125. ),
  1126. 'command.expects' => array(
  1127. 'static' => true,
  1128. 'default' => 'application/json',
  1129. ),
  1130. 'X-Amz-Target' => array(
  1131. 'static' => true,
  1132. 'location' => 'header',
  1133. 'default' => 'CodeDeploy_20141006.ListDeploymentConfigs',
  1134. ),
  1135. 'nextToken' => array(
  1136. 'type' => 'string',
  1137. 'location' => 'json',
  1138. ),
  1139. ),
  1140. 'errorResponses' => array(
  1141. array(
  1142. 'reason' => 'The next token was specified in an invalid format.',
  1143. 'class' => 'InvalidNextTokenException',
  1144. ),
  1145. ),
  1146. ),
  1147. 'ListDeploymentGroups' => array(
  1148. 'httpMethod' => 'POST',
  1149. 'uri' => '/',
  1150. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  1151. 'responseClass' => 'ListDeploymentGroupsOutput',
  1152. 'responseType' => 'model',
  1153. 'parameters' => array(
  1154. 'Content-Type' => array(
  1155. 'static' => true,
  1156. 'location' => 'header',
  1157. 'default' => 'application/x-amz-json-1.1',
  1158. ),
  1159. 'command.expects' => array(
  1160. 'static' => true,
  1161. 'default' => 'application/json',
  1162. ),
  1163. 'X-Amz-Target' => array(
  1164. 'static' => true,
  1165. 'location' => 'header',
  1166. 'default' => 'CodeDeploy_20141006.ListDeploymentGroups',
  1167. ),
  1168. 'applicationName' => array(
  1169. 'required' => true,
  1170. 'type' => 'string',
  1171. 'location' => 'json',
  1172. 'minLength' => 1,
  1173. 'maxLength' => 100,
  1174. ),
  1175. 'nextToken' => array(
  1176. 'type' => 'string',
  1177. 'location' => 'json',
  1178. ),
  1179. ),
  1180. 'errorResponses' => array(
  1181. array(