/api/vendor/aws/aws-sdk-php/src/Aws/ElasticLoadBalancing/Resources/elasticloadbalancing-2012-06-01.php

https://gitlab.com/x33n/respond · PHP · 1241 lines · 1226 code · 1 blank · 14 comment · 0 complexity · ae62a36ea7b8a95319e1c7a03a3fe81c MD5 · raw file

  1. <?php
  2. /**
  3. * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License").
  6. * You may not use this file except in compliance with the License.
  7. * A copy of the License is located at
  8. *
  9. * http://aws.amazon.com/apache2.0
  10. *
  11. * or in the "license" file accompanying this file. This file is distributed
  12. * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  13. * express or implied. See the License for the specific language governing
  14. * permissions and limitations under the License.
  15. */
  16. return array (
  17. 'apiVersion' => '2012-06-01',
  18. 'endpointPrefix' => 'elasticloadbalancing',
  19. 'serviceFullName' => 'Elastic Load Balancing',
  20. 'serviceType' => 'query',
  21. 'resultWrapped' => true,
  22. 'signatureVersion' => 'v4',
  23. 'namespace' => 'ElasticLoadBalancing',
  24. 'regions' => array(
  25. 'us-east-1' => array(
  26. 'http' => true,
  27. 'https' => true,
  28. 'hostname' => 'elasticloadbalancing.us-east-1.amazonaws.com',
  29. ),
  30. 'us-west-1' => array(
  31. 'http' => true,
  32. 'https' => true,
  33. 'hostname' => 'elasticloadbalancing.us-west-1.amazonaws.com',
  34. ),
  35. 'us-west-2' => array(
  36. 'http' => true,
  37. 'https' => true,
  38. 'hostname' => 'elasticloadbalancing.us-west-2.amazonaws.com',
  39. ),
  40. 'eu-west-1' => array(
  41. 'http' => true,
  42. 'https' => true,
  43. 'hostname' => 'elasticloadbalancing.eu-west-1.amazonaws.com',
  44. ),
  45. 'ap-northeast-1' => array(
  46. 'http' => true,
  47. 'https' => true,
  48. 'hostname' => 'elasticloadbalancing.ap-northeast-1.amazonaws.com',
  49. ),
  50. 'ap-southeast-1' => array(
  51. 'http' => true,
  52. 'https' => true,
  53. 'hostname' => 'elasticloadbalancing.ap-southeast-1.amazonaws.com',
  54. ),
  55. 'ap-southeast-2' => array(
  56. 'http' => true,
  57. 'https' => true,
  58. 'hostname' => 'elasticloadbalancing.ap-southeast-2.amazonaws.com',
  59. ),
  60. 'sa-east-1' => array(
  61. 'http' => true,
  62. 'https' => true,
  63. 'hostname' => 'elasticloadbalancing.sa-east-1.amazonaws.com',
  64. ),
  65. 'cn-north-1' => array(
  66. 'http' => true,
  67. 'https' => true,
  68. 'hostname' => 'elasticloadbalancing.cn-north-1.amazonaws.com.cn',
  69. ),
  70. 'us-gov-west-1' => array(
  71. 'http' => true,
  72. 'https' => true,
  73. 'hostname' => 'elasticloadbalancing.us-gov-west-1.amazonaws.com',
  74. ),
  75. ),
  76. 'operations' => array(
  77. 'AddTags' => array(
  78. 'httpMethod' => 'POST',
  79. 'uri' => '/',
  80. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  81. 'responseClass' => 'EmptyOutput',
  82. 'responseType' => 'model',
  83. 'parameters' => array(
  84. 'Action' => array(
  85. 'static' => true,
  86. 'location' => 'aws.query',
  87. 'default' => 'AddTags',
  88. ),
  89. 'Version' => array(
  90. 'static' => true,
  91. 'location' => 'aws.query',
  92. 'default' => '2012-06-01',
  93. ),
  94. 'LoadBalancerNames' => array(
  95. 'required' => true,
  96. 'type' => 'array',
  97. 'location' => 'aws.query',
  98. 'sentAs' => 'LoadBalancerNames.member',
  99. 'items' => array(
  100. 'name' => 'AccessPointName',
  101. 'type' => 'string',
  102. ),
  103. ),
  104. 'Tags' => array(
  105. 'required' => true,
  106. 'type' => 'array',
  107. 'location' => 'aws.query',
  108. 'sentAs' => 'Tags.member',
  109. 'minItems' => 1,
  110. 'items' => array(
  111. 'name' => 'Tag',
  112. 'type' => 'object',
  113. 'properties' => array(
  114. 'Key' => array(
  115. 'required' => true,
  116. 'type' => 'string',
  117. 'minLength' => 1,
  118. 'maxLength' => 128,
  119. ),
  120. 'Value' => array(
  121. 'type' => 'string',
  122. 'maxLength' => 256,
  123. ),
  124. ),
  125. ),
  126. ),
  127. ),
  128. 'errorResponses' => array(
  129. array(
  130. 'reason' => 'The specified load balancer could not be found.',
  131. 'class' => 'AccessPointNotFoundException',
  132. ),
  133. array(
  134. 'reason' => 'The quota for the number of tags that can be assigned to a load balancer has been reached.',
  135. 'class' => 'TooManyTagsException',
  136. ),
  137. array(
  138. 'reason' => 'The same tag key specified multiple times.',
  139. 'class' => 'DuplicateTagKeysException',
  140. ),
  141. ),
  142. ),
  143. 'ApplySecurityGroupsToLoadBalancer' => array(
  144. 'httpMethod' => 'POST',
  145. 'uri' => '/',
  146. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  147. 'responseClass' => 'ApplySecurityGroupsToLoadBalancerOutput',
  148. 'responseType' => 'model',
  149. 'parameters' => array(
  150. 'Action' => array(
  151. 'static' => true,
  152. 'location' => 'aws.query',
  153. 'default' => 'ApplySecurityGroupsToLoadBalancer',
  154. ),
  155. 'Version' => array(
  156. 'static' => true,
  157. 'location' => 'aws.query',
  158. 'default' => '2012-06-01',
  159. ),
  160. 'LoadBalancerName' => array(
  161. 'required' => true,
  162. 'type' => 'string',
  163. 'location' => 'aws.query',
  164. ),
  165. 'SecurityGroups' => array(
  166. 'required' => true,
  167. 'type' => 'array',
  168. 'location' => 'aws.query',
  169. 'sentAs' => 'SecurityGroups.member',
  170. 'items' => array(
  171. 'name' => 'SecurityGroupId',
  172. 'type' => 'string',
  173. ),
  174. ),
  175. ),
  176. 'errorResponses' => array(
  177. array(
  178. 'reason' => 'The specified load balancer could not be found.',
  179. 'class' => 'AccessPointNotFoundException',
  180. ),
  181. array(
  182. 'reason' => 'Requested configuration change is invalid.',
  183. 'class' => 'InvalidConfigurationRequestException',
  184. ),
  185. array(
  186. 'reason' => 'One or more specified security groups do not exist.',
  187. 'class' => 'InvalidSecurityGroupException',
  188. ),
  189. ),
  190. ),
  191. 'AttachLoadBalancerToSubnets' => array(
  192. 'httpMethod' => 'POST',
  193. 'uri' => '/',
  194. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  195. 'responseClass' => 'AttachLoadBalancerToSubnetsOutput',
  196. 'responseType' => 'model',
  197. 'parameters' => array(
  198. 'Action' => array(
  199. 'static' => true,
  200. 'location' => 'aws.query',
  201. 'default' => 'AttachLoadBalancerToSubnets',
  202. ),
  203. 'Version' => array(
  204. 'static' => true,
  205. 'location' => 'aws.query',
  206. 'default' => '2012-06-01',
  207. ),
  208. 'LoadBalancerName' => array(
  209. 'required' => true,
  210. 'type' => 'string',
  211. 'location' => 'aws.query',
  212. ),
  213. 'Subnets' => array(
  214. 'required' => true,
  215. 'type' => 'array',
  216. 'location' => 'aws.query',
  217. 'sentAs' => 'Subnets.member',
  218. 'items' => array(
  219. 'name' => 'SubnetId',
  220. 'type' => 'string',
  221. ),
  222. ),
  223. ),
  224. 'errorResponses' => array(
  225. array(
  226. 'reason' => 'The specified load balancer could not be found.',
  227. 'class' => 'AccessPointNotFoundException',
  228. ),
  229. array(
  230. 'reason' => 'Requested configuration change is invalid.',
  231. 'class' => 'InvalidConfigurationRequestException',
  232. ),
  233. array(
  234. 'reason' => 'One or more subnets were not found.',
  235. 'class' => 'SubnetNotFoundException',
  236. ),
  237. array(
  238. 'reason' => 'The VPC has no Internet gateway.',
  239. 'class' => 'InvalidSubnetException',
  240. ),
  241. ),
  242. ),
  243. 'ConfigureHealthCheck' => array(
  244. 'httpMethod' => 'POST',
  245. 'uri' => '/',
  246. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  247. 'responseClass' => 'ConfigureHealthCheckOutput',
  248. 'responseType' => 'model',
  249. 'parameters' => array(
  250. 'Action' => array(
  251. 'static' => true,
  252. 'location' => 'aws.query',
  253. 'default' => 'ConfigureHealthCheck',
  254. ),
  255. 'Version' => array(
  256. 'static' => true,
  257. 'location' => 'aws.query',
  258. 'default' => '2012-06-01',
  259. ),
  260. 'LoadBalancerName' => array(
  261. 'required' => true,
  262. 'type' => 'string',
  263. 'location' => 'aws.query',
  264. ),
  265. 'HealthCheck' => array(
  266. 'required' => true,
  267. 'type' => 'object',
  268. 'location' => 'aws.query',
  269. 'properties' => array(
  270. 'Target' => array(
  271. 'required' => true,
  272. 'type' => 'string',
  273. ),
  274. 'Interval' => array(
  275. 'required' => true,
  276. 'type' => 'numeric',
  277. 'minimum' => 1,
  278. 'maximum' => 300,
  279. ),
  280. 'Timeout' => array(
  281. 'required' => true,
  282. 'type' => 'numeric',
  283. 'minimum' => 1,
  284. 'maximum' => 300,
  285. ),
  286. 'UnhealthyThreshold' => array(
  287. 'required' => true,
  288. 'type' => 'numeric',
  289. 'minimum' => 2,
  290. 'maximum' => 10,
  291. ),
  292. 'HealthyThreshold' => array(
  293. 'required' => true,
  294. 'type' => 'numeric',
  295. 'minimum' => 2,
  296. 'maximum' => 10,
  297. ),
  298. ),
  299. ),
  300. ),
  301. 'errorResponses' => array(
  302. array(
  303. 'reason' => 'The specified load balancer could not be found.',
  304. 'class' => 'AccessPointNotFoundException',
  305. ),
  306. ),
  307. ),
  308. 'CreateAppCookieStickinessPolicy' => array(
  309. 'httpMethod' => 'POST',
  310. 'uri' => '/',
  311. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  312. 'responseClass' => 'EmptyOutput',
  313. 'responseType' => 'model',
  314. 'parameters' => array(
  315. 'Action' => array(
  316. 'static' => true,
  317. 'location' => 'aws.query',
  318. 'default' => 'CreateAppCookieStickinessPolicy',
  319. ),
  320. 'Version' => array(
  321. 'static' => true,
  322. 'location' => 'aws.query',
  323. 'default' => '2012-06-01',
  324. ),
  325. 'LoadBalancerName' => array(
  326. 'required' => true,
  327. 'type' => 'string',
  328. 'location' => 'aws.query',
  329. ),
  330. 'PolicyName' => array(
  331. 'required' => true,
  332. 'type' => 'string',
  333. 'location' => 'aws.query',
  334. ),
  335. 'CookieName' => array(
  336. 'required' => true,
  337. 'type' => 'string',
  338. 'location' => 'aws.query',
  339. ),
  340. ),
  341. 'errorResponses' => array(
  342. array(
  343. 'reason' => 'The specified load balancer could not be found.',
  344. 'class' => 'AccessPointNotFoundException',
  345. ),
  346. array(
  347. 'reason' => 'Policy with the same name exists for this load balancer. Please choose another name.',
  348. 'class' => 'DuplicatePolicyNameException',
  349. ),
  350. array(
  351. 'reason' => 'Quota for number of policies for this load balancer has already been reached.',
  352. 'class' => 'TooManyPoliciesException',
  353. ),
  354. array(
  355. 'reason' => 'Requested configuration change is invalid.',
  356. 'class' => 'InvalidConfigurationRequestException',
  357. ),
  358. ),
  359. ),
  360. 'CreateLBCookieStickinessPolicy' => array(
  361. 'httpMethod' => 'POST',
  362. 'uri' => '/',
  363. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  364. 'responseClass' => 'EmptyOutput',
  365. 'responseType' => 'model',
  366. 'parameters' => array(
  367. 'Action' => array(
  368. 'static' => true,
  369. 'location' => 'aws.query',
  370. 'default' => 'CreateLBCookieStickinessPolicy',
  371. ),
  372. 'Version' => array(
  373. 'static' => true,
  374. 'location' => 'aws.query',
  375. 'default' => '2012-06-01',
  376. ),
  377. 'LoadBalancerName' => array(
  378. 'required' => true,
  379. 'type' => 'string',
  380. 'location' => 'aws.query',
  381. ),
  382. 'PolicyName' => array(
  383. 'required' => true,
  384. 'type' => 'string',
  385. 'location' => 'aws.query',
  386. ),
  387. 'CookieExpirationPeriod' => array(
  388. 'type' => 'numeric',
  389. 'location' => 'aws.query',
  390. ),
  391. ),
  392. 'errorResponses' => array(
  393. array(
  394. 'reason' => 'The specified load balancer could not be found.',
  395. 'class' => 'AccessPointNotFoundException',
  396. ),
  397. array(
  398. 'reason' => 'Policy with the same name exists for this load balancer. Please choose another name.',
  399. 'class' => 'DuplicatePolicyNameException',
  400. ),
  401. array(
  402. 'reason' => 'Quota for number of policies for this load balancer has already been reached.',
  403. 'class' => 'TooManyPoliciesException',
  404. ),
  405. array(
  406. 'reason' => 'Requested configuration change is invalid.',
  407. 'class' => 'InvalidConfigurationRequestException',
  408. ),
  409. ),
  410. ),
  411. 'CreateLoadBalancer' => array(
  412. 'httpMethod' => 'POST',
  413. 'uri' => '/',
  414. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  415. 'responseClass' => 'CreateAccessPointOutput',
  416. 'responseType' => 'model',
  417. 'parameters' => array(
  418. 'Action' => array(
  419. 'static' => true,
  420. 'location' => 'aws.query',
  421. 'default' => 'CreateLoadBalancer',
  422. ),
  423. 'Version' => array(
  424. 'static' => true,
  425. 'location' => 'aws.query',
  426. 'default' => '2012-06-01',
  427. ),
  428. 'LoadBalancerName' => array(
  429. 'required' => true,
  430. 'type' => 'string',
  431. 'location' => 'aws.query',
  432. ),
  433. 'Listeners' => array(
  434. 'required' => true,
  435. 'type' => 'array',
  436. 'location' => 'aws.query',
  437. 'sentAs' => 'Listeners.member',
  438. 'items' => array(
  439. 'name' => 'Listener',
  440. 'type' => 'object',
  441. 'properties' => array(
  442. 'Protocol' => array(
  443. 'required' => true,
  444. 'type' => 'string',
  445. ),
  446. 'LoadBalancerPort' => array(
  447. 'required' => true,
  448. 'type' => 'numeric',
  449. ),
  450. 'InstanceProtocol' => array(
  451. 'type' => 'string',
  452. ),
  453. 'InstancePort' => array(
  454. 'required' => true,
  455. 'type' => 'numeric',
  456. 'minimum' => 1,
  457. 'maximum' => 65535,
  458. ),
  459. 'SSLCertificateId' => array(
  460. 'type' => 'string',
  461. ),
  462. ),
  463. ),
  464. ),
  465. 'AvailabilityZones' => array(
  466. 'type' => 'array',
  467. 'location' => 'aws.query',
  468. 'sentAs' => 'AvailabilityZones.member',
  469. 'items' => array(
  470. 'name' => 'AvailabilityZone',
  471. 'type' => 'string',
  472. ),
  473. ),
  474. 'Subnets' => array(
  475. 'type' => 'array',
  476. 'location' => 'aws.query',
  477. 'sentAs' => 'Subnets.member',
  478. 'items' => array(
  479. 'name' => 'SubnetId',
  480. 'type' => 'string',
  481. ),
  482. ),
  483. 'SecurityGroups' => array(
  484. 'type' => 'array',
  485. 'location' => 'aws.query',
  486. 'sentAs' => 'SecurityGroups.member',
  487. 'items' => array(
  488. 'name' => 'SecurityGroupId',
  489. 'type' => 'string',
  490. ),
  491. ),
  492. 'Scheme' => array(
  493. 'type' => 'string',
  494. 'location' => 'aws.query',
  495. ),
  496. 'Tags' => array(
  497. 'type' => 'array',
  498. 'location' => 'aws.query',
  499. 'sentAs' => 'Tags.member',
  500. 'minItems' => 1,
  501. 'items' => array(
  502. 'name' => 'Tag',
  503. 'type' => 'object',
  504. 'properties' => array(
  505. 'Key' => array(
  506. 'required' => true,
  507. 'type' => 'string',
  508. 'minLength' => 1,
  509. 'maxLength' => 128,
  510. ),
  511. 'Value' => array(
  512. 'type' => 'string',
  513. 'maxLength' => 256,
  514. ),
  515. ),
  516. ),
  517. ),
  518. ),
  519. 'errorResponses' => array(
  520. array(
  521. 'reason' => 'The load balancer name already exists for this account. Please choose another name.',
  522. 'class' => 'DuplicateAccessPointNameException',
  523. ),
  524. array(
  525. 'reason' => 'The quota for the number of load balancers has already been reached.',
  526. 'class' => 'TooManyAccessPointsException',
  527. ),
  528. array(
  529. 'reason' => 'The specified SSL ID does not refer to a valid SSL certificate in the AWS Identity and Access Management Service.',
  530. 'class' => 'CertificateNotFoundException',
  531. ),
  532. array(
  533. 'reason' => 'Requested configuration change is invalid.',
  534. 'class' => 'InvalidConfigurationRequestException',
  535. ),
  536. array(
  537. 'reason' => 'One or more subnets were not found.',
  538. 'class' => 'SubnetNotFoundException',
  539. ),
  540. array(
  541. 'reason' => 'The VPC has no Internet gateway.',
  542. 'class' => 'InvalidSubnetException',
  543. ),
  544. array(
  545. 'reason' => 'One or more specified security groups do not exist.',
  546. 'class' => 'InvalidSecurityGroupException',
  547. ),
  548. array(
  549. 'reason' => 'Invalid value for scheme. Scheme can only be specified for load balancers in VPC.',
  550. 'class' => 'InvalidSchemeException',
  551. ),
  552. array(
  553. 'reason' => 'The quota for the number of tags that can be assigned to a load balancer has been reached.',
  554. 'class' => 'TooManyTagsException',
  555. ),
  556. array(
  557. 'reason' => 'The same tag key specified multiple times.',
  558. 'class' => 'DuplicateTagKeysException',
  559. ),
  560. ),
  561. ),
  562. 'CreateLoadBalancerListeners' => array(
  563. 'httpMethod' => 'POST',
  564. 'uri' => '/',
  565. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  566. 'responseClass' => 'EmptyOutput',
  567. 'responseType' => 'model',
  568. 'parameters' => array(
  569. 'Action' => array(
  570. 'static' => true,
  571. 'location' => 'aws.query',
  572. 'default' => 'CreateLoadBalancerListeners',
  573. ),
  574. 'Version' => array(
  575. 'static' => true,
  576. 'location' => 'aws.query',
  577. 'default' => '2012-06-01',
  578. ),
  579. 'LoadBalancerName' => array(
  580. 'required' => true,
  581. 'type' => 'string',
  582. 'location' => 'aws.query',
  583. ),
  584. 'Listeners' => array(
  585. 'required' => true,
  586. 'type' => 'array',
  587. 'location' => 'aws.query',
  588. 'sentAs' => 'Listeners.member',
  589. 'items' => array(
  590. 'name' => 'Listener',
  591. 'type' => 'object',
  592. 'properties' => array(
  593. 'Protocol' => array(
  594. 'required' => true,
  595. 'type' => 'string',
  596. ),
  597. 'LoadBalancerPort' => array(
  598. 'required' => true,
  599. 'type' => 'numeric',
  600. ),
  601. 'InstanceProtocol' => array(
  602. 'type' => 'string',
  603. ),
  604. 'InstancePort' => array(
  605. 'required' => true,
  606. 'type' => 'numeric',
  607. 'minimum' => 1,
  608. 'maximum' => 65535,
  609. ),
  610. 'SSLCertificateId' => array(
  611. 'type' => 'string',
  612. ),
  613. ),
  614. ),
  615. ),
  616. ),
  617. 'errorResponses' => array(
  618. array(
  619. 'reason' => 'The specified load balancer could not be found.',
  620. 'class' => 'AccessPointNotFoundException',
  621. ),
  622. array(
  623. 'reason' => 'A Listener already exists for the given LoadBalancerName and LoadBalancerPort, but with a different InstancePort, Protocol, or SSLCertificateId.',
  624. 'class' => 'DuplicateListenerException',
  625. ),
  626. array(
  627. 'reason' => 'The specified SSL ID does not refer to a valid SSL certificate in the AWS Identity and Access Management Service.',
  628. 'class' => 'CertificateNotFoundException',
  629. ),
  630. array(
  631. 'reason' => 'Requested configuration change is invalid.',
  632. 'class' => 'InvalidConfigurationRequestException',
  633. ),
  634. ),
  635. ),
  636. 'CreateLoadBalancerPolicy' => array(
  637. 'httpMethod' => 'POST',
  638. 'uri' => '/',
  639. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  640. 'responseClass' => 'EmptyOutput',
  641. 'responseType' => 'model',
  642. 'parameters' => array(
  643. 'Action' => array(
  644. 'static' => true,
  645. 'location' => 'aws.query',
  646. 'default' => 'CreateLoadBalancerPolicy',
  647. ),
  648. 'Version' => array(
  649. 'static' => true,
  650. 'location' => 'aws.query',
  651. 'default' => '2012-06-01',
  652. ),
  653. 'LoadBalancerName' => array(
  654. 'required' => true,
  655. 'type' => 'string',
  656. 'location' => 'aws.query',
  657. ),
  658. 'PolicyName' => array(
  659. 'required' => true,
  660. 'type' => 'string',
  661. 'location' => 'aws.query',
  662. ),
  663. 'PolicyTypeName' => array(
  664. 'required' => true,
  665. 'type' => 'string',
  666. 'location' => 'aws.query',
  667. ),
  668. 'PolicyAttributes' => array(
  669. 'type' => 'array',
  670. 'location' => 'aws.query',
  671. 'sentAs' => 'PolicyAttributes.member',
  672. 'items' => array(
  673. 'name' => 'PolicyAttribute',
  674. 'type' => 'object',
  675. 'properties' => array(
  676. 'AttributeName' => array(
  677. 'type' => 'string',
  678. ),
  679. 'AttributeValue' => array(
  680. 'type' => 'string',
  681. ),
  682. ),
  683. ),
  684. ),
  685. ),
  686. 'errorResponses' => array(
  687. array(
  688. 'reason' => 'The specified load balancer could not be found.',
  689. 'class' => 'AccessPointNotFoundException',
  690. ),
  691. array(
  692. 'reason' => 'One or more of the specified policy types do not exist.',
  693. 'class' => 'PolicyTypeNotFoundException',
  694. ),
  695. array(
  696. 'reason' => 'Policy with the same name exists for this load balancer. Please choose another name.',
  697. 'class' => 'DuplicatePolicyNameException',
  698. ),
  699. array(
  700. 'reason' => 'Quota for number of policies for this load balancer has already been reached.',
  701. 'class' => 'TooManyPoliciesException',
  702. ),
  703. array(
  704. 'reason' => 'Requested configuration change is invalid.',
  705. 'class' => 'InvalidConfigurationRequestException',
  706. ),
  707. ),
  708. ),
  709. 'DeleteLoadBalancer' => array(
  710. 'httpMethod' => 'POST',
  711. 'uri' => '/',
  712. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  713. 'responseClass' => 'EmptyOutput',
  714. 'responseType' => 'model',
  715. 'parameters' => array(
  716. 'Action' => array(
  717. 'static' => true,
  718. 'location' => 'aws.query',
  719. 'default' => 'DeleteLoadBalancer',
  720. ),
  721. 'Version' => array(
  722. 'static' => true,
  723. 'location' => 'aws.query',
  724. 'default' => '2012-06-01',
  725. ),
  726. 'LoadBalancerName' => array(
  727. 'required' => true,
  728. 'type' => 'string',
  729. 'location' => 'aws.query',
  730. ),
  731. ),
  732. ),
  733. 'DeleteLoadBalancerListeners' => array(
  734. 'httpMethod' => 'POST',
  735. 'uri' => '/',
  736. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  737. 'responseClass' => 'EmptyOutput',
  738. 'responseType' => 'model',
  739. 'parameters' => array(
  740. 'Action' => array(
  741. 'static' => true,
  742. 'location' => 'aws.query',
  743. 'default' => 'DeleteLoadBalancerListeners',
  744. ),
  745. 'Version' => array(
  746. 'static' => true,
  747. 'location' => 'aws.query',
  748. 'default' => '2012-06-01',
  749. ),
  750. 'LoadBalancerName' => array(
  751. 'required' => true,
  752. 'type' => 'string',
  753. 'location' => 'aws.query',
  754. ),
  755. 'LoadBalancerPorts' => array(
  756. 'required' => true,
  757. 'type' => 'array',
  758. 'location' => 'aws.query',
  759. 'sentAs' => 'LoadBalancerPorts.member',
  760. 'items' => array(
  761. 'name' => 'AccessPointPort',
  762. 'type' => 'numeric',
  763. ),
  764. ),
  765. ),
  766. 'errorResponses' => array(
  767. array(
  768. 'reason' => 'The specified load balancer could not be found.',
  769. 'class' => 'AccessPointNotFoundException',
  770. ),
  771. ),
  772. ),
  773. 'DeleteLoadBalancerPolicy' => array(
  774. 'httpMethod' => 'POST',
  775. 'uri' => '/',
  776. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  777. 'responseClass' => 'EmptyOutput',
  778. 'responseType' => 'model',
  779. 'parameters' => array(
  780. 'Action' => array(
  781. 'static' => true,
  782. 'location' => 'aws.query',
  783. 'default' => 'DeleteLoadBalancerPolicy',
  784. ),
  785. 'Version' => array(
  786. 'static' => true,
  787. 'location' => 'aws.query',
  788. 'default' => '2012-06-01',
  789. ),
  790. 'LoadBalancerName' => array(
  791. 'required' => true,
  792. 'type' => 'string',
  793. 'location' => 'aws.query',
  794. ),
  795. 'PolicyName' => array(
  796. 'required' => true,
  797. 'type' => 'string',
  798. 'location' => 'aws.query',
  799. ),
  800. ),
  801. 'errorResponses' => array(
  802. array(
  803. 'reason' => 'The specified load balancer could not be found.',
  804. 'class' => 'AccessPointNotFoundException',
  805. ),
  806. array(
  807. 'reason' => 'Requested configuration change is invalid.',
  808. 'class' => 'InvalidConfigurationRequestException',
  809. ),
  810. ),
  811. ),
  812. 'DeregisterInstancesFromLoadBalancer' => array(
  813. 'httpMethod' => 'POST',
  814. 'uri' => '/',
  815. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  816. 'responseClass' => 'DeregisterEndPointsOutput',
  817. 'responseType' => 'model',
  818. 'parameters' => array(
  819. 'Action' => array(
  820. 'static' => true,
  821. 'location' => 'aws.query',
  822. 'default' => 'DeregisterInstancesFromLoadBalancer',
  823. ),
  824. 'Version' => array(
  825. 'static' => true,
  826. 'location' => 'aws.query',
  827. 'default' => '2012-06-01',
  828. ),
  829. 'LoadBalancerName' => array(
  830. 'required' => true,
  831. 'type' => 'string',
  832. 'location' => 'aws.query',
  833. ),
  834. 'Instances' => array(
  835. 'required' => true,
  836. 'type' => 'array',
  837. 'location' => 'aws.query',
  838. 'sentAs' => 'Instances.member',
  839. 'items' => array(
  840. 'name' => 'Instance',
  841. 'type' => 'object',
  842. 'properties' => array(
  843. 'InstanceId' => array(
  844. 'type' => 'string',
  845. ),
  846. ),
  847. ),
  848. ),
  849. ),
  850. 'errorResponses' => array(
  851. array(
  852. 'reason' => 'The specified load balancer could not be found.',
  853. 'class' => 'AccessPointNotFoundException',
  854. ),
  855. array(
  856. 'reason' => 'The specified EndPoint is not valid.',
  857. 'class' => 'InvalidEndPointException',
  858. ),
  859. ),
  860. ),
  861. 'DescribeInstanceHealth' => array(
  862. 'httpMethod' => 'POST',
  863. 'uri' => '/',
  864. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  865. 'responseClass' => 'DescribeEndPointStateOutput',
  866. 'responseType' => 'model',
  867. 'parameters' => array(
  868. 'Action' => array(
  869. 'static' => true,
  870. 'location' => 'aws.query',
  871. 'default' => 'DescribeInstanceHealth',
  872. ),
  873. 'Version' => array(
  874. 'static' => true,
  875. 'location' => 'aws.query',
  876. 'default' => '2012-06-01',
  877. ),
  878. 'LoadBalancerName' => array(
  879. 'required' => true,
  880. 'type' => 'string',
  881. 'location' => 'aws.query',
  882. ),
  883. 'Instances' => array(
  884. 'type' => 'array',
  885. 'location' => 'aws.query',
  886. 'sentAs' => 'Instances.member',
  887. 'items' => array(
  888. 'name' => 'Instance',
  889. 'type' => 'object',
  890. 'properties' => array(
  891. 'InstanceId' => array(
  892. 'type' => 'string',
  893. ),
  894. ),
  895. ),
  896. ),
  897. ),
  898. 'errorResponses' => array(
  899. array(
  900. 'reason' => 'The specified load balancer could not be found.',
  901. 'class' => 'AccessPointNotFoundException',
  902. ),
  903. array(
  904. 'reason' => 'The specified EndPoint is not valid.',
  905. 'class' => 'InvalidEndPointException',
  906. ),
  907. ),
  908. ),
  909. 'DescribeLoadBalancerAttributes' => array(
  910. 'httpMethod' => 'POST',
  911. 'uri' => '/',
  912. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  913. 'responseClass' => 'DescribeLoadBalancerAttributesOutput',
  914. 'responseType' => 'model',
  915. 'parameters' => array(
  916. 'Action' => array(
  917. 'static' => true,
  918. 'location' => 'aws.query',
  919. 'default' => 'DescribeLoadBalancerAttributes',
  920. ),
  921. 'Version' => array(
  922. 'static' => true,
  923. 'location' => 'aws.query',
  924. 'default' => '2012-06-01',
  925. ),
  926. 'LoadBalancerName' => array(
  927. 'required' => true,
  928. 'type' => 'string',
  929. 'location' => 'aws.query',
  930. ),
  931. ),
  932. 'errorResponses' => array(
  933. array(
  934. 'reason' => 'The specified load balancer could not be found.',
  935. 'class' => 'AccessPointNotFoundException',
  936. ),
  937. array(
  938. 'reason' => 'The specified load balancer attribute could not be found.',
  939. 'class' => 'LoadBalancerAttributeNotFoundException',
  940. ),
  941. ),
  942. ),
  943. 'DescribeLoadBalancerPolicies' => array(
  944. 'httpMethod' => 'POST',
  945. 'uri' => '/',
  946. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  947. 'responseClass' => 'DescribeLoadBalancerPoliciesOutput',
  948. 'responseType' => 'model',
  949. 'parameters' => array(
  950. 'Action' => array(
  951. 'static' => true,
  952. 'location' => 'aws.query',
  953. 'default' => 'DescribeLoadBalancerPolicies',
  954. ),
  955. 'Version' => array(
  956. 'static' => true,
  957. 'location' => 'aws.query',
  958. 'default' => '2012-06-01',
  959. ),
  960. 'LoadBalancerName' => array(
  961. 'type' => 'string',
  962. 'location' => 'aws.query',
  963. ),
  964. 'PolicyNames' => array(
  965. 'type' => 'array',
  966. 'location' => 'aws.query',
  967. 'sentAs' => 'PolicyNames.member',
  968. 'items' => array(
  969. 'name' => 'PolicyName',
  970. 'type' => 'string',
  971. ),
  972. ),
  973. ),
  974. 'errorResponses' => array(
  975. array(
  976. 'reason' => 'The specified load balancer could not be found.',
  977. 'class' => 'AccessPointNotFoundException',
  978. ),
  979. array(
  980. 'reason' => 'One or more specified policies were not found.',
  981. 'class' => 'PolicyNotFoundException',
  982. ),
  983. ),
  984. ),
  985. 'DescribeLoadBalancerPolicyTypes' => array(
  986. 'httpMethod' => 'POST',
  987. 'uri' => '/',
  988. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  989. 'responseClass' => 'DescribeLoadBalancerPolicyTypesOutput',
  990. 'responseType' => 'model',
  991. 'parameters' => array(
  992. 'Action' => array(
  993. 'static' => true,
  994. 'location' => 'aws.query',
  995. 'default' => 'DescribeLoadBalancerPolicyTypes',
  996. ),
  997. 'Version' => array(
  998. 'static' => true,
  999. 'location' => 'aws.query',
  1000. 'default' => '2012-06-01',
  1001. ),
  1002. 'PolicyTypeNames' => array(
  1003. 'type' => 'array',
  1004. 'location' => 'aws.query',
  1005. 'sentAs' => 'PolicyTypeNames.member',
  1006. 'items' => array(
  1007. 'name' => 'PolicyTypeName',
  1008. 'type' => 'string',
  1009. ),
  1010. ),
  1011. ),
  1012. 'errorResponses' => array(
  1013. array(
  1014. 'reason' => 'One or more of the specified policy types do not exist.',
  1015. 'class' => 'PolicyTypeNotFoundException',
  1016. ),
  1017. ),
  1018. ),
  1019. 'DescribeLoadBalancers' => array(
  1020. 'httpMethod' => 'POST',
  1021. 'uri' => '/',
  1022. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1023. 'responseClass' => 'DescribeAccessPointsOutput',
  1024. 'responseType' => 'model',
  1025. 'parameters' => array(
  1026. 'Action' => array(
  1027. 'static' => true,
  1028. 'location' => 'aws.query',
  1029. 'default' => 'DescribeLoadBalancers',
  1030. ),
  1031. 'Version' => array(
  1032. 'static' => true,
  1033. 'location' => 'aws.query',
  1034. 'default' => '2012-06-01',
  1035. ),
  1036. 'LoadBalancerNames' => array(
  1037. 'type' => 'array',
  1038. 'location' => 'aws.query',
  1039. 'sentAs' => 'LoadBalancerNames.member',
  1040. 'items' => array(
  1041. 'name' => 'AccessPointName',
  1042. 'type' => 'string',
  1043. ),
  1044. ),
  1045. 'Marker' => array(
  1046. 'type' => 'string',
  1047. 'location' => 'aws.query',
  1048. ),
  1049. 'PageSize' => array(
  1050. 'type' => 'numeric',
  1051. 'location' => 'aws.query',
  1052. 'minimum' => 1,
  1053. 'maximum' => 400,
  1054. ),
  1055. ),
  1056. 'errorResponses' => array(
  1057. array(
  1058. 'reason' => 'The specified load balancer could not be found.',
  1059. 'class' => 'AccessPointNotFoundException',
  1060. ),
  1061. ),
  1062. ),
  1063. 'DescribeTags' => array(
  1064. 'httpMethod' => 'POST',
  1065. 'uri' => '/',
  1066. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1067. 'responseClass' => 'DescribeTagsOutput',
  1068. 'responseType' => 'model',
  1069. 'parameters' => array(
  1070. 'Action' => array(
  1071. 'static' => true,
  1072. 'location' => 'aws.query',
  1073. 'default' => 'DescribeTags',
  1074. ),
  1075. 'Version' => array(
  1076. 'static' => true,
  1077. 'location' => 'aws.query',
  1078. 'default' => '2012-06-01',
  1079. ),
  1080. 'LoadBalancerNames' => array(
  1081. 'required' => true,
  1082. 'type' => 'array',
  1083. 'location' => 'aws.query',
  1084. 'sentAs' => 'LoadBalancerNames.member',
  1085. 'minItems' => 1,
  1086. 'maxItems' => 20,
  1087. 'items' => array(
  1088. 'name' => 'AccessPointName',
  1089. 'type' => 'string',
  1090. ),
  1091. ),
  1092. ),
  1093. 'errorResponses' => array(
  1094. array(
  1095. 'reason' => 'The specified load balancer could not be found.',
  1096. 'class' => 'AccessPointNotFoundException',
  1097. ),
  1098. ),
  1099. ),
  1100. 'DetachLoadBalancerFromSubnets' => array(
  1101. 'httpMethod' => 'POST',
  1102. 'uri' => '/',
  1103. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1104. 'responseClass' => 'DetachLoadBalancerFromSubnetsOutput',
  1105. 'responseType' => 'model',
  1106. 'parameters' => array(
  1107. 'Action' => array(
  1108. 'static' => true,
  1109. 'location' => 'aws.query',
  1110. 'default' => 'DetachLoadBalancerFromSubnets',
  1111. ),
  1112. 'Version' => array(
  1113. 'static' => true,
  1114. 'location' => 'aws.query',
  1115. 'default' => '2012-06-01',
  1116. ),
  1117. 'LoadBalancerName' => array(
  1118. 'required' => true,
  1119. 'type' => 'string',
  1120. 'location' => 'aws.query',
  1121. ),
  1122. 'Subnets' => array(
  1123. 'required' => true,
  1124. 'type' => 'array',
  1125. 'location' => 'aws.query',
  1126. 'sentAs' => 'Subnets.member',
  1127. 'items' => array(
  1128. 'name' => 'SubnetId',
  1129. 'type' => 'string',
  1130. ),
  1131. ),
  1132. ),
  1133. 'errorResponses' => array(
  1134. array(
  1135. 'reason' => 'The specified load balancer could not be found.',
  1136. 'class' => 'AccessPointNotFoundException',
  1137. ),
  1138. array(
  1139. 'reason' => 'Requested configuration change is invalid.',
  1140. 'class' => 'InvalidConfigurationRequestException',
  1141. ),
  1142. ),
  1143. ),
  1144. 'DisableAvailabilityZonesForLoadBalancer' => array(
  1145. 'httpMethod' => 'POST',
  1146. 'uri' => '/',
  1147. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1148. 'responseClass' => 'RemoveAvailabilityZonesOutput',
  1149. 'responseType' => 'model',
  1150. 'parameters' => array(
  1151. 'Action' => array(
  1152. 'static' => true,
  1153. 'location' => 'aws.query',
  1154. 'default' => 'DisableAvailabilityZonesForLoadBalancer',
  1155. ),
  1156. 'Version' => array(
  1157. 'static' => true,
  1158. 'location' => 'aws.query',
  1159. 'default' => '2012-06-01',
  1160. ),
  1161. 'LoadBalancerName' => array(
  1162. 'required' => true,
  1163. 'type' => 'string',
  1164. 'location' => 'aws.query',
  1165. ),
  1166. 'AvailabilityZones' => array(
  1167. 'required' => true,
  1168. 'type' => 'array',
  1169. 'location' => 'aws.query',
  1170. 'sentAs' => 'AvailabilityZones.member',
  1171. 'items' => array(
  1172. 'name' => 'AvailabilityZone',
  1173. 'type' => 'string',
  1174. ),
  1175. ),
  1176. ),
  1177. 'errorResponses' => array(
  1178. array(
  1179. 'reason' => 'The specified load balancer could not be found.',
  1180. 'class' => 'AccessPointNotFoundException',
  1181. ),
  1182. array(
  1183. 'reason' => 'Requested configuration change is invalid.',
  1184. 'class' => 'InvalidConfigurationRequestException',
  1185. ),
  1186. ),
  1187. ),
  1188. 'EnableAvailabilityZonesForLoadBalancer' => array(
  1189. 'httpMethod' => 'POST',
  1190. 'uri' => '/',
  1191. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1192. 'responseClass' => 'AddAvailabilityZonesOutput',
  1193. 'responseType' => 'model',
  1194. 'parameters' => array(
  1195. 'Action' => array(
  1196. 'static' => true,
  1197. 'location' => 'aws.query',
  1198. 'default' => 'EnableAvailabilityZonesForLoadBalancer',
  1199. ),
  1200. 'Version' => array(
  1201. 'static' => true,
  1202. 'location' => 'aws.query',
  1203. 'default' => '2012-06-01',
  1204. ),
  1205. 'LoadBalancerName' => array(
  1206. 'required' => true,
  1207. 'type' => 'string',
  1208. 'location' => 'aws.query',
  1209. ),
  1210. 'AvailabilityZones' => array(
  1211. 'required' => true,
  1212. 'type' => 'array',
  1213. 'location' => 'aws.query',
  1214. 'sentAs' => 'AvailabilityZones.member',
  1215. 'items' => array(
  1216. 'name' => 'AvailabilityZone',
  1217. 'type' => 'string',
  1218. ),
  1219. ),
  1220. ),
  1221. 'errorResponses' => array(
  1222. array(
  1223. 'reason' => 'The specified load balancer could not be found.',
  1224. 'class' => 'AccessPointNotFoundException',
  1225. ),
  1226. ),
  1227. ),
  1228. 'ModifyLoadBalancerAttributes' => array(
  1229. 'httpMethod' => 'POST',
  1230. 'uri' => '/',
  1231. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1232. 'responseClass' => 'ModifyLoadBalancerAttributesOutput',
  1233. 'responseType' => 'model',
  1234. 'parameters' => array(
  1235. 'Action' => array(
  1236. 'static' => true,
  1237. 'location' => 'aws.query',
  1238. 'default' => 'ModifyLoadBalancerAttributes',
  1239. ),
  1240. 'Version' => arra