/api/vendor/aws/aws-sdk-php/src/Aws/CloudSearch/Resources/cloudsearch-2011-02-01.php

https://gitlab.com/x33n/respond · PHP · 1155 lines · 1139 code · 2 blank · 14 comment · 0 complexity · dc21197adcddca770fb752d41c60908e 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' => '2011-02-01',
  18. 'endpointPrefix' => 'cloudsearch',
  19. 'serviceFullName' => 'Amazon CloudSearch',
  20. 'serviceType' => 'query',
  21. 'resultWrapped' => true,
  22. 'signatureVersion' => 'v4',
  23. 'namespace' => 'CloudSearch',
  24. 'regions' => array(
  25. 'us-east-1' => array(
  26. 'http' => false,
  27. 'https' => true,
  28. 'hostname' => 'cloudsearch.us-east-1.amazonaws.com',
  29. ),
  30. 'us-west-1' => array(
  31. 'http' => false,
  32. 'https' => true,
  33. 'hostname' => 'cloudsearch.us-west-1.amazonaws.com',
  34. ),
  35. 'us-west-2' => array(
  36. 'http' => false,
  37. 'https' => true,
  38. 'hostname' => 'cloudsearch.us-west-2.amazonaws.com',
  39. ),
  40. 'eu-west-1' => array(
  41. 'http' => false,
  42. 'https' => true,
  43. 'hostname' => 'cloudsearch.eu-west-1.amazonaws.com',
  44. ),
  45. 'ap-southeast-1' => array(
  46. 'http' => false,
  47. 'https' => true,
  48. 'hostname' => 'cloudsearch.ap-southeast-1.amazonaws.com',
  49. ),
  50. ),
  51. 'operations' => array(
  52. 'CreateDomain' => array(
  53. 'httpMethod' => 'POST',
  54. 'uri' => '/',
  55. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  56. 'responseClass' => 'CreateDomainResponse',
  57. 'responseType' => 'model',
  58. 'parameters' => array(
  59. 'Action' => array(
  60. 'static' => true,
  61. 'location' => 'aws.query',
  62. 'default' => 'CreateDomain',
  63. ),
  64. 'Version' => array(
  65. 'static' => true,
  66. 'location' => 'aws.query',
  67. 'default' => '2011-02-01',
  68. ),
  69. 'DomainName' => array(
  70. 'required' => true,
  71. 'type' => 'string',
  72. 'location' => 'aws.query',
  73. 'minLength' => 3,
  74. 'maxLength' => 28,
  75. ),
  76. ),
  77. 'errorResponses' => array(
  78. array(
  79. 'reason' => 'An error occurred while processing the request.',
  80. 'class' => 'BaseException',
  81. ),
  82. array(
  83. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  84. 'class' => 'InternalException',
  85. ),
  86. array(
  87. 'reason' => 'The request was rejected because a resource limit has already been met.',
  88. 'class' => 'LimitExceededException',
  89. ),
  90. ),
  91. ),
  92. 'DefineIndexField' => array(
  93. 'httpMethod' => 'POST',
  94. 'uri' => '/',
  95. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  96. 'responseClass' => 'DefineIndexFieldResponse',
  97. 'responseType' => 'model',
  98. 'parameters' => array(
  99. 'Action' => array(
  100. 'static' => true,
  101. 'location' => 'aws.query',
  102. 'default' => 'DefineIndexField',
  103. ),
  104. 'Version' => array(
  105. 'static' => true,
  106. 'location' => 'aws.query',
  107. 'default' => '2011-02-01',
  108. ),
  109. 'DomainName' => array(
  110. 'required' => true,
  111. 'type' => 'string',
  112. 'location' => 'aws.query',
  113. 'minLength' => 3,
  114. 'maxLength' => 28,
  115. ),
  116. 'IndexField' => array(
  117. 'required' => true,
  118. 'type' => 'object',
  119. 'location' => 'aws.query',
  120. 'properties' => array(
  121. 'IndexFieldName' => array(
  122. 'required' => true,
  123. 'type' => 'string',
  124. 'minLength' => 1,
  125. 'maxLength' => 64,
  126. ),
  127. 'IndexFieldType' => array(
  128. 'required' => true,
  129. 'type' => 'string',
  130. ),
  131. 'UIntOptions' => array(
  132. 'type' => 'object',
  133. 'properties' => array(
  134. 'DefaultValue' => array(
  135. 'type' => 'numeric',
  136. ),
  137. ),
  138. ),
  139. 'LiteralOptions' => array(
  140. 'type' => 'object',
  141. 'properties' => array(
  142. 'DefaultValue' => array(
  143. 'type' => 'string',
  144. 'maxLength' => 1024,
  145. ),
  146. 'SearchEnabled' => array(
  147. 'type' => 'boolean',
  148. 'format' => 'boolean-string',
  149. ),
  150. 'FacetEnabled' => array(
  151. 'type' => 'boolean',
  152. 'format' => 'boolean-string',
  153. ),
  154. 'ResultEnabled' => array(
  155. 'type' => 'boolean',
  156. 'format' => 'boolean-string',
  157. ),
  158. ),
  159. ),
  160. 'TextOptions' => array(
  161. 'type' => 'object',
  162. 'properties' => array(
  163. 'DefaultValue' => array(
  164. 'type' => 'string',
  165. 'maxLength' => 1024,
  166. ),
  167. 'FacetEnabled' => array(
  168. 'type' => 'boolean',
  169. 'format' => 'boolean-string',
  170. ),
  171. 'ResultEnabled' => array(
  172. 'type' => 'boolean',
  173. 'format' => 'boolean-string',
  174. ),
  175. 'TextProcessor' => array(
  176. 'type' => 'string',
  177. 'minLength' => 1,
  178. 'maxLength' => 64,
  179. ),
  180. ),
  181. ),
  182. 'SourceAttributes' => array(
  183. 'type' => 'array',
  184. 'sentAs' => 'SourceAttributes.member',
  185. 'items' => array(
  186. 'name' => 'SourceAttribute',
  187. 'type' => 'object',
  188. 'properties' => array(
  189. 'SourceDataFunction' => array(
  190. 'required' => true,
  191. 'type' => 'string',
  192. ),
  193. 'SourceDataCopy' => array(
  194. 'type' => 'object',
  195. 'properties' => array(
  196. 'SourceName' => array(
  197. 'required' => true,
  198. 'type' => 'string',
  199. 'minLength' => 1,
  200. 'maxLength' => 64,
  201. ),
  202. 'DefaultValue' => array(
  203. 'type' => 'string',
  204. 'maxLength' => 1024,
  205. ),
  206. ),
  207. ),
  208. 'SourceDataTrimTitle' => array(
  209. 'type' => 'object',
  210. 'properties' => array(
  211. 'SourceName' => array(
  212. 'required' => true,
  213. 'type' => 'string',
  214. 'minLength' => 1,
  215. 'maxLength' => 64,
  216. ),
  217. 'DefaultValue' => array(
  218. 'type' => 'string',
  219. 'maxLength' => 1024,
  220. ),
  221. 'Separator' => array(
  222. 'type' => 'string',
  223. ),
  224. 'Language' => array(
  225. 'type' => 'string',
  226. ),
  227. ),
  228. ),
  229. 'SourceDataMap' => array(
  230. 'type' => 'object',
  231. 'properties' => array(
  232. 'SourceName' => array(
  233. 'required' => true,
  234. 'type' => 'string',
  235. 'minLength' => 1,
  236. 'maxLength' => 64,
  237. ),
  238. 'DefaultValue' => array(
  239. 'type' => 'string',
  240. 'maxLength' => 1024,
  241. ),
  242. 'Cases' => array(
  243. 'type' => 'object',
  244. 'sentAs' => 'Cases.entry',
  245. 'additionalProperties' => array(
  246. 'type' => 'string',
  247. 'maxLength' => 1024,
  248. 'data' => array(
  249. 'shape_name' => 'FieldValue',
  250. ),
  251. ),
  252. ),
  253. ),
  254. ),
  255. ),
  256. ),
  257. ),
  258. ),
  259. ),
  260. ),
  261. 'errorResponses' => array(
  262. array(
  263. 'reason' => 'An error occurred while processing the request.',
  264. 'class' => 'BaseException',
  265. ),
  266. array(
  267. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  268. 'class' => 'InternalException',
  269. ),
  270. array(
  271. 'reason' => 'The request was rejected because a resource limit has already been met.',
  272. 'class' => 'LimitExceededException',
  273. ),
  274. array(
  275. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  276. 'class' => 'InvalidTypeException',
  277. ),
  278. array(
  279. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  280. 'class' => 'ResourceNotFoundException',
  281. ),
  282. ),
  283. ),
  284. 'DefineRankExpression' => array(
  285. 'httpMethod' => 'POST',
  286. 'uri' => '/',
  287. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  288. 'responseClass' => 'DefineRankExpressionResponse',
  289. 'responseType' => 'model',
  290. 'parameters' => array(
  291. 'Action' => array(
  292. 'static' => true,
  293. 'location' => 'aws.query',
  294. 'default' => 'DefineRankExpression',
  295. ),
  296. 'Version' => array(
  297. 'static' => true,
  298. 'location' => 'aws.query',
  299. 'default' => '2011-02-01',
  300. ),
  301. 'DomainName' => array(
  302. 'required' => true,
  303. 'type' => 'string',
  304. 'location' => 'aws.query',
  305. 'minLength' => 3,
  306. 'maxLength' => 28,
  307. ),
  308. 'RankExpression' => array(
  309. 'required' => true,
  310. 'type' => 'object',
  311. 'location' => 'aws.query',
  312. 'properties' => array(
  313. 'RankName' => array(
  314. 'required' => true,
  315. 'type' => 'string',
  316. 'minLength' => 1,
  317. 'maxLength' => 64,
  318. ),
  319. 'RankExpression' => array(
  320. 'required' => true,
  321. 'type' => 'string',
  322. 'minLength' => 1,
  323. 'maxLength' => 10240,
  324. ),
  325. ),
  326. ),
  327. ),
  328. 'errorResponses' => array(
  329. array(
  330. 'reason' => 'An error occurred while processing the request.',
  331. 'class' => 'BaseException',
  332. ),
  333. array(
  334. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  335. 'class' => 'InternalException',
  336. ),
  337. array(
  338. 'reason' => 'The request was rejected because a resource limit has already been met.',
  339. 'class' => 'LimitExceededException',
  340. ),
  341. array(
  342. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  343. 'class' => 'InvalidTypeException',
  344. ),
  345. array(
  346. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  347. 'class' => 'ResourceNotFoundException',
  348. ),
  349. ),
  350. ),
  351. 'DeleteDomain' => array(
  352. 'httpMethod' => 'POST',
  353. 'uri' => '/',
  354. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  355. 'responseClass' => 'DeleteDomainResponse',
  356. 'responseType' => 'model',
  357. 'parameters' => array(
  358. 'Action' => array(
  359. 'static' => true,
  360. 'location' => 'aws.query',
  361. 'default' => 'DeleteDomain',
  362. ),
  363. 'Version' => array(
  364. 'static' => true,
  365. 'location' => 'aws.query',
  366. 'default' => '2011-02-01',
  367. ),
  368. 'DomainName' => array(
  369. 'required' => true,
  370. 'type' => 'string',
  371. 'location' => 'aws.query',
  372. 'minLength' => 3,
  373. 'maxLength' => 28,
  374. ),
  375. ),
  376. 'errorResponses' => array(
  377. array(
  378. 'reason' => 'An error occurred while processing the request.',
  379. 'class' => 'BaseException',
  380. ),
  381. array(
  382. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  383. 'class' => 'InternalException',
  384. ),
  385. ),
  386. ),
  387. 'DeleteIndexField' => array(
  388. 'httpMethod' => 'POST',
  389. 'uri' => '/',
  390. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  391. 'responseClass' => 'DeleteIndexFieldResponse',
  392. 'responseType' => 'model',
  393. 'parameters' => array(
  394. 'Action' => array(
  395. 'static' => true,
  396. 'location' => 'aws.query',
  397. 'default' => 'DeleteIndexField',
  398. ),
  399. 'Version' => array(
  400. 'static' => true,
  401. 'location' => 'aws.query',
  402. 'default' => '2011-02-01',
  403. ),
  404. 'DomainName' => array(
  405. 'required' => true,
  406. 'type' => 'string',
  407. 'location' => 'aws.query',
  408. 'minLength' => 3,
  409. 'maxLength' => 28,
  410. ),
  411. 'IndexFieldName' => array(
  412. 'required' => true,
  413. 'type' => 'string',
  414. 'location' => 'aws.query',
  415. 'minLength' => 1,
  416. 'maxLength' => 64,
  417. ),
  418. ),
  419. 'errorResponses' => array(
  420. array(
  421. 'reason' => 'An error occurred while processing the request.',
  422. 'class' => 'BaseException',
  423. ),
  424. array(
  425. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  426. 'class' => 'InternalException',
  427. ),
  428. array(
  429. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  430. 'class' => 'InvalidTypeException',
  431. ),
  432. array(
  433. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  434. 'class' => 'ResourceNotFoundException',
  435. ),
  436. ),
  437. ),
  438. 'DeleteRankExpression' => array(
  439. 'httpMethod' => 'POST',
  440. 'uri' => '/',
  441. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  442. 'responseClass' => 'DeleteRankExpressionResponse',
  443. 'responseType' => 'model',
  444. 'parameters' => array(
  445. 'Action' => array(
  446. 'static' => true,
  447. 'location' => 'aws.query',
  448. 'default' => 'DeleteRankExpression',
  449. ),
  450. 'Version' => array(
  451. 'static' => true,
  452. 'location' => 'aws.query',
  453. 'default' => '2011-02-01',
  454. ),
  455. 'DomainName' => array(
  456. 'required' => true,
  457. 'type' => 'string',
  458. 'location' => 'aws.query',
  459. 'minLength' => 3,
  460. 'maxLength' => 28,
  461. ),
  462. 'RankName' => array(
  463. 'required' => true,
  464. 'type' => 'string',
  465. 'location' => 'aws.query',
  466. 'minLength' => 1,
  467. 'maxLength' => 64,
  468. ),
  469. ),
  470. 'errorResponses' => array(
  471. array(
  472. 'reason' => 'An error occurred while processing the request.',
  473. 'class' => 'BaseException',
  474. ),
  475. array(
  476. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  477. 'class' => 'InternalException',
  478. ),
  479. array(
  480. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  481. 'class' => 'InvalidTypeException',
  482. ),
  483. array(
  484. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  485. 'class' => 'ResourceNotFoundException',
  486. ),
  487. ),
  488. ),
  489. 'DescribeDefaultSearchField' => array(
  490. 'httpMethod' => 'POST',
  491. 'uri' => '/',
  492. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  493. 'responseClass' => 'DescribeDefaultSearchFieldResponse',
  494. 'responseType' => 'model',
  495. 'parameters' => array(
  496. 'Action' => array(
  497. 'static' => true,
  498. 'location' => 'aws.query',
  499. 'default' => 'DescribeDefaultSearchField',
  500. ),
  501. 'Version' => array(
  502. 'static' => true,
  503. 'location' => 'aws.query',
  504. 'default' => '2011-02-01',
  505. ),
  506. 'DomainName' => array(
  507. 'required' => true,
  508. 'type' => 'string',
  509. 'location' => 'aws.query',
  510. 'minLength' => 3,
  511. 'maxLength' => 28,
  512. ),
  513. ),
  514. 'errorResponses' => array(
  515. array(
  516. 'reason' => 'An error occurred while processing the request.',
  517. 'class' => 'BaseException',
  518. ),
  519. array(
  520. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  521. 'class' => 'InternalException',
  522. ),
  523. array(
  524. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  525. 'class' => 'ResourceNotFoundException',
  526. ),
  527. ),
  528. ),
  529. 'DescribeDomains' => array(
  530. 'httpMethod' => 'POST',
  531. 'uri' => '/',
  532. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  533. 'responseClass' => 'DescribeDomainsResponse',
  534. 'responseType' => 'model',
  535. 'parameters' => array(
  536. 'Action' => array(
  537. 'static' => true,
  538. 'location' => 'aws.query',
  539. 'default' => 'DescribeDomains',
  540. ),
  541. 'Version' => array(
  542. 'static' => true,
  543. 'location' => 'aws.query',
  544. 'default' => '2011-02-01',
  545. ),
  546. 'DomainNames' => array(
  547. 'type' => 'array',
  548. 'location' => 'aws.query',
  549. 'sentAs' => 'DomainNames.member',
  550. 'items' => array(
  551. 'name' => 'DomainName',
  552. 'type' => 'string',
  553. 'minLength' => 3,
  554. 'maxLength' => 28,
  555. ),
  556. ),
  557. ),
  558. 'errorResponses' => array(
  559. array(
  560. 'reason' => 'An error occurred while processing the request.',
  561. 'class' => 'BaseException',
  562. ),
  563. array(
  564. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  565. 'class' => 'InternalException',
  566. ),
  567. ),
  568. ),
  569. 'DescribeIndexFields' => array(
  570. 'httpMethod' => 'POST',
  571. 'uri' => '/',
  572. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  573. 'responseClass' => 'DescribeIndexFieldsResponse',
  574. 'responseType' => 'model',
  575. 'parameters' => array(
  576. 'Action' => array(
  577. 'static' => true,
  578. 'location' => 'aws.query',
  579. 'default' => 'DescribeIndexFields',
  580. ),
  581. 'Version' => array(
  582. 'static' => true,
  583. 'location' => 'aws.query',
  584. 'default' => '2011-02-01',
  585. ),
  586. 'DomainName' => array(
  587. 'required' => true,
  588. 'type' => 'string',
  589. 'location' => 'aws.query',
  590. 'minLength' => 3,
  591. 'maxLength' => 28,
  592. ),
  593. 'FieldNames' => array(
  594. 'type' => 'array',
  595. 'location' => 'aws.query',
  596. 'sentAs' => 'FieldNames.member',
  597. 'items' => array(
  598. 'name' => 'FieldName',
  599. 'type' => 'string',
  600. 'minLength' => 1,
  601. 'maxLength' => 64,
  602. ),
  603. ),
  604. ),
  605. 'errorResponses' => array(
  606. array(
  607. 'reason' => 'An error occurred while processing the request.',
  608. 'class' => 'BaseException',
  609. ),
  610. array(
  611. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  612. 'class' => 'InternalException',
  613. ),
  614. array(
  615. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  616. 'class' => 'ResourceNotFoundException',
  617. ),
  618. ),
  619. ),
  620. 'DescribeRankExpressions' => array(
  621. 'httpMethod' => 'POST',
  622. 'uri' => '/',
  623. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  624. 'responseClass' => 'DescribeRankExpressionsResponse',
  625. 'responseType' => 'model',
  626. 'parameters' => array(
  627. 'Action' => array(
  628. 'static' => true,
  629. 'location' => 'aws.query',
  630. 'default' => 'DescribeRankExpressions',
  631. ),
  632. 'Version' => array(
  633. 'static' => true,
  634. 'location' => 'aws.query',
  635. 'default' => '2011-02-01',
  636. ),
  637. 'DomainName' => array(
  638. 'required' => true,
  639. 'type' => 'string',
  640. 'location' => 'aws.query',
  641. 'minLength' => 3,
  642. 'maxLength' => 28,
  643. ),
  644. 'RankNames' => array(
  645. 'type' => 'array',
  646. 'location' => 'aws.query',
  647. 'sentAs' => 'RankNames.member',
  648. 'items' => array(
  649. 'name' => 'FieldName',
  650. 'type' => 'string',
  651. 'minLength' => 1,
  652. 'maxLength' => 64,
  653. ),
  654. ),
  655. ),
  656. 'errorResponses' => array(
  657. array(
  658. 'reason' => 'An error occurred while processing the request.',
  659. 'class' => 'BaseException',
  660. ),
  661. array(
  662. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  663. 'class' => 'InternalException',
  664. ),
  665. array(
  666. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  667. 'class' => 'ResourceNotFoundException',
  668. ),
  669. ),
  670. ),
  671. 'DescribeServiceAccessPolicies' => array(
  672. 'httpMethod' => 'POST',
  673. 'uri' => '/',
  674. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  675. 'responseClass' => 'DescribeServiceAccessPoliciesResponse',
  676. 'responseType' => 'model',
  677. 'parameters' => array(
  678. 'Action' => array(
  679. 'static' => true,
  680. 'location' => 'aws.query',
  681. 'default' => 'DescribeServiceAccessPolicies',
  682. ),
  683. 'Version' => array(
  684. 'static' => true,
  685. 'location' => 'aws.query',
  686. 'default' => '2011-02-01',
  687. ),
  688. 'DomainName' => array(
  689. 'required' => true,
  690. 'type' => 'string',
  691. 'location' => 'aws.query',
  692. 'minLength' => 3,
  693. 'maxLength' => 28,
  694. ),
  695. ),
  696. 'errorResponses' => array(
  697. array(
  698. 'reason' => 'An error occurred while processing the request.',
  699. 'class' => 'BaseException',
  700. ),
  701. array(
  702. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  703. 'class' => 'InternalException',
  704. ),
  705. array(
  706. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  707. 'class' => 'ResourceNotFoundException',
  708. ),
  709. ),
  710. ),
  711. 'DescribeStemmingOptions' => array(
  712. 'httpMethod' => 'POST',
  713. 'uri' => '/',
  714. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  715. 'responseClass' => 'DescribeStemmingOptionsResponse',
  716. 'responseType' => 'model',
  717. 'parameters' => array(
  718. 'Action' => array(
  719. 'static' => true,
  720. 'location' => 'aws.query',
  721. 'default' => 'DescribeStemmingOptions',
  722. ),
  723. 'Version' => array(
  724. 'static' => true,
  725. 'location' => 'aws.query',
  726. 'default' => '2011-02-01',
  727. ),
  728. 'DomainName' => array(
  729. 'required' => true,
  730. 'type' => 'string',
  731. 'location' => 'aws.query',
  732. 'minLength' => 3,
  733. 'maxLength' => 28,
  734. ),
  735. ),
  736. 'errorResponses' => array(
  737. array(
  738. 'reason' => 'An error occurred while processing the request.',
  739. 'class' => 'BaseException',
  740. ),
  741. array(
  742. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  743. 'class' => 'InternalException',
  744. ),
  745. array(
  746. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  747. 'class' => 'ResourceNotFoundException',
  748. ),
  749. ),
  750. ),
  751. 'DescribeStopwordOptions' => array(
  752. 'httpMethod' => 'POST',
  753. 'uri' => '/',
  754. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  755. 'responseClass' => 'DescribeStopwordOptionsResponse',
  756. 'responseType' => 'model',
  757. 'parameters' => array(
  758. 'Action' => array(
  759. 'static' => true,
  760. 'location' => 'aws.query',
  761. 'default' => 'DescribeStopwordOptions',
  762. ),
  763. 'Version' => array(
  764. 'static' => true,
  765. 'location' => 'aws.query',
  766. 'default' => '2011-02-01',
  767. ),
  768. 'DomainName' => array(
  769. 'required' => true,
  770. 'type' => 'string',
  771. 'location' => 'aws.query',
  772. 'minLength' => 3,
  773. 'maxLength' => 28,
  774. ),
  775. ),
  776. 'errorResponses' => array(
  777. array(
  778. 'reason' => 'An error occurred while processing the request.',
  779. 'class' => 'BaseException',
  780. ),
  781. array(
  782. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  783. 'class' => 'InternalException',
  784. ),
  785. array(
  786. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  787. 'class' => 'ResourceNotFoundException',
  788. ),
  789. ),
  790. ),
  791. 'DescribeSynonymOptions' => array(
  792. 'httpMethod' => 'POST',
  793. 'uri' => '/',
  794. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  795. 'responseClass' => 'DescribeSynonymOptionsResponse',
  796. 'responseType' => 'model',
  797. 'parameters' => array(
  798. 'Action' => array(
  799. 'static' => true,
  800. 'location' => 'aws.query',
  801. 'default' => 'DescribeSynonymOptions',
  802. ),
  803. 'Version' => array(
  804. 'static' => true,
  805. 'location' => 'aws.query',
  806. 'default' => '2011-02-01',
  807. ),
  808. 'DomainName' => array(
  809. 'required' => true,
  810. 'type' => 'string',
  811. 'location' => 'aws.query',
  812. 'minLength' => 3,
  813. 'maxLength' => 28,
  814. ),
  815. ),
  816. 'errorResponses' => array(
  817. array(
  818. 'reason' => 'An error occurred while processing the request.',
  819. 'class' => 'BaseException',
  820. ),
  821. array(
  822. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  823. 'class' => 'InternalException',
  824. ),
  825. array(
  826. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  827. 'class' => 'ResourceNotFoundException',
  828. ),
  829. ),
  830. ),
  831. 'IndexDocuments' => array(
  832. 'httpMethod' => 'POST',
  833. 'uri' => '/',
  834. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  835. 'responseClass' => 'IndexDocumentsResponse',
  836. 'responseType' => 'model',
  837. 'parameters' => array(
  838. 'Action' => array(
  839. 'static' => true,
  840. 'location' => 'aws.query',
  841. 'default' => 'IndexDocuments',
  842. ),
  843. 'Version' => array(
  844. 'static' => true,
  845. 'location' => 'aws.query',
  846. 'default' => '2011-02-01',
  847. ),
  848. 'DomainName' => array(
  849. 'required' => true,
  850. 'type' => 'string',
  851. 'location' => 'aws.query',
  852. 'minLength' => 3,
  853. 'maxLength' => 28,
  854. ),
  855. ),
  856. 'errorResponses' => array(
  857. array(
  858. 'reason' => 'An error occurred while processing the request.',
  859. 'class' => 'BaseException',
  860. ),
  861. array(
  862. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  863. 'class' => 'InternalException',
  864. ),
  865. array(
  866. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  867. 'class' => 'ResourceNotFoundException',
  868. ),
  869. ),
  870. ),
  871. 'UpdateDefaultSearchField' => array(
  872. 'httpMethod' => 'POST',
  873. 'uri' => '/',
  874. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  875. 'responseClass' => 'UpdateDefaultSearchFieldResponse',
  876. 'responseType' => 'model',
  877. 'parameters' => array(
  878. 'Action' => array(
  879. 'static' => true,
  880. 'location' => 'aws.query',
  881. 'default' => 'UpdateDefaultSearchField',
  882. ),
  883. 'Version' => array(
  884. 'static' => true,
  885. 'location' => 'aws.query',
  886. 'default' => '2011-02-01',
  887. ),
  888. 'DomainName' => array(
  889. 'required' => true,
  890. 'type' => 'string',
  891. 'location' => 'aws.query',
  892. 'minLength' => 3,
  893. 'maxLength' => 28,
  894. ),
  895. 'DefaultSearchField' => array(
  896. 'required' => true,
  897. 'type' => 'string',
  898. 'location' => 'aws.query',
  899. ),
  900. ),
  901. 'errorResponses' => array(
  902. array(
  903. 'reason' => 'An error occurred while processing the request.',
  904. 'class' => 'BaseException',
  905. ),
  906. array(
  907. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  908. 'class' => 'InternalException',
  909. ),
  910. array(
  911. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  912. 'class' => 'InvalidTypeException',
  913. ),
  914. array(
  915. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  916. 'class' => 'ResourceNotFoundException',
  917. ),
  918. ),
  919. ),
  920. 'UpdateServiceAccessPolicies' => array(
  921. 'httpMethod' => 'POST',
  922. 'uri' => '/',
  923. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  924. 'responseClass' => 'UpdateServiceAccessPoliciesResponse',
  925. 'responseType' => 'model',
  926. 'parameters' => array(
  927. 'Action' => array(
  928. 'static' => true,
  929. 'location' => 'aws.query',
  930. 'default' => 'UpdateServiceAccessPolicies',
  931. ),
  932. 'Version' => array(
  933. 'static' => true,
  934. 'location' => 'aws.query',
  935. 'default' => '2011-02-01',
  936. ),
  937. 'DomainName' => array(
  938. 'required' => true,
  939. 'type' => 'string',
  940. 'location' => 'aws.query',
  941. 'minLength' => 3,
  942. 'maxLength' => 28,
  943. ),
  944. 'AccessPolicies' => array(
  945. 'required' => true,
  946. 'type' => 'string',
  947. 'location' => 'aws.query',
  948. ),
  949. ),
  950. 'errorResponses' => array(
  951. array(
  952. 'reason' => 'An error occurred while processing the request.',
  953. 'class' => 'BaseException',
  954. ),
  955. array(
  956. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  957. 'class' => 'InternalException',
  958. ),
  959. array(
  960. 'reason' => 'The request was rejected because a resource limit has already been met.',
  961. 'class' => 'LimitExceededException',
  962. ),
  963. array(
  964. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  965. 'class' => 'ResourceNotFoundException',
  966. ),
  967. array(
  968. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  969. 'class' => 'InvalidTypeException',
  970. ),
  971. ),
  972. ),
  973. 'UpdateStemmingOptions' => array(
  974. 'httpMethod' => 'POST',
  975. 'uri' => '/',
  976. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  977. 'responseClass' => 'UpdateStemmingOptionsResponse',
  978. 'responseType' => 'model',
  979. 'parameters' => array(
  980. 'Action' => array(
  981. 'static' => true,
  982. 'location' => 'aws.query',
  983. 'default' => 'UpdateStemmingOptions',
  984. ),
  985. 'Version' => array(
  986. 'static' => true,
  987. 'location' => 'aws.query',
  988. 'default' => '2011-02-01',
  989. ),
  990. 'DomainName' => array(
  991. 'required' => true,
  992. 'type' => 'string',
  993. 'location' => 'aws.query',
  994. 'minLength' => 3,
  995. 'maxLength' => 28,
  996. ),
  997. 'Stems' => array(
  998. 'required' => true,
  999. 'type' => 'string',
  1000. 'location' => 'aws.query',
  1001. ),
  1002. ),
  1003. 'errorResponses' => array(
  1004. array(
  1005. 'reason' => 'An error occurred while processing the request.',
  1006. 'class' => 'BaseException',
  1007. ),
  1008. array(
  1009. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  1010. 'class' => 'InternalException',
  1011. ),
  1012. array(
  1013. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  1014. 'class' => 'InvalidTypeException',
  1015. ),
  1016. array(
  1017. 'reason' => 'The request was rejected because a resource limit has already been met.',
  1018. 'class' => 'LimitExceededException',
  1019. ),
  1020. array(
  1021. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  1022. 'class' => 'ResourceNotFoundException',
  1023. ),
  1024. ),
  1025. ),
  1026. 'UpdateStopwordOptions' => array(
  1027. 'httpMethod' => 'POST',
  1028. 'uri' => '/',
  1029. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1030. 'responseClass' => 'UpdateStopwordOptionsResponse',
  1031. 'responseType' => 'model',
  1032. 'parameters' => array(
  1033. 'Action' => array(
  1034. 'static' => true,
  1035. 'location' => 'aws.query',
  1036. 'default' => 'UpdateStopwordOptions',
  1037. ),
  1038. 'Version' => array(
  1039. 'static' => true,
  1040. 'location' => 'aws.query',
  1041. 'default' => '2011-02-01',
  1042. ),
  1043. 'DomainName' => array(
  1044. 'required' => true,
  1045. 'type' => 'string',
  1046. 'location' => 'aws.query',
  1047. 'minLength' => 3,
  1048. 'maxLength' => 28,
  1049. ),
  1050. 'Stopwords' => array(
  1051. 'required' => true,
  1052. 'type' => 'string',
  1053. 'location' => 'aws.query',
  1054. ),
  1055. ),
  1056. 'errorResponses' => array(
  1057. array(
  1058. 'reason' => 'An error occurred while processing the request.',
  1059. 'class' => 'BaseException',
  1060. ),
  1061. array(
  1062. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  1063. 'class' => 'InternalException',
  1064. ),
  1065. array(
  1066. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  1067. 'class' => 'InvalidTypeException',
  1068. ),
  1069. array(
  1070. 'reason' => 'The request was rejected because a resource limit has already been met.',
  1071. 'class' => 'LimitExceededException',
  1072. ),
  1073. array(
  1074. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  1075. 'class' => 'ResourceNotFoundException',
  1076. ),
  1077. ),
  1078. ),
  1079. 'UpdateSynonymOptions' => array(
  1080. 'httpMethod' => 'POST',
  1081. 'uri' => '/',
  1082. 'class' => 'Aws\\Common\\Command\\QueryCommand',
  1083. 'responseClass' => 'UpdateSynonymOptionsResponse',
  1084. 'responseType' => 'model',
  1085. 'parameters' => array(
  1086. 'Action' => array(
  1087. 'static' => true,
  1088. 'location' => 'aws.query',
  1089. 'default' => 'UpdateSynonymOptions',
  1090. ),
  1091. 'Version' => array(
  1092. 'static' => true,
  1093. 'location' => 'aws.query',
  1094. 'default' => '2011-02-01',
  1095. ),
  1096. 'DomainName' => array(
  1097. 'required' => true,
  1098. 'type' => 'string',
  1099. 'location' => 'aws.query',
  1100. 'minLength' => 3,
  1101. 'maxLength' => 28,
  1102. ),
  1103. 'Synonyms' => array(
  1104. 'required' => true,
  1105. 'type' => 'string',
  1106. 'location' => 'aws.query',
  1107. ),
  1108. ),
  1109. 'errorResponses' => array(
  1110. array(
  1111. 'reason' => 'An error occurred while processing the request.',
  1112. 'class' => 'BaseException',
  1113. ),
  1114. array(
  1115. 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',
  1116. 'class' => 'InternalException',
  1117. ),
  1118. array(
  1119. 'reason' => 'The request was rejected because it specified an invalid type definition.',
  1120. 'class' => 'InvalidTypeException',
  1121. ),
  1122. array(
  1123. 'reason' => 'The request was rejected because a resource limit has already been met.',
  1124. 'class' => 'LimitExceededException',
  1125. ),
  1126. array(
  1127. 'reason' => 'The request was rejected because it attempted to reference a resource that does not exist.',
  1128. 'class' => 'ResourceNotFoundException',
  1129. ),
  1130. ),
  1131. ),
  1132. ),
  1133. 'models' => array(
  1134. 'CreateDomainResponse' => array(
  1135. 'type' => 'object',
  1136. 'additionalProperties' => true,
  1137. 'properties' => array(
  1138. 'DomainStatus' => array(
  1139. 'type' => 'object',
  1140. 'location' => 'xml',
  1141. 'properties' => array(
  1142. 'DomainId' => array(
  1143. 'type' => 'string',
  1144. ),
  1145. 'DomainName' => array(
  1146. 'type' => 'string',
  1147. ),
  1148. 'Created' => array(
  1149. 'type' => 'boolean',
  1150. ),
  1151. 'Deleted' => array(
  1152. 'type' => 'boolean',
  1153. ),