/api/vendor/aws/aws-sdk-php/src/Aws/DirectConnect/Resources/directconnect-2012-10-25.php

https://gitlab.com/x33n/respond · PHP · 1225 lines · 1210 code · 1 blank · 14 comment · 0 complexity · cdb4a44414e26c3d3412d614c9b9e193 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-10-25',
  18. 'endpointPrefix' => 'directconnect',
  19. 'serviceFullName' => 'AWS Direct Connect',
  20. 'serviceType' => 'json',
  21. 'jsonVersion' => '1.1',
  22. 'targetPrefix' => 'OvertureService.',
  23. 'signatureVersion' => 'v4',
  24. 'namespace' => 'DirectConnect',
  25. 'regions' => array(
  26. 'us-east-1' => array(
  27. 'http' => false,
  28. 'https' => true,
  29. 'hostname' => 'directconnect.us-east-1.amazonaws.com',
  30. ),
  31. 'us-west-1' => array(
  32. 'http' => false,
  33. 'https' => true,
  34. 'hostname' => 'directconnect.us-west-1.amazonaws.com',
  35. ),
  36. 'us-west-2' => array(
  37. 'http' => false,
  38. 'https' => true,
  39. 'hostname' => 'directconnect.us-west-2.amazonaws.com',
  40. ),
  41. 'eu-west-1' => array(
  42. 'http' => false,
  43. 'https' => true,
  44. 'hostname' => 'directconnect.eu-west-1.amazonaws.com',
  45. ),
  46. 'ap-northeast-1' => array(
  47. 'http' => false,
  48. 'https' => true,
  49. 'hostname' => 'directconnect.ap-northeast-1.amazonaws.com',
  50. ),
  51. 'ap-southeast-1' => array(
  52. 'http' => false,
  53. 'https' => true,
  54. 'hostname' => 'directconnect.ap-southeast-1.amazonaws.com',
  55. ),
  56. 'ap-southeast-2' => array(
  57. 'http' => false,
  58. 'https' => true,
  59. 'hostname' => 'directconnect.ap-southeast-2.amazonaws.com',
  60. ),
  61. 'sa-east-1' => array(
  62. 'http' => false,
  63. 'https' => true,
  64. 'hostname' => 'directconnect.sa-east-1.amazonaws.com',
  65. ),
  66. ),
  67. 'operations' => array(
  68. 'AllocateConnectionOnInterconnect' => array(
  69. 'httpMethod' => 'POST',
  70. 'uri' => '/',
  71. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  72. 'responseClass' => 'Connection',
  73. 'responseType' => 'model',
  74. 'parameters' => array(
  75. 'Content-Type' => array(
  76. 'static' => true,
  77. 'location' => 'header',
  78. 'default' => 'application/x-amz-json-1.1',
  79. ),
  80. 'command.expects' => array(
  81. 'static' => true,
  82. 'default' => 'application/json',
  83. ),
  84. 'X-Amz-Target' => array(
  85. 'static' => true,
  86. 'location' => 'header',
  87. 'default' => 'OvertureService.AllocateConnectionOnInterconnect',
  88. ),
  89. 'bandwidth' => array(
  90. 'required' => true,
  91. 'type' => 'string',
  92. 'location' => 'json',
  93. ),
  94. 'connectionName' => array(
  95. 'required' => true,
  96. 'type' => 'string',
  97. 'location' => 'json',
  98. ),
  99. 'ownerAccount' => array(
  100. 'required' => true,
  101. 'type' => 'string',
  102. 'location' => 'json',
  103. ),
  104. 'interconnectId' => array(
  105. 'required' => true,
  106. 'type' => 'string',
  107. 'location' => 'json',
  108. ),
  109. 'vlan' => array(
  110. 'required' => true,
  111. 'type' => 'numeric',
  112. 'location' => 'json',
  113. ),
  114. ),
  115. 'errorResponses' => array(
  116. array(
  117. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  118. 'class' => 'DirectConnectServerException',
  119. ),
  120. array(
  121. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  122. 'class' => 'DirectConnectClientException',
  123. ),
  124. ),
  125. ),
  126. 'AllocatePrivateVirtualInterface' => array(
  127. 'httpMethod' => 'POST',
  128. 'uri' => '/',
  129. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  130. 'responseClass' => 'VirtualInterface',
  131. 'responseType' => 'model',
  132. 'parameters' => array(
  133. 'Content-Type' => array(
  134. 'static' => true,
  135. 'location' => 'header',
  136. 'default' => 'application/x-amz-json-1.1',
  137. ),
  138. 'command.expects' => array(
  139. 'static' => true,
  140. 'default' => 'application/json',
  141. ),
  142. 'X-Amz-Target' => array(
  143. 'static' => true,
  144. 'location' => 'header',
  145. 'default' => 'OvertureService.AllocatePrivateVirtualInterface',
  146. ),
  147. 'connectionId' => array(
  148. 'required' => true,
  149. 'type' => 'string',
  150. 'location' => 'json',
  151. ),
  152. 'ownerAccount' => array(
  153. 'required' => true,
  154. 'type' => 'string',
  155. 'location' => 'json',
  156. ),
  157. 'newPrivateVirtualInterfaceAllocation' => array(
  158. 'required' => true,
  159. 'type' => 'object',
  160. 'location' => 'json',
  161. 'properties' => array(
  162. 'virtualInterfaceName' => array(
  163. 'required' => true,
  164. 'type' => 'string',
  165. ),
  166. 'vlan' => array(
  167. 'required' => true,
  168. 'type' => 'numeric',
  169. ),
  170. 'asn' => array(
  171. 'required' => true,
  172. 'type' => 'numeric',
  173. ),
  174. 'authKey' => array(
  175. 'type' => 'string',
  176. ),
  177. 'amazonAddress' => array(
  178. 'type' => 'string',
  179. ),
  180. 'customerAddress' => array(
  181. 'type' => 'string',
  182. ),
  183. ),
  184. ),
  185. ),
  186. 'errorResponses' => array(
  187. array(
  188. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  189. 'class' => 'DirectConnectServerException',
  190. ),
  191. array(
  192. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  193. 'class' => 'DirectConnectClientException',
  194. ),
  195. ),
  196. ),
  197. 'AllocatePublicVirtualInterface' => array(
  198. 'httpMethod' => 'POST',
  199. 'uri' => '/',
  200. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  201. 'responseClass' => 'VirtualInterface',
  202. 'responseType' => 'model',
  203. 'parameters' => array(
  204. 'Content-Type' => array(
  205. 'static' => true,
  206. 'location' => 'header',
  207. 'default' => 'application/x-amz-json-1.1',
  208. ),
  209. 'command.expects' => array(
  210. 'static' => true,
  211. 'default' => 'application/json',
  212. ),
  213. 'X-Amz-Target' => array(
  214. 'static' => true,
  215. 'location' => 'header',
  216. 'default' => 'OvertureService.AllocatePublicVirtualInterface',
  217. ),
  218. 'connectionId' => array(
  219. 'required' => true,
  220. 'type' => 'string',
  221. 'location' => 'json',
  222. ),
  223. 'ownerAccount' => array(
  224. 'required' => true,
  225. 'type' => 'string',
  226. 'location' => 'json',
  227. ),
  228. 'newPublicVirtualInterfaceAllocation' => array(
  229. 'required' => true,
  230. 'type' => 'object',
  231. 'location' => 'json',
  232. 'properties' => array(
  233. 'virtualInterfaceName' => array(
  234. 'required' => true,
  235. 'type' => 'string',
  236. ),
  237. 'vlan' => array(
  238. 'required' => true,
  239. 'type' => 'numeric',
  240. ),
  241. 'asn' => array(
  242. 'required' => true,
  243. 'type' => 'numeric',
  244. ),
  245. 'authKey' => array(
  246. 'type' => 'string',
  247. ),
  248. 'amazonAddress' => array(
  249. 'required' => true,
  250. 'type' => 'string',
  251. ),
  252. 'customerAddress' => array(
  253. 'required' => true,
  254. 'type' => 'string',
  255. ),
  256. 'routeFilterPrefixes' => array(
  257. 'required' => true,
  258. 'type' => 'array',
  259. 'items' => array(
  260. 'name' => 'RouteFilterPrefix',
  261. 'type' => 'object',
  262. 'properties' => array(
  263. 'cidr' => array(
  264. 'type' => 'string',
  265. ),
  266. ),
  267. ),
  268. ),
  269. ),
  270. ),
  271. ),
  272. 'errorResponses' => array(
  273. array(
  274. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  275. 'class' => 'DirectConnectServerException',
  276. ),
  277. array(
  278. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  279. 'class' => 'DirectConnectClientException',
  280. ),
  281. ),
  282. ),
  283. 'ConfirmConnection' => array(
  284. 'httpMethod' => 'POST',
  285. 'uri' => '/',
  286. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  287. 'responseClass' => 'ConfirmConnectionResponse',
  288. 'responseType' => 'model',
  289. 'parameters' => array(
  290. 'Content-Type' => array(
  291. 'static' => true,
  292. 'location' => 'header',
  293. 'default' => 'application/x-amz-json-1.1',
  294. ),
  295. 'command.expects' => array(
  296. 'static' => true,
  297. 'default' => 'application/json',
  298. ),
  299. 'X-Amz-Target' => array(
  300. 'static' => true,
  301. 'location' => 'header',
  302. 'default' => 'OvertureService.ConfirmConnection',
  303. ),
  304. 'connectionId' => array(
  305. 'required' => true,
  306. 'type' => 'string',
  307. 'location' => 'json',
  308. ),
  309. ),
  310. 'errorResponses' => array(
  311. array(
  312. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  313. 'class' => 'DirectConnectServerException',
  314. ),
  315. array(
  316. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  317. 'class' => 'DirectConnectClientException',
  318. ),
  319. ),
  320. ),
  321. 'ConfirmPrivateVirtualInterface' => array(
  322. 'httpMethod' => 'POST',
  323. 'uri' => '/',
  324. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  325. 'responseClass' => 'ConfirmPrivateVirtualInterfaceResponse',
  326. 'responseType' => 'model',
  327. 'parameters' => array(
  328. 'Content-Type' => array(
  329. 'static' => true,
  330. 'location' => 'header',
  331. 'default' => 'application/x-amz-json-1.1',
  332. ),
  333. 'command.expects' => array(
  334. 'static' => true,
  335. 'default' => 'application/json',
  336. ),
  337. 'X-Amz-Target' => array(
  338. 'static' => true,
  339. 'location' => 'header',
  340. 'default' => 'OvertureService.ConfirmPrivateVirtualInterface',
  341. ),
  342. 'virtualInterfaceId' => array(
  343. 'required' => true,
  344. 'type' => 'string',
  345. 'location' => 'json',
  346. ),
  347. 'virtualGatewayId' => array(
  348. 'required' => true,
  349. 'type' => 'string',
  350. 'location' => 'json',
  351. ),
  352. ),
  353. 'errorResponses' => array(
  354. array(
  355. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  356. 'class' => 'DirectConnectServerException',
  357. ),
  358. array(
  359. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  360. 'class' => 'DirectConnectClientException',
  361. ),
  362. ),
  363. ),
  364. 'ConfirmPublicVirtualInterface' => array(
  365. 'httpMethod' => 'POST',
  366. 'uri' => '/',
  367. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  368. 'responseClass' => 'ConfirmPublicVirtualInterfaceResponse',
  369. 'responseType' => 'model',
  370. 'parameters' => array(
  371. 'Content-Type' => array(
  372. 'static' => true,
  373. 'location' => 'header',
  374. 'default' => 'application/x-amz-json-1.1',
  375. ),
  376. 'command.expects' => array(
  377. 'static' => true,
  378. 'default' => 'application/json',
  379. ),
  380. 'X-Amz-Target' => array(
  381. 'static' => true,
  382. 'location' => 'header',
  383. 'default' => 'OvertureService.ConfirmPublicVirtualInterface',
  384. ),
  385. 'virtualInterfaceId' => array(
  386. 'required' => true,
  387. 'type' => 'string',
  388. 'location' => 'json',
  389. ),
  390. ),
  391. 'errorResponses' => array(
  392. array(
  393. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  394. 'class' => 'DirectConnectServerException',
  395. ),
  396. array(
  397. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  398. 'class' => 'DirectConnectClientException',
  399. ),
  400. ),
  401. ),
  402. 'CreateConnection' => array(
  403. 'httpMethod' => 'POST',
  404. 'uri' => '/',
  405. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  406. 'responseClass' => 'Connection',
  407. 'responseType' => 'model',
  408. 'parameters' => array(
  409. 'Content-Type' => array(
  410. 'static' => true,
  411. 'location' => 'header',
  412. 'default' => 'application/x-amz-json-1.1',
  413. ),
  414. 'command.expects' => array(
  415. 'static' => true,
  416. 'default' => 'application/json',
  417. ),
  418. 'X-Amz-Target' => array(
  419. 'static' => true,
  420. 'location' => 'header',
  421. 'default' => 'OvertureService.CreateConnection',
  422. ),
  423. 'location' => array(
  424. 'required' => true,
  425. 'type' => 'string',
  426. 'location' => 'json',
  427. ),
  428. 'bandwidth' => array(
  429. 'required' => true,
  430. 'type' => 'string',
  431. 'location' => 'json',
  432. ),
  433. 'connectionName' => array(
  434. 'required' => true,
  435. 'type' => 'string',
  436. 'location' => 'json',
  437. ),
  438. ),
  439. 'errorResponses' => array(
  440. array(
  441. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  442. 'class' => 'DirectConnectServerException',
  443. ),
  444. array(
  445. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  446. 'class' => 'DirectConnectClientException',
  447. ),
  448. ),
  449. ),
  450. 'CreateInterconnect' => array(
  451. 'httpMethod' => 'POST',
  452. 'uri' => '/',
  453. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  454. 'responseClass' => 'Interconnect',
  455. 'responseType' => 'model',
  456. 'parameters' => array(
  457. 'Content-Type' => array(
  458. 'static' => true,
  459. 'location' => 'header',
  460. 'default' => 'application/x-amz-json-1.1',
  461. ),
  462. 'command.expects' => array(
  463. 'static' => true,
  464. 'default' => 'application/json',
  465. ),
  466. 'X-Amz-Target' => array(
  467. 'static' => true,
  468. 'location' => 'header',
  469. 'default' => 'OvertureService.CreateInterconnect',
  470. ),
  471. 'interconnectName' => array(
  472. 'required' => true,
  473. 'type' => 'string',
  474. 'location' => 'json',
  475. ),
  476. 'bandwidth' => array(
  477. 'required' => true,
  478. 'type' => 'string',
  479. 'location' => 'json',
  480. ),
  481. 'location' => array(
  482. 'required' => true,
  483. 'type' => 'string',
  484. 'location' => 'json',
  485. ),
  486. ),
  487. 'errorResponses' => array(
  488. array(
  489. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  490. 'class' => 'DirectConnectServerException',
  491. ),
  492. array(
  493. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  494. 'class' => 'DirectConnectClientException',
  495. ),
  496. ),
  497. ),
  498. 'CreatePrivateVirtualInterface' => array(
  499. 'httpMethod' => 'POST',
  500. 'uri' => '/',
  501. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  502. 'responseClass' => 'VirtualInterface',
  503. 'responseType' => 'model',
  504. 'parameters' => array(
  505. 'Content-Type' => array(
  506. 'static' => true,
  507. 'location' => 'header',
  508. 'default' => 'application/x-amz-json-1.1',
  509. ),
  510. 'command.expects' => array(
  511. 'static' => true,
  512. 'default' => 'application/json',
  513. ),
  514. 'X-Amz-Target' => array(
  515. 'static' => true,
  516. 'location' => 'header',
  517. 'default' => 'OvertureService.CreatePrivateVirtualInterface',
  518. ),
  519. 'connectionId' => array(
  520. 'required' => true,
  521. 'type' => 'string',
  522. 'location' => 'json',
  523. ),
  524. 'newPrivateVirtualInterface' => array(
  525. 'required' => true,
  526. 'type' => 'object',
  527. 'location' => 'json',
  528. 'properties' => array(
  529. 'virtualInterfaceName' => array(
  530. 'required' => true,
  531. 'type' => 'string',
  532. ),
  533. 'vlan' => array(
  534. 'required' => true,
  535. 'type' => 'numeric',
  536. ),
  537. 'asn' => array(
  538. 'required' => true,
  539. 'type' => 'numeric',
  540. ),
  541. 'authKey' => array(
  542. 'type' => 'string',
  543. ),
  544. 'amazonAddress' => array(
  545. 'type' => 'string',
  546. ),
  547. 'customerAddress' => array(
  548. 'type' => 'string',
  549. ),
  550. 'virtualGatewayId' => array(
  551. 'required' => true,
  552. 'type' => 'string',
  553. ),
  554. ),
  555. ),
  556. ),
  557. 'errorResponses' => array(
  558. array(
  559. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  560. 'class' => 'DirectConnectServerException',
  561. ),
  562. array(
  563. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  564. 'class' => 'DirectConnectClientException',
  565. ),
  566. ),
  567. ),
  568. 'CreatePublicVirtualInterface' => array(
  569. 'httpMethod' => 'POST',
  570. 'uri' => '/',
  571. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  572. 'responseClass' => 'VirtualInterface',
  573. 'responseType' => 'model',
  574. 'parameters' => array(
  575. 'Content-Type' => array(
  576. 'static' => true,
  577. 'location' => 'header',
  578. 'default' => 'application/x-amz-json-1.1',
  579. ),
  580. 'command.expects' => array(
  581. 'static' => true,
  582. 'default' => 'application/json',
  583. ),
  584. 'X-Amz-Target' => array(
  585. 'static' => true,
  586. 'location' => 'header',
  587. 'default' => 'OvertureService.CreatePublicVirtualInterface',
  588. ),
  589. 'connectionId' => array(
  590. 'required' => true,
  591. 'type' => 'string',
  592. 'location' => 'json',
  593. ),
  594. 'newPublicVirtualInterface' => array(
  595. 'required' => true,
  596. 'type' => 'object',
  597. 'location' => 'json',
  598. 'properties' => array(
  599. 'virtualInterfaceName' => array(
  600. 'required' => true,
  601. 'type' => 'string',
  602. ),
  603. 'vlan' => array(
  604. 'required' => true,
  605. 'type' => 'numeric',
  606. ),
  607. 'asn' => array(
  608. 'required' => true,
  609. 'type' => 'numeric',
  610. ),
  611. 'authKey' => array(
  612. 'type' => 'string',
  613. ),
  614. 'amazonAddress' => array(
  615. 'required' => true,
  616. 'type' => 'string',
  617. ),
  618. 'customerAddress' => array(
  619. 'required' => true,
  620. 'type' => 'string',
  621. ),
  622. 'routeFilterPrefixes' => array(
  623. 'required' => true,
  624. 'type' => 'array',
  625. 'items' => array(
  626. 'name' => 'RouteFilterPrefix',
  627. 'type' => 'object',
  628. 'properties' => array(
  629. 'cidr' => array(
  630. 'type' => 'string',
  631. ),
  632. ),
  633. ),
  634. ),
  635. ),
  636. ),
  637. ),
  638. 'errorResponses' => array(
  639. array(
  640. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  641. 'class' => 'DirectConnectServerException',
  642. ),
  643. array(
  644. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  645. 'class' => 'DirectConnectClientException',
  646. ),
  647. ),
  648. ),
  649. 'DeleteConnection' => array(
  650. 'httpMethod' => 'POST',
  651. 'uri' => '/',
  652. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  653. 'responseClass' => 'Connection',
  654. 'responseType' => 'model',
  655. 'parameters' => array(
  656. 'Content-Type' => array(
  657. 'static' => true,
  658. 'location' => 'header',
  659. 'default' => 'application/x-amz-json-1.1',
  660. ),
  661. 'command.expects' => array(
  662. 'static' => true,
  663. 'default' => 'application/json',
  664. ),
  665. 'X-Amz-Target' => array(
  666. 'static' => true,
  667. 'location' => 'header',
  668. 'default' => 'OvertureService.DeleteConnection',
  669. ),
  670. 'connectionId' => array(
  671. 'required' => true,
  672. 'type' => 'string',
  673. 'location' => 'json',
  674. ),
  675. ),
  676. 'errorResponses' => array(
  677. array(
  678. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  679. 'class' => 'DirectConnectServerException',
  680. ),
  681. array(
  682. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  683. 'class' => 'DirectConnectClientException',
  684. ),
  685. ),
  686. ),
  687. 'DeleteInterconnect' => array(
  688. 'httpMethod' => 'POST',
  689. 'uri' => '/',
  690. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  691. 'responseClass' => 'DeleteInterconnectResponse',
  692. 'responseType' => 'model',
  693. 'parameters' => array(
  694. 'Content-Type' => array(
  695. 'static' => true,
  696. 'location' => 'header',
  697. 'default' => 'application/x-amz-json-1.1',
  698. ),
  699. 'command.expects' => array(
  700. 'static' => true,
  701. 'default' => 'application/json',
  702. ),
  703. 'X-Amz-Target' => array(
  704. 'static' => true,
  705. 'location' => 'header',
  706. 'default' => 'OvertureService.DeleteInterconnect',
  707. ),
  708. 'interconnectId' => array(
  709. 'required' => true,
  710. 'type' => 'string',
  711. 'location' => 'json',
  712. ),
  713. ),
  714. 'errorResponses' => array(
  715. array(
  716. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  717. 'class' => 'DirectConnectServerException',
  718. ),
  719. array(
  720. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  721. 'class' => 'DirectConnectClientException',
  722. ),
  723. ),
  724. ),
  725. 'DeleteVirtualInterface' => array(
  726. 'httpMethod' => 'POST',
  727. 'uri' => '/',
  728. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  729. 'responseClass' => 'DeleteVirtualInterfaceResponse',
  730. 'responseType' => 'model',
  731. 'parameters' => array(
  732. 'Content-Type' => array(
  733. 'static' => true,
  734. 'location' => 'header',
  735. 'default' => 'application/x-amz-json-1.1',
  736. ),
  737. 'command.expects' => array(
  738. 'static' => true,
  739. 'default' => 'application/json',
  740. ),
  741. 'X-Amz-Target' => array(
  742. 'static' => true,
  743. 'location' => 'header',
  744. 'default' => 'OvertureService.DeleteVirtualInterface',
  745. ),
  746. 'virtualInterfaceId' => array(
  747. 'required' => true,
  748. 'type' => 'string',
  749. 'location' => 'json',
  750. ),
  751. ),
  752. 'errorResponses' => array(
  753. array(
  754. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  755. 'class' => 'DirectConnectServerException',
  756. ),
  757. array(
  758. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  759. 'class' => 'DirectConnectClientException',
  760. ),
  761. ),
  762. ),
  763. 'DescribeConnections' => array(
  764. 'httpMethod' => 'POST',
  765. 'uri' => '/',
  766. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  767. 'responseClass' => 'Connections',
  768. 'responseType' => 'model',
  769. 'parameters' => array(
  770. 'Content-Type' => array(
  771. 'static' => true,
  772. 'location' => 'header',
  773. 'default' => 'application/x-amz-json-1.1',
  774. ),
  775. 'command.expects' => array(
  776. 'static' => true,
  777. 'default' => 'application/json',
  778. ),
  779. 'X-Amz-Target' => array(
  780. 'static' => true,
  781. 'location' => 'header',
  782. 'default' => 'OvertureService.DescribeConnections',
  783. ),
  784. 'connectionId' => array(
  785. 'type' => 'string',
  786. 'location' => 'json',
  787. ),
  788. ),
  789. 'errorResponses' => array(
  790. array(
  791. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  792. 'class' => 'DirectConnectServerException',
  793. ),
  794. array(
  795. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  796. 'class' => 'DirectConnectClientException',
  797. ),
  798. ),
  799. ),
  800. 'DescribeConnectionsOnInterconnect' => array(
  801. 'httpMethod' => 'POST',
  802. 'uri' => '/',
  803. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  804. 'responseClass' => 'Connections',
  805. 'responseType' => 'model',
  806. 'parameters' => array(
  807. 'Content-Type' => array(
  808. 'static' => true,
  809. 'location' => 'header',
  810. 'default' => 'application/x-amz-json-1.1',
  811. ),
  812. 'command.expects' => array(
  813. 'static' => true,
  814. 'default' => 'application/json',
  815. ),
  816. 'X-Amz-Target' => array(
  817. 'static' => true,
  818. 'location' => 'header',
  819. 'default' => 'OvertureService.DescribeConnectionsOnInterconnect',
  820. ),
  821. 'interconnectId' => array(
  822. 'required' => true,
  823. 'type' => 'string',
  824. 'location' => 'json',
  825. ),
  826. ),
  827. 'errorResponses' => array(
  828. array(
  829. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  830. 'class' => 'DirectConnectServerException',
  831. ),
  832. array(
  833. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  834. 'class' => 'DirectConnectClientException',
  835. ),
  836. ),
  837. ),
  838. 'DescribeInterconnects' => array(
  839. 'httpMethod' => 'POST',
  840. 'uri' => '/',
  841. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  842. 'responseClass' => 'Interconnects',
  843. 'responseType' => 'model',
  844. 'parameters' => array(
  845. 'Content-Type' => array(
  846. 'static' => true,
  847. 'location' => 'header',
  848. 'default' => 'application/x-amz-json-1.1',
  849. ),
  850. 'command.expects' => array(
  851. 'static' => true,
  852. 'default' => 'application/json',
  853. ),
  854. 'X-Amz-Target' => array(
  855. 'static' => true,
  856. 'location' => 'header',
  857. 'default' => 'OvertureService.DescribeInterconnects',
  858. ),
  859. 'interconnectId' => array(
  860. 'type' => 'string',
  861. 'location' => 'json',
  862. ),
  863. ),
  864. 'errorResponses' => array(
  865. array(
  866. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  867. 'class' => 'DirectConnectServerException',
  868. ),
  869. array(
  870. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  871. 'class' => 'DirectConnectClientException',
  872. ),
  873. ),
  874. ),
  875. 'DescribeLocations' => array(
  876. 'httpMethod' => 'POST',
  877. 'uri' => '/',
  878. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  879. 'responseClass' => 'Locations',
  880. 'responseType' => 'model',
  881. 'parameters' => array(
  882. 'Content-Type' => array(
  883. 'static' => true,
  884. 'location' => 'header',
  885. 'default' => 'application/x-amz-json-1.1',
  886. ),
  887. 'command.expects' => array(
  888. 'static' => true,
  889. 'default' => 'application/json',
  890. ),
  891. 'X-Amz-Target' => array(
  892. 'static' => true,
  893. 'location' => 'header',
  894. 'default' => 'OvertureService.DescribeLocations',
  895. ),
  896. ),
  897. 'errorResponses' => array(
  898. array(
  899. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  900. 'class' => 'DirectConnectServerException',
  901. ),
  902. array(
  903. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  904. 'class' => 'DirectConnectClientException',
  905. ),
  906. ),
  907. ),
  908. 'DescribeVirtualGateways' => array(
  909. 'httpMethod' => 'POST',
  910. 'uri' => '/',
  911. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  912. 'responseClass' => 'VirtualGateways',
  913. 'responseType' => 'model',
  914. 'parameters' => array(
  915. 'Content-Type' => array(
  916. 'static' => true,
  917. 'location' => 'header',
  918. 'default' => 'application/x-amz-json-1.1',
  919. ),
  920. 'command.expects' => array(
  921. 'static' => true,
  922. 'default' => 'application/json',
  923. ),
  924. 'X-Amz-Target' => array(
  925. 'static' => true,
  926. 'location' => 'header',
  927. 'default' => 'OvertureService.DescribeVirtualGateways',
  928. ),
  929. ),
  930. 'errorResponses' => array(
  931. array(
  932. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  933. 'class' => 'DirectConnectServerException',
  934. ),
  935. array(
  936. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  937. 'class' => 'DirectConnectClientException',
  938. ),
  939. ),
  940. ),
  941. 'DescribeVirtualInterfaces' => array(
  942. 'httpMethod' => 'POST',
  943. 'uri' => '/',
  944. 'class' => 'Aws\\Common\\Command\\JsonCommand',
  945. 'responseClass' => 'VirtualInterfaces',
  946. 'responseType' => 'model',
  947. 'parameters' => array(
  948. 'Content-Type' => array(
  949. 'static' => true,
  950. 'location' => 'header',
  951. 'default' => 'application/x-amz-json-1.1',
  952. ),
  953. 'command.expects' => array(
  954. 'static' => true,
  955. 'default' => 'application/json',
  956. ),
  957. 'X-Amz-Target' => array(
  958. 'static' => true,
  959. 'location' => 'header',
  960. 'default' => 'OvertureService.DescribeVirtualInterfaces',
  961. ),
  962. 'connectionId' => array(
  963. 'type' => 'string',
  964. 'location' => 'json',
  965. ),
  966. 'virtualInterfaceId' => array(
  967. 'type' => 'string',
  968. 'location' => 'json',
  969. ),
  970. ),
  971. 'errorResponses' => array(
  972. array(
  973. 'reason' => 'A server-side error occurred during the API call. The error message will contain additional details about the cause.',
  974. 'class' => 'DirectConnectServerException',
  975. ),
  976. array(
  977. 'reason' => 'The API was called with invalid parameters. The error message will contain additional details about the cause.',
  978. 'class' => 'DirectConnectClientException',
  979. ),
  980. ),
  981. ),
  982. ),
  983. 'models' => array(
  984. 'Connection' => array(
  985. 'type' => 'object',
  986. 'additionalProperties' => true,
  987. 'properties' => array(
  988. 'ownerAccount' => array(
  989. 'type' => 'string',
  990. 'location' => 'json',
  991. ),
  992. 'connectionId' => array(
  993. 'type' => 'string',
  994. 'location' => 'json',
  995. ),
  996. 'connectionName' => array(
  997. 'type' => 'string',
  998. 'location' => 'json',
  999. ),
  1000. 'connectionState' => array(
  1001. 'type' => 'string',
  1002. 'location' => 'json',
  1003. ),
  1004. 'region' => array(
  1005. 'type' => 'string',
  1006. 'location' => 'json',
  1007. ),
  1008. 'location' => array(
  1009. 'type' => 'string',
  1010. 'location' => 'json',
  1011. ),
  1012. 'bandwidth' => array(
  1013. 'type' => 'string',
  1014. 'location' => 'json',
  1015. ),
  1016. 'vlan' => array(
  1017. 'type' => 'numeric',
  1018. 'location' => 'json',
  1019. ),
  1020. 'partnerName' => array(
  1021. 'type' => 'string',
  1022. 'location' => 'json',
  1023. ),
  1024. ),
  1025. ),
  1026. 'VirtualInterface' => array(
  1027. 'type' => 'object',
  1028. 'additionalProperties' => true,
  1029. 'properties' => array(
  1030. 'ownerAccount' => array(
  1031. 'type' => 'string',
  1032. 'location' => 'json',
  1033. ),
  1034. 'virtualInterfaceId' => array(
  1035. 'type' => 'string',
  1036. 'location' => 'json',
  1037. ),
  1038. 'location' => array(
  1039. 'type' => 'string',
  1040. 'location' => 'json',
  1041. ),
  1042. 'connectionId' => array(
  1043. 'type' => 'string',
  1044. 'location' => 'json',
  1045. ),
  1046. 'virtualInterfaceType' => array(
  1047. 'type' => 'string',
  1048. 'location' => 'json',
  1049. ),
  1050. 'virtualInterfaceName' => array(
  1051. 'type' => 'string',
  1052. 'location' => 'json',
  1053. ),
  1054. 'vlan' => array(
  1055. 'type' => 'numeric',
  1056. 'location' => 'json',
  1057. ),
  1058. 'asn' => array(
  1059. 'type' => 'numeric',
  1060. 'location' => 'json',
  1061. ),
  1062. 'authKey' => array(
  1063. 'type' => 'string',
  1064. 'location' => 'json',
  1065. ),
  1066. 'amazonAddress' => array(
  1067. 'type' => 'string',
  1068. 'location' => 'json',
  1069. ),
  1070. 'customerAddress' => array(
  1071. 'type' => 'string',
  1072. 'location' => 'json',
  1073. ),
  1074. 'virtualInterfaceState' => array(
  1075. 'type' => 'string',
  1076. 'location' => 'json',
  1077. ),
  1078. 'customerRouterConfig' => array(
  1079. 'type' => 'string',
  1080. 'location' => 'json',
  1081. ),
  1082. 'virtualGatewayId' => array(
  1083. 'type' => 'string',
  1084. 'location' => 'json',
  1085. ),
  1086. 'routeFilterPrefixes' => array(
  1087. 'type' => 'array',
  1088. 'location' => 'json',
  1089. 'items' => array(
  1090. 'name' => 'RouteFilterPrefix',
  1091. 'type' => 'object',
  1092. 'properties' => array(
  1093. 'cidr' => array(
  1094. 'type' => 'string',
  1095. ),
  1096. ),
  1097. ),
  1098. ),
  1099. ),
  1100. ),
  1101. 'ConfirmConnectionResponse' => array(
  1102. 'type' => 'object',
  1103. 'additionalProperties' => true,
  1104. 'properties' => array(
  1105. 'connectionState' => array(
  1106. 'type' => 'string',
  1107. 'location' => 'json',
  1108. ),
  1109. ),
  1110. ),
  1111. 'ConfirmPrivateVirtualInterfaceResponse' => array(
  1112. 'type' => 'object',
  1113. 'additionalProperties' => true,
  1114. 'properties' => array(
  1115. 'virtualInterfaceState' => array(
  1116. 'type' => 'string',
  1117. 'location' => 'json',
  1118. ),
  1119. ),
  1120. ),
  1121. 'ConfirmPublicVirtualInterfaceResponse' => array(
  1122. 'type' => 'object',
  1123. 'additionalProperties' => true,
  1124. 'properties' => array(
  1125. 'virtualInterfaceState' => array(
  1126. 'type' => 'string',
  1127. 'location' => 'json',
  1128. ),
  1129. ),
  1130. ),
  1131. 'Interconnect' => array(
  1132. 'type' => 'object',
  1133. 'additionalProperties' => true,
  1134. 'properties' => array(
  1135. 'interconnectId' => array(
  1136. 'type' => 'string',
  1137. 'location' => 'json',
  1138. ),
  1139. 'interconnectName' => array(
  1140. 'type' => 'string',
  1141. 'location' => 'json',
  1142. ),
  1143. 'interconnectState' => array(
  1144. 'type' => 'string',
  1145. 'location' => 'json',
  1146. ),
  1147. 'region' => array(
  1148. 'type' => 'string',
  1149. 'location' => 'json',
  1150. ),
  1151. 'location' => array(
  1152. 'type' => 'string',
  1153. 'location' => 'json',
  1154. ),
  1155. 'bandwidth' => array(
  1156. 'type' => 'string',
  1157. 'location' => 'json',
  1158. ),
  1159. ),
  1160. ),
  1161. 'DeleteInterconnectResponse' => array(
  1162. 'type' => 'object',
  1163. 'additionalProperties' => true,
  1164. 'properties' => array(
  1165. 'interconnectState' => array(
  1166. 'type' => 'string',
  1167. 'location' => 'json',
  1168. ),
  1169. ),
  1170. ),
  1171. 'DeleteVirtualInterfaceResponse' => array(
  1172. 'type' => 'object',
  1173. 'additionalProperties' => true,
  1174. 'properties' => array(
  1175. 'virtualInterfaceState' => array(
  1176. 'type' => 'string',
  1177. 'location' => 'json',
  1178. ),
  1179. ),
  1180. ),
  1181. 'Connections' => array(
  1182. 'type' => 'object',
  1183. 'additionalProperties' => true,
  1184. 'properties' => array(
  1185. 'connections' => array(
  1186. 'type' => 'array',
  1187. 'location' => 'json',
  1188. 'items' => array(
  1189. 'name' => 'Connection',
  1190. 'type' => 'object',
  1191. 'properties' => array(
  1192. 'ownerAccount' => array(
  1193. 'type' => 'string',
  1194. ),
  1195. 'connectionId' => array(
  1196. 'type' => 'string',
  1197. ),
  1198. 'connectionName' => array(
  1199. 'type' => 'string',
  1200. ),
  1201. 'connectionState' => array(
  1202. 'type' => 'string',
  1203. ),
  1204. 'region' => array(
  1205. 'type' => 'string',
  1206. ),
  1207. 'location' => array(
  1208. 'type' => 'string',
  1209. ),
  1210. 'bandwidth' => array(
  1211. 'type' => 'string',
  1212. ),
  1213. 'vlan' => array(
  1214. 'type' => 'numeric',
  1215. ),
  1216. 'partnerName' => array(
  1217. 'type' => 'string',
  1218. ),
  1219. ),
  1220. ),
  1221. ),
  1222. ),
  1223. ),
  1224. 'Interconnects' => arr