/api/vendor/aws/aws-sdk-php/src/Aws/Glacier/Resources/glacier-2012-06-01.php

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