/api/vendor/aws/aws-sdk-php/src/Aws/ImportExport/Resources/importexport-2010-06-01.php

https://gitlab.com/x33n/respond · PHP · 566 lines · 551 code · 1 blank · 14 comment · 0 complexity · 66acf13aebffb2dbf000b5adb749d745 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' => '2010-06-01',
  18. 'endpointPrefix' => 'importexport',
  19. 'serviceFullName' => 'AWS Import/Export',
  20. 'serviceType' => 'query',
  21. 'globalEndpoint' => 'importexport.amazonaws.com',
  22. 'resultWrapped' => true,
  23. 'signatureVersion' => 'v2',
  24. 'namespace' => 'ImportExport',
  25. 'regions' => array(
  26. 'us-east-1' => array(
  27. 'http' => false,
  28. 'https' => true,
  29. 'hostname' => 'importexport.amazonaws.com',
  30. ),
  31. 'us-west-1' => array(
  32. 'http' => false,
  33. 'https' => true,
  34. 'hostname' => 'importexport.amazonaws.com',
  35. ),
  36. 'us-west-2' => array(
  37. 'http' => false,
  38. 'https' => true,
  39. 'hostname' => 'importexport.amazonaws.com',
  40. ),
  41. 'eu-west-1' => array(
  42. 'http' => false,
  43. 'https' => true,
  44. 'hostname' => 'importexport.amazonaws.com',
  45. ),
  46. 'ap-northeast-1' => array(
  47. 'http' => false,
  48. 'https' => true,
  49. 'hostname' => 'importexport.amazonaws.com',
  50. ),
  51. 'ap-southeast-1' => array(
  52. 'http' => false,
  53. 'https' => true,
  54. 'hostname' => 'importexport.amazonaws.com',
  55. ),
  56. 'ap-southeast-2' => array(
  57. 'http' => false,
  58. 'https' => true,
  59. 'hostname' => 'importexport.amazonaws.com',
  60. ),
  61. 'sa-east-1' => array(
  62. 'http' => false,
  63. 'https' => true,
  64. 'hostname' => 'importexport.amazonaws.com',
  65. ),
  66. ),
  67. 'operations' => array(
  68. 'CancelJob' => array(
  69. 'httpMethod' => 'POST',
  70. 'uri' => '/',
  71. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  72. 'responseClass' => 'CancelJobOutput',
  73. 'responseType' => 'model',
  74. 'parameters' => array(
  75. 'Action' => array(
  76. 'static' => true,
  77. 'location' => 'aws.query',
  78. 'default' => 'CancelJob',
  79. ),
  80. 'Version' => array(
  81. 'static' => true,
  82. 'location' => 'aws.query',
  83. 'default' => '2010-06-01',
  84. ),
  85. 'JobId' => array(
  86. 'required' => true,
  87. 'type' => 'string',
  88. 'location' => 'aws.query',
  89. ),
  90. ),
  91. 'errorResponses' => array(
  92. array(
  93. 'reason' => 'The JOBID was missing, not found, or not associated with the AWS account.',
  94. 'class' => 'InvalidJobIdException',
  95. ),
  96. array(
  97. 'reason' => 'Indicates that the specified job has expired out of the system.',
  98. 'class' => 'ExpiredJobIdException',
  99. ),
  100. array(
  101. 'reason' => 'The specified job ID has been canceled and is no longer valid.',
  102. 'class' => 'CanceledJobIdException',
  103. ),
  104. array(
  105. 'reason' => 'AWS Import/Export cannot cancel the job',
  106. 'class' => 'UnableToCancelJobIdException',
  107. ),
  108. array(
  109. 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.',
  110. 'class' => 'InvalidAccessKeyIdException',
  111. ),
  112. ),
  113. ),
  114. 'CreateJob' => array(
  115. 'httpMethod' => 'POST',
  116. 'uri' => '/',
  117. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  118. 'responseClass' => 'CreateJobOutput',
  119. 'responseType' => 'model',
  120. 'parameters' => array(
  121. 'Action' => array(
  122. 'static' => true,
  123. 'location' => 'aws.query',
  124. 'default' => 'CreateJob',
  125. ),
  126. 'Version' => array(
  127. 'static' => true,
  128. 'location' => 'aws.query',
  129. 'default' => '2010-06-01',
  130. ),
  131. 'JobType' => array(
  132. 'required' => true,
  133. 'type' => 'string',
  134. 'location' => 'aws.query',
  135. ),
  136. 'Manifest' => array(
  137. 'required' => true,
  138. 'type' => 'string',
  139. 'location' => 'aws.query',
  140. ),
  141. 'ManifestAddendum' => array(
  142. 'type' => 'string',
  143. 'location' => 'aws.query',
  144. ),
  145. 'ValidateOnly' => array(
  146. 'required' => true,
  147. 'type' => 'boolean',
  148. 'format' => 'boolean-string',
  149. 'location' => 'aws.query',
  150. ),
  151. ),
  152. 'errorResponses' => array(
  153. array(
  154. 'reason' => 'One or more required parameters was missing from the request.',
  155. 'class' => 'MissingParameterException',
  156. ),
  157. array(
  158. 'reason' => 'One or more parameters had an invalid value.',
  159. 'class' => 'InvalidParameterException',
  160. ),
  161. array(
  162. 'reason' => 'One or more parameters had an invalid value.',
  163. 'class' => 'InvalidParameterException',
  164. ),
  165. array(
  166. 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.',
  167. 'class' => 'InvalidAccessKeyIdException',
  168. ),
  169. array(
  170. 'reason' => 'The address specified in the manifest is invalid.',
  171. 'class' => 'InvalidAddressException',
  172. ),
  173. array(
  174. 'reason' => 'One or more manifest fields was invalid. Please correct and resubmit.',
  175. 'class' => 'InvalidManifestFieldException',
  176. ),
  177. array(
  178. 'reason' => 'One or more required fields were missing from the manifest file. Please correct and resubmit.',
  179. 'class' => 'MissingManifestFieldException',
  180. ),
  181. array(
  182. 'reason' => 'The specified bucket does not exist. Create the specified bucket or change the manifest\'s bucket, exportBucket, or logBucket field to a bucket that the account, as specified by the manifest\'s Access Key ID, has write permissions to.',
  183. 'class' => 'NoSuchBucketException',
  184. ),
  185. array(
  186. 'reason' => 'One or more required customs parameters was missing from the manifest.',
  187. 'class' => 'MissingCustomsException',
  188. ),
  189. array(
  190. 'reason' => 'One or more customs parameters was invalid. Please correct and resubmit.',
  191. 'class' => 'InvalidCustomsException',
  192. ),
  193. array(
  194. 'reason' => 'File system specified in export manifest is invalid.',
  195. 'class' => 'InvalidFileSystemException',
  196. ),
  197. array(
  198. 'reason' => 'Your manifest file contained buckets from multiple regions. A job is restricted to buckets from one region. Please correct and resubmit.',
  199. 'class' => 'MultipleRegionsException',
  200. ),
  201. array(
  202. 'reason' => 'The account specified does not have the appropriate bucket permissions.',
  203. 'class' => 'BucketPermissionException',
  204. ),
  205. array(
  206. 'reason' => 'Your manifest is not well-formed.',
  207. 'class' => 'MalformedManifestException',
  208. ),
  209. ),
  210. ),
  211. 'GetStatus' => array(
  212. 'httpMethod' => 'POST',
  213. 'uri' => '/',
  214. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  215. 'responseClass' => 'GetStatusOutput',
  216. 'responseType' => 'model',
  217. 'parameters' => array(
  218. 'Action' => array(
  219. 'static' => true,
  220. 'location' => 'aws.query',
  221. 'default' => 'GetStatus',
  222. ),
  223. 'Version' => array(
  224. 'static' => true,
  225. 'location' => 'aws.query',
  226. 'default' => '2010-06-01',
  227. ),
  228. 'JobId' => array(
  229. 'required' => true,
  230. 'type' => 'string',
  231. 'location' => 'aws.query',
  232. ),
  233. ),
  234. 'errorResponses' => array(
  235. array(
  236. 'reason' => 'The JOBID was missing, not found, or not associated with the AWS account.',
  237. 'class' => 'InvalidJobIdException',
  238. ),
  239. array(
  240. 'reason' => 'Indicates that the specified job has expired out of the system.',
  241. 'class' => 'ExpiredJobIdException',
  242. ),
  243. array(
  244. 'reason' => 'The specified job ID has been canceled and is no longer valid.',
  245. 'class' => 'CanceledJobIdException',
  246. ),
  247. array(
  248. 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.',
  249. 'class' => 'InvalidAccessKeyIdException',
  250. ),
  251. ),
  252. ),
  253. 'ListJobs' => array(
  254. 'httpMethod' => 'POST',
  255. 'uri' => '/',
  256. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  257. 'responseClass' => 'ListJobsOutput',
  258. 'responseType' => 'model',
  259. 'parameters' => array(
  260. 'Action' => array(
  261. 'static' => true,
  262. 'location' => 'aws.query',
  263. 'default' => 'ListJobs',
  264. ),
  265. 'Version' => array(
  266. 'static' => true,
  267. 'location' => 'aws.query',
  268. 'default' => '2010-06-01',
  269. ),
  270. 'MaxJobs' => array(
  271. 'type' => 'numeric',
  272. 'location' => 'aws.query',
  273. ),
  274. 'Marker' => array(
  275. 'type' => 'string',
  276. 'location' => 'aws.query',
  277. ),
  278. ),
  279. 'errorResponses' => array(
  280. array(
  281. 'reason' => 'One or more parameters had an invalid value.',
  282. 'class' => 'InvalidParameterException',
  283. ),
  284. array(
  285. 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.',
  286. 'class' => 'InvalidAccessKeyIdException',
  287. ),
  288. ),
  289. ),
  290. 'UpdateJob' => array(
  291. 'httpMethod' => 'POST',
  292. 'uri' => '/',
  293. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  294. 'responseClass' => 'UpdateJobOutput',
  295. 'responseType' => 'model',
  296. 'parameters' => array(
  297. 'Action' => array(
  298. 'static' => true,
  299. 'location' => 'aws.query',
  300. 'default' => 'UpdateJob',
  301. ),
  302. 'Version' => array(
  303. 'static' => true,
  304. 'location' => 'aws.query',
  305. 'default' => '2010-06-01',
  306. ),
  307. 'JobId' => array(
  308. 'required' => true,
  309. 'type' => 'string',
  310. 'location' => 'aws.query',
  311. ),
  312. 'Manifest' => array(
  313. 'required' => true,
  314. 'type' => 'string',
  315. 'location' => 'aws.query',
  316. ),
  317. 'JobType' => array(
  318. 'required' => true,
  319. 'type' => 'string',
  320. 'location' => 'aws.query',
  321. ),
  322. 'ValidateOnly' => array(
  323. 'required' => true,
  324. 'type' => 'boolean',
  325. 'format' => 'boolean-string',
  326. 'location' => 'aws.query',
  327. ),
  328. ),
  329. 'errorResponses' => array(
  330. array(
  331. 'reason' => 'One or more required parameters was missing from the request.',
  332. 'class' => 'MissingParameterException',
  333. ),
  334. array(
  335. 'reason' => 'One or more parameters had an invalid value.',
  336. 'class' => 'InvalidParameterException',
  337. ),
  338. array(
  339. 'reason' => 'The AWS Access Key ID specified in the request did not match the manifest\'s accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.',
  340. 'class' => 'InvalidAccessKeyIdException',
  341. ),
  342. array(
  343. 'reason' => 'The address specified in the manifest is invalid.',
  344. 'class' => 'InvalidAddressException',
  345. ),
  346. array(
  347. 'reason' => 'One or more manifest fields was invalid. Please correct and resubmit.',
  348. 'class' => 'InvalidManifestFieldException',
  349. ),
  350. array(
  351. 'reason' => 'The JOBID was missing, not found, or not associated with the AWS account.',
  352. 'class' => 'InvalidJobIdException',
  353. ),
  354. array(
  355. 'reason' => 'One or more required fields were missing from the manifest file. Please correct and resubmit.',
  356. 'class' => 'MissingManifestFieldException',
  357. ),
  358. array(
  359. 'reason' => 'The specified bucket does not exist. Create the specified bucket or change the manifest\'s bucket, exportBucket, or logBucket field to a bucket that the account, as specified by the manifest\'s Access Key ID, has write permissions to.',
  360. 'class' => 'NoSuchBucketException',
  361. ),
  362. array(
  363. 'reason' => 'Indicates that the specified job has expired out of the system.',
  364. 'class' => 'ExpiredJobIdException',
  365. ),
  366. array(
  367. 'reason' => 'The specified job ID has been canceled and is no longer valid.',
  368. 'class' => 'CanceledJobIdException',
  369. ),
  370. array(
  371. 'reason' => 'One or more required customs parameters was missing from the manifest.',
  372. 'class' => 'MissingCustomsException',
  373. ),
  374. array(
  375. 'reason' => 'One or more customs parameters was invalid. Please correct and resubmit.',
  376. 'class' => 'InvalidCustomsException',
  377. ),
  378. array(
  379. 'reason' => 'File system specified in export manifest is invalid.',
  380. 'class' => 'InvalidFileSystemException',
  381. ),
  382. array(
  383. 'reason' => 'Your manifest file contained buckets from multiple regions. A job is restricted to buckets from one region. Please correct and resubmit.',
  384. 'class' => 'MultipleRegionsException',
  385. ),
  386. array(
  387. 'reason' => 'The account specified does not have the appropriate bucket permissions.',
  388. 'class' => 'BucketPermissionException',
  389. ),
  390. array(
  391. 'reason' => 'Your manifest is not well-formed.',
  392. 'class' => 'MalformedManifestException',
  393. ),
  394. ),
  395. ),
  396. ),
  397. 'models' => array(
  398. 'CancelJobOutput' => array(
  399. 'type' => 'object',
  400. 'additionalProperties' => true,
  401. 'properties' => array(
  402. 'Success' => array(
  403. 'type' => 'boolean',
  404. 'location' => 'xml',
  405. ),
  406. ),
  407. ),
  408. 'CreateJobOutput' => array(
  409. 'type' => 'object',
  410. 'additionalProperties' => true,
  411. 'properties' => array(
  412. 'JobId' => array(
  413. 'type' => 'string',
  414. 'location' => 'xml',
  415. ),
  416. 'JobType' => array(
  417. 'type' => 'string',
  418. 'location' => 'xml',
  419. ),
  420. 'AwsShippingAddress' => array(
  421. 'type' => 'string',
  422. 'location' => 'xml',
  423. ),
  424. 'Signature' => array(
  425. 'type' => 'string',
  426. 'location' => 'xml',
  427. ),
  428. 'SignatureFileContents' => array(
  429. 'type' => 'string',
  430. 'location' => 'xml',
  431. ),
  432. 'WarningMessage' => array(
  433. 'type' => 'string',
  434. 'location' => 'xml',
  435. ),
  436. ),
  437. ),
  438. 'GetStatusOutput' => array(
  439. 'type' => 'object',
  440. 'additionalProperties' => true,
  441. 'properties' => array(
  442. 'JobId' => array(
  443. 'type' => 'string',
  444. 'location' => 'xml',
  445. ),
  446. 'JobType' => array(
  447. 'type' => 'string',
  448. 'location' => 'xml',
  449. ),
  450. 'AwsShippingAddress' => array(
  451. 'type' => 'string',
  452. 'location' => 'xml',
  453. ),
  454. 'LocationCode' => array(
  455. 'type' => 'string',
  456. 'location' => 'xml',
  457. ),
  458. 'LocationMessage' => array(
  459. 'type' => 'string',
  460. 'location' => 'xml',
  461. ),
  462. 'ProgressCode' => array(
  463. 'type' => 'string',
  464. 'location' => 'xml',
  465. ),
  466. 'ProgressMessage' => array(
  467. 'type' => 'string',
  468. 'location' => 'xml',
  469. ),
  470. 'Carrier' => array(
  471. 'type' => 'string',
  472. 'location' => 'xml',
  473. ),
  474. 'TrackingNumber' => array(
  475. 'type' => 'string',
  476. 'location' => 'xml',
  477. ),
  478. 'LogBucket' => array(
  479. 'type' => 'string',
  480. 'location' => 'xml',
  481. ),
  482. 'LogKey' => array(
  483. 'type' => 'string',
  484. 'location' => 'xml',
  485. ),
  486. 'ErrorCount' => array(
  487. 'type' => 'numeric',
  488. 'location' => 'xml',
  489. ),
  490. 'Signature' => array(
  491. 'type' => 'string',
  492. 'location' => 'xml',
  493. ),
  494. 'SignatureFileContents' => array(
  495. 'type' => 'string',
  496. 'location' => 'xml',
  497. ),
  498. 'CurrentManifest' => array(
  499. 'type' => 'string',
  500. 'location' => 'xml',
  501. ),
  502. 'CreationDate' => array(
  503. 'type' => 'string',
  504. 'location' => 'xml',
  505. ),
  506. ),
  507. ),
  508. 'ListJobsOutput' => array(
  509. 'type' => 'object',
  510. 'additionalProperties' => true,
  511. 'properties' => array(
  512. 'Jobs' => array(
  513. 'type' => 'array',
  514. 'location' => 'xml',
  515. 'items' => array(
  516. 'name' => 'Job',
  517. 'type' => 'object',
  518. 'sentAs' => 'member',
  519. 'properties' => array(
  520. 'JobId' => array(
  521. 'type' => 'string',
  522. ),
  523. 'CreationDate' => array(
  524. 'type' => 'string',
  525. ),
  526. 'IsCanceled' => array(
  527. 'type' => 'boolean',
  528. ),
  529. 'JobType' => array(
  530. 'type' => 'string',
  531. ),
  532. ),
  533. ),
  534. ),
  535. 'IsTruncated' => array(
  536. 'type' => 'boolean',
  537. 'location' => 'xml',
  538. ),
  539. ),
  540. ),
  541. 'UpdateJobOutput' => array(
  542. 'type' => 'object',
  543. 'additionalProperties' => true,
  544. 'properties' => array(
  545. 'Success' => array(
  546. 'type' => 'boolean',
  547. 'location' => 'xml',
  548. ),
  549. 'WarningMessage' => array(
  550. 'type' => 'string',
  551. 'location' => 'xml',
  552. ),
  553. ),
  554. ),
  555. ),
  556. 'iterators' => array(
  557. 'ListJobs' => array(
  558. 'input_token' => 'Marker',
  559. 'output_token' => 'Jobs/#/JobId',
  560. 'more_results' => 'IsTruncated',
  561. 'limit_key' => 'MaxJobs',
  562. 'result_key' => 'Jobs',
  563. ),
  564. ),
  565. );