@aws-sdk/client-cloudsearch 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/CloudSearch.js +0 -10
  3. package/dist-cjs/CloudSearchClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/BuildSuggestersCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/CreateDomainCommand.js +2 -28
  6. package/{dist/cjs → dist-cjs}/commands/DefineAnalysisSchemeCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DefineExpressionCommand.js +2 -27
  8. package/dist-cjs/commands/DefineIndexFieldCommand.js +36 -0
  9. package/{dist/cjs → dist-cjs}/commands/DefineSuggesterCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DeleteAnalysisSchemeCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DeleteDomainCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/DeleteExpressionCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/DeleteIndexFieldCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/DeleteSuggesterCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DescribeAnalysisSchemesCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/DescribeAvailabilityOptionsCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/DescribeDomainEndpointOptionsCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/DescribeDomainsCommand.js +2 -29
  19. package/{dist/cjs → dist-cjs}/commands/DescribeExpressionsCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DescribeIndexFieldsCommand.js +2 -29
  21. package/{dist/cjs → dist-cjs}/commands/DescribeScalingParametersCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/DescribeServiceAccessPoliciesCommand.js +2 -28
  23. package/{dist/cjs → dist-cjs}/commands/DescribeSuggestersCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/IndexDocumentsCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/ListDomainNamesCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/UpdateAvailabilityOptionsCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/UpdateDomainEndpointOptionsCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/UpdateScalingParametersCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/UpdateServiceAccessPoliciesCommand.js +2 -29
  30. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  31. package/{dist/cjs → dist-cjs}/index.js +0 -1
  32. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  33. package/{dist/cjs → dist-cjs}/models/models_0.js +7 -278
  34. package/{dist/cjs → dist-cjs}/protocols/Aws_query.js +164 -71
  35. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  36. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  37. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  38. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  39. package/{dist/es → dist-es}/CloudSearch.js +0 -1
  40. package/{dist/es → dist-es}/CloudSearchClient.js +1 -2
  41. package/{dist/es → dist-es}/commands/BuildSuggestersCommand.js +2 -3
  42. package/{dist/es → dist-es}/commands/CreateDomainCommand.js +2 -3
  43. package/{dist/es → dist-es}/commands/DefineAnalysisSchemeCommand.js +2 -3
  44. package/{dist/es → dist-es}/commands/DefineExpressionCommand.js +2 -3
  45. package/{dist/es → dist-es}/commands/DefineIndexFieldCommand.js +2 -3
  46. package/{dist/es → dist-es}/commands/DefineSuggesterCommand.js +2 -3
  47. package/{dist/es → dist-es}/commands/DeleteAnalysisSchemeCommand.js +2 -3
  48. package/{dist/es → dist-es}/commands/DeleteDomainCommand.js +2 -3
  49. package/{dist/es → dist-es}/commands/DeleteExpressionCommand.js +2 -3
  50. package/{dist/es → dist-es}/commands/DeleteIndexFieldCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/DeleteSuggesterCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/DescribeAnalysisSchemesCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/DescribeAvailabilityOptionsCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/DescribeDomainEndpointOptionsCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/DescribeDomainsCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/DescribeExpressionsCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/DescribeIndexFieldsCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/DescribeScalingParametersCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/DescribeServiceAccessPoliciesCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/DescribeSuggestersCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/IndexDocumentsCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/ListDomainNamesCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/UpdateAvailabilityOptionsCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/UpdateDomainEndpointOptionsCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/UpdateScalingParametersCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/UpdateServiceAccessPoliciesCommand.js +2 -3
  67. package/{dist/es → dist-es}/endpoints.js +1 -2
  68. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  69. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  70. package/{dist/es → dist-es}/models/models_0.js +4 -5
  71. package/{dist/es → dist-es}/protocols/Aws_query.js +308 -213
  72. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  73. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  74. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  75. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  76. package/{dist/types → dist-types}/CloudSearch.d.ts +1 -1
  77. package/{dist/types → dist-types}/CloudSearchClient.d.ts +8 -8
  78. package/{dist/types → dist-types}/commands/BuildSuggestersCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/commands/CreateDomainCommand.d.ts +2 -2
  80. package/{dist/types → dist-types}/commands/DefineAnalysisSchemeCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/commands/DefineExpressionCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/commands/DefineIndexFieldCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/commands/DefineSuggesterCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/commands/DeleteAnalysisSchemeCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/commands/DeleteDomainCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/commands/DeleteExpressionCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/DeleteIndexFieldCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/DeleteSuggesterCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/DescribeAnalysisSchemesCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/DescribeAvailabilityOptionsCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/DescribeDomainEndpointOptionsCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/DescribeDomainsCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/DescribeExpressionsCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/DescribeIndexFieldsCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/DescribeScalingParametersCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/DescribeServiceAccessPoliciesCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/DescribeSuggestersCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/IndexDocumentsCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/ListDomainNamesCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/UpdateAvailabilityOptionsCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/UpdateDomainEndpointOptionsCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/UpdateScalingParametersCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/UpdateServiceAccessPoliciesCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  105. package/{index.ts → dist-types/index.d.ts} +0 -0
  106. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  107. package/{dist/types → dist-types}/models/models_0.d.ts +21 -21
  108. package/{dist/types → dist-types}/protocols/Aws_query.d.ts +2 -2
  109. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  110. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  111. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  112. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  113. package/{dist/types → dist-types}/ts3.4/CloudSearch.d.ts +28 -97
  114. package/{dist/types → dist-types}/ts3.4/CloudSearchClient.d.ts +32 -103
  115. package/dist-types/ts3.4/commands/BuildSuggestersCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/DefineAnalysisSchemeCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/DefineExpressionCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/DefineIndexFieldCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/DefineSuggesterCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/DeleteAnalysisSchemeCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/DeleteExpressionCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/DeleteIndexFieldCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/DeleteSuggesterCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/DescribeAnalysisSchemesCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/DescribeAvailabilityOptionsCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/DescribeDomainEndpointOptionsCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/DescribeExpressionsCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/DescribeIndexFieldsCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/DescribeScalingParametersCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/DescribeServiceAccessPoliciesCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/DescribeSuggestersCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/IndexDocumentsCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/UpdateAvailabilityOptionsCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/UpdateDomainEndpointOptionsCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/UpdateScalingParametersCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/UpdateServiceAccessPoliciesCommand.d.ts +17 -0
  141. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  142. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  143. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  144. package/dist-types/ts3.4/models/models_0.d.ts +1097 -0
  145. package/{dist/types → dist-types}/ts3.4/protocols/Aws_query.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  147. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  148. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  149. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  150. package/package.json +45 -42
  151. package/CloudSearch.ts +0 -978
  152. package/CloudSearchClient.ts +0 -358
  153. package/commands/BuildSuggestersCommand.ts +0 -94
  154. package/commands/CreateDomainCommand.ts +0 -92
  155. package/commands/DefineAnalysisSchemeCommand.ts +0 -94
  156. package/commands/DefineExpressionCommand.ts +0 -94
  157. package/commands/DefineIndexFieldCommand.ts +0 -94
  158. package/commands/DefineSuggesterCommand.ts +0 -94
  159. package/commands/DeleteAnalysisSchemeCommand.ts +0 -94
  160. package/commands/DeleteDomainCommand.ts +0 -92
  161. package/commands/DeleteExpressionCommand.ts +0 -94
  162. package/commands/DeleteIndexFieldCommand.ts +0 -94
  163. package/commands/DeleteSuggesterCommand.ts +0 -94
  164. package/commands/DescribeAnalysisSchemesCommand.ts +0 -94
  165. package/commands/DescribeAvailabilityOptionsCommand.ts +0 -99
  166. package/commands/DescribeDomainEndpointOptionsCommand.ts +0 -99
  167. package/commands/DescribeDomainsCommand.ts +0 -96
  168. package/commands/DescribeExpressionsCommand.ts +0 -94
  169. package/commands/DescribeIndexFieldsCommand.ts +0 -96
  170. package/commands/DescribeScalingParametersCommand.ts +0 -97
  171. package/commands/DescribeServiceAccessPoliciesCommand.ts +0 -100
  172. package/commands/DescribeSuggestersCommand.ts +0 -94
  173. package/commands/IndexDocumentsCommand.ts +0 -94
  174. package/commands/ListDomainNamesCommand.ts +0 -94
  175. package/commands/UpdateAvailabilityOptionsCommand.ts +0 -97
  176. package/commands/UpdateDomainEndpointOptionsCommand.ts +0 -99
  177. package/commands/UpdateScalingParametersCommand.ts +0 -94
  178. package/commands/UpdateServiceAccessPoliciesCommand.ts +0 -101
  179. package/dist/cjs/CloudSearch.js.map +0 -1
  180. package/dist/cjs/CloudSearchClient.js +0 -50
  181. package/dist/cjs/CloudSearchClient.js.map +0 -1
  182. package/dist/cjs/commands/BuildSuggestersCommand.js.map +0 -1
  183. package/dist/cjs/commands/CreateDomainCommand.js.map +0 -1
  184. package/dist/cjs/commands/DefineAnalysisSchemeCommand.js.map +0 -1
  185. package/dist/cjs/commands/DefineExpressionCommand.js.map +0 -1
  186. package/dist/cjs/commands/DefineIndexFieldCommand.js +0 -61
  187. package/dist/cjs/commands/DefineIndexFieldCommand.js.map +0 -1
  188. package/dist/cjs/commands/DefineSuggesterCommand.js.map +0 -1
  189. package/dist/cjs/commands/DeleteAnalysisSchemeCommand.js.map +0 -1
  190. package/dist/cjs/commands/DeleteDomainCommand.js.map +0 -1
  191. package/dist/cjs/commands/DeleteExpressionCommand.js.map +0 -1
  192. package/dist/cjs/commands/DeleteIndexFieldCommand.js.map +0 -1
  193. package/dist/cjs/commands/DeleteSuggesterCommand.js.map +0 -1
  194. package/dist/cjs/commands/DescribeAnalysisSchemesCommand.js.map +0 -1
  195. package/dist/cjs/commands/DescribeAvailabilityOptionsCommand.js.map +0 -1
  196. package/dist/cjs/commands/DescribeDomainEndpointOptionsCommand.js.map +0 -1
  197. package/dist/cjs/commands/DescribeDomainsCommand.js.map +0 -1
  198. package/dist/cjs/commands/DescribeExpressionsCommand.js.map +0 -1
  199. package/dist/cjs/commands/DescribeIndexFieldsCommand.js.map +0 -1
  200. package/dist/cjs/commands/DescribeScalingParametersCommand.js.map +0 -1
  201. package/dist/cjs/commands/DescribeServiceAccessPoliciesCommand.js.map +0 -1
  202. package/dist/cjs/commands/DescribeSuggestersCommand.js.map +0 -1
  203. package/dist/cjs/commands/IndexDocumentsCommand.js.map +0 -1
  204. package/dist/cjs/commands/ListDomainNamesCommand.js.map +0 -1
  205. package/dist/cjs/commands/UpdateAvailabilityOptionsCommand.js.map +0 -1
  206. package/dist/cjs/commands/UpdateDomainEndpointOptionsCommand.js.map +0 -1
  207. package/dist/cjs/commands/UpdateScalingParametersCommand.js.map +0 -1
  208. package/dist/cjs/commands/UpdateServiceAccessPoliciesCommand.js.map +0 -1
  209. package/dist/cjs/endpoints.js.map +0 -1
  210. package/dist/cjs/index.js.map +0 -1
  211. package/dist/cjs/models/index.js.map +0 -1
  212. package/dist/cjs/models/models_0.js.map +0 -1
  213. package/dist/cjs/package.json +0 -93
  214. package/dist/cjs/protocols/Aws_query.js.map +0 -1
  215. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  216. package/dist/cjs/runtimeConfig.js.map +0 -1
  217. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  218. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  219. package/dist/es/CloudSearch.js.map +0 -1
  220. package/dist/es/CloudSearchClient.js.map +0 -1
  221. package/dist/es/commands/BuildSuggestersCommand.js.map +0 -1
  222. package/dist/es/commands/CreateDomainCommand.js.map +0 -1
  223. package/dist/es/commands/DefineAnalysisSchemeCommand.js.map +0 -1
  224. package/dist/es/commands/DefineExpressionCommand.js.map +0 -1
  225. package/dist/es/commands/DefineIndexFieldCommand.js.map +0 -1
  226. package/dist/es/commands/DefineSuggesterCommand.js.map +0 -1
  227. package/dist/es/commands/DeleteAnalysisSchemeCommand.js.map +0 -1
  228. package/dist/es/commands/DeleteDomainCommand.js.map +0 -1
  229. package/dist/es/commands/DeleteExpressionCommand.js.map +0 -1
  230. package/dist/es/commands/DeleteIndexFieldCommand.js.map +0 -1
  231. package/dist/es/commands/DeleteSuggesterCommand.js.map +0 -1
  232. package/dist/es/commands/DescribeAnalysisSchemesCommand.js.map +0 -1
  233. package/dist/es/commands/DescribeAvailabilityOptionsCommand.js.map +0 -1
  234. package/dist/es/commands/DescribeDomainEndpointOptionsCommand.js.map +0 -1
  235. package/dist/es/commands/DescribeDomainsCommand.js.map +0 -1
  236. package/dist/es/commands/DescribeExpressionsCommand.js.map +0 -1
  237. package/dist/es/commands/DescribeIndexFieldsCommand.js.map +0 -1
  238. package/dist/es/commands/DescribeScalingParametersCommand.js.map +0 -1
  239. package/dist/es/commands/DescribeServiceAccessPoliciesCommand.js.map +0 -1
  240. package/dist/es/commands/DescribeSuggestersCommand.js.map +0 -1
  241. package/dist/es/commands/IndexDocumentsCommand.js.map +0 -1
  242. package/dist/es/commands/ListDomainNamesCommand.js.map +0 -1
  243. package/dist/es/commands/UpdateAvailabilityOptionsCommand.js.map +0 -1
  244. package/dist/es/commands/UpdateDomainEndpointOptionsCommand.js.map +0 -1
  245. package/dist/es/commands/UpdateScalingParametersCommand.js.map +0 -1
  246. package/dist/es/commands/UpdateServiceAccessPoliciesCommand.js.map +0 -1
  247. package/dist/es/endpoints.js.map +0 -1
  248. package/dist/es/index.js +0 -30
  249. package/dist/es/index.js.map +0 -1
  250. package/dist/es/models/index.js +0 -2
  251. package/dist/es/models/index.js.map +0 -1
  252. package/dist/es/models/models_0.js.map +0 -1
  253. package/dist/es/package.json +0 -93
  254. package/dist/es/protocols/Aws_query.js.map +0 -1
  255. package/dist/es/runtimeConfig.browser.js.map +0 -1
  256. package/dist/es/runtimeConfig.js.map +0 -1
  257. package/dist/es/runtimeConfig.native.js.map +0 -1
  258. package/dist/es/runtimeConfig.shared.js.map +0 -1
  259. package/dist/types/ts3.4/commands/BuildSuggestersCommand.d.ts +0 -35
  260. package/dist/types/ts3.4/commands/CreateDomainCommand.d.ts +0 -36
  261. package/dist/types/ts3.4/commands/DefineAnalysisSchemeCommand.d.ts +0 -35
  262. package/dist/types/ts3.4/commands/DefineExpressionCommand.d.ts +0 -35
  263. package/dist/types/ts3.4/commands/DefineIndexFieldCommand.d.ts +0 -35
  264. package/dist/types/ts3.4/commands/DefineSuggesterCommand.d.ts +0 -35
  265. package/dist/types/ts3.4/commands/DeleteAnalysisSchemeCommand.d.ts +0 -35
  266. package/dist/types/ts3.4/commands/DeleteDomainCommand.d.ts +0 -36
  267. package/dist/types/ts3.4/commands/DeleteExpressionCommand.d.ts +0 -35
  268. package/dist/types/ts3.4/commands/DeleteIndexFieldCommand.d.ts +0 -35
  269. package/dist/types/ts3.4/commands/DeleteSuggesterCommand.d.ts +0 -35
  270. package/dist/types/ts3.4/commands/DescribeAnalysisSchemesCommand.d.ts +0 -35
  271. package/dist/types/ts3.4/commands/DescribeAvailabilityOptionsCommand.d.ts +0 -35
  272. package/dist/types/ts3.4/commands/DescribeDomainEndpointOptionsCommand.d.ts +0 -35
  273. package/dist/types/ts3.4/commands/DescribeDomainsCommand.d.ts +0 -37
  274. package/dist/types/ts3.4/commands/DescribeExpressionsCommand.d.ts +0 -35
  275. package/dist/types/ts3.4/commands/DescribeIndexFieldsCommand.d.ts +0 -37
  276. package/dist/types/ts3.4/commands/DescribeScalingParametersCommand.d.ts +0 -35
  277. package/dist/types/ts3.4/commands/DescribeServiceAccessPoliciesCommand.d.ts +0 -36
  278. package/dist/types/ts3.4/commands/DescribeSuggestersCommand.d.ts +0 -35
  279. package/dist/types/ts3.4/commands/IndexDocumentsCommand.d.ts +0 -35
  280. package/dist/types/ts3.4/commands/ListDomainNamesCommand.d.ts +0 -35
  281. package/dist/types/ts3.4/commands/UpdateAvailabilityOptionsCommand.d.ts +0 -35
  282. package/dist/types/ts3.4/commands/UpdateDomainEndpointOptionsCommand.d.ts +0 -35
  283. package/dist/types/ts3.4/commands/UpdateScalingParametersCommand.d.ts +0 -35
  284. package/dist/types/ts3.4/commands/UpdateServiceAccessPoliciesCommand.d.ts +0 -37
  285. package/dist/types/ts3.4/models/models_0.d.ts +0 -1973
  286. package/endpoints.ts +0 -57
  287. package/jest.config.js +0 -4
  288. package/models/models_0.ts +0 -2531
  289. package/protocols/Aws_query.ts +0 -4956
  290. package/runtimeConfig.browser.ts +0 -40
  291. package/runtimeConfig.native.ts +0 -16
  292. package/runtimeConfig.shared.ts +0 -16
  293. package/runtimeConfig.ts +0 -45
  294. package/tsconfig.es.json +0 -10
  295. package/tsconfig.json +0 -31
  296. package/tsconfig.types.json +0 -8
@@ -1,97 +0,0 @@
1
- import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
2
- import { DescribeScalingParametersRequest, DescribeScalingParametersResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_queryDescribeScalingParametersCommand,
5
- serializeAws_queryDescribeScalingParametersCommand,
6
- } from "../protocols/Aws_query";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeScalingParametersCommandInput extends DescribeScalingParametersRequest {}
21
- export interface DescribeScalingParametersCommandOutput extends DescribeScalingParametersResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets the scaling parameters configured for a domain. A domain's scaling parameters specify the desired search instance type and replication count. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-scaling-options.html" target="_blank">Configuring Scaling Options</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CloudSearchClient, DescribeScalingParametersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
29
- * // const { CloudSearchClient, DescribeScalingParametersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
30
- * const client = new CloudSearchClient(config);
31
- * const command = new DescribeScalingParametersCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeScalingParametersCommandInput} for command's `input` shape.
36
- * @see {@link DescribeScalingParametersCommandOutput} for command's `response` shape.
37
- * @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeScalingParametersCommand extends $Command<
41
- DescribeScalingParametersCommandInput,
42
- DescribeScalingParametersCommandOutput,
43
- CloudSearchClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeScalingParametersCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CloudSearchClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeScalingParametersCommandInput, DescribeScalingParametersCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CloudSearchClient";
68
- const commandName = "DescribeScalingParametersCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeScalingParametersRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeScalingParametersResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeScalingParametersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_queryDescribeScalingParametersCommand(input, context);
86
- }
87
-
88
- private deserialize(
89
- output: __HttpResponse,
90
- context: __SerdeContext
91
- ): Promise<DescribeScalingParametersCommandOutput> {
92
- return deserializeAws_queryDescribeScalingParametersCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,100 +0,0 @@
1
- import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
2
- import { DescribeServiceAccessPoliciesRequest, DescribeServiceAccessPoliciesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_queryDescribeServiceAccessPoliciesCommand,
5
- serializeAws_queryDescribeServiceAccessPoliciesCommand,
6
- } from "../protocols/Aws_query";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeServiceAccessPoliciesCommandInput extends DescribeServiceAccessPoliciesRequest {}
21
- export interface DescribeServiceAccessPoliciesCommandOutput
22
- extends DescribeServiceAccessPoliciesResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Gets information about the access policies that control access to the domain's document and search endpoints. By default, shows the configuration with any pending changes. Set the <code>Deployed</code> option to <code>true</code> to show the active configuration and exclude pending changes. For more information,
27
- * see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access.html" target="_blank">Configuring Access for a Search Domain</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { CloudSearchClient, DescribeServiceAccessPoliciesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
32
- * // const { CloudSearchClient, DescribeServiceAccessPoliciesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
33
- * const client = new CloudSearchClient(config);
34
- * const command = new DescribeServiceAccessPoliciesCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeServiceAccessPoliciesCommandInput} for command's `input` shape.
39
- * @see {@link DescribeServiceAccessPoliciesCommandOutput} for command's `response` shape.
40
- * @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeServiceAccessPoliciesCommand extends $Command<
44
- DescribeServiceAccessPoliciesCommandInput,
45
- DescribeServiceAccessPoliciesCommandOutput,
46
- CloudSearchClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeServiceAccessPoliciesCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: CloudSearchClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeServiceAccessPoliciesCommandInput, DescribeServiceAccessPoliciesCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "CloudSearchClient";
71
- const commandName = "DescribeServiceAccessPoliciesCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeServiceAccessPoliciesRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeServiceAccessPoliciesResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DescribeServiceAccessPoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_queryDescribeServiceAccessPoliciesCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<DescribeServiceAccessPoliciesCommandOutput> {
95
- return deserializeAws_queryDescribeServiceAccessPoliciesCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,94 +0,0 @@
1
- import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
2
- import { DescribeSuggestersRequest, DescribeSuggestersResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_queryDescribeSuggestersCommand,
5
- serializeAws_queryDescribeSuggestersCommand,
6
- } from "../protocols/Aws_query";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeSuggestersCommandInput extends DescribeSuggestersRequest {}
21
- export interface DescribeSuggestersCommandOutput extends DescribeSuggestersResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets the suggesters configured for a domain. A suggester enables you to display possible matches before users finish typing their queries. Can be limited to specific suggesters by name. By default, shows all suggesters and includes any pending changes to the configuration. Set the <code>Deployed</code> option to <code>true</code> to show the active configuration and exclude pending changes. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html" target="_blank">Getting Search Suggestions</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CloudSearchClient, DescribeSuggestersCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
29
- * // const { CloudSearchClient, DescribeSuggestersCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
30
- * const client = new CloudSearchClient(config);
31
- * const command = new DescribeSuggestersCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeSuggestersCommandInput} for command's `input` shape.
36
- * @see {@link DescribeSuggestersCommandOutput} for command's `response` shape.
37
- * @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeSuggestersCommand extends $Command<
41
- DescribeSuggestersCommandInput,
42
- DescribeSuggestersCommandOutput,
43
- CloudSearchClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeSuggestersCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CloudSearchClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeSuggestersCommandInput, DescribeSuggestersCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CloudSearchClient";
68
- const commandName = "DescribeSuggestersCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeSuggestersRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeSuggestersResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeSuggestersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_queryDescribeSuggestersCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSuggestersCommandOutput> {
89
- return deserializeAws_queryDescribeSuggestersCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
2
- import { IndexDocumentsRequest, IndexDocumentsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_queryIndexDocumentsCommand,
5
- serializeAws_queryIndexDocumentsCommand,
6
- } from "../protocols/Aws_query";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface IndexDocumentsCommandInput extends IndexDocumentsRequest {}
21
- export interface IndexDocumentsCommandOutput extends IndexDocumentsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Tells the search domain to start indexing its documents using the latest indexing options. This operation must be invoked to activate options whose <a>OptionStatus</a> is <code>RequiresIndexDocuments</code>.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CloudSearchClient, IndexDocumentsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
29
- * // const { CloudSearchClient, IndexDocumentsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
30
- * const client = new CloudSearchClient(config);
31
- * const command = new IndexDocumentsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link IndexDocumentsCommandInput} for command's `input` shape.
36
- * @see {@link IndexDocumentsCommandOutput} for command's `response` shape.
37
- * @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class IndexDocumentsCommand extends $Command<
41
- IndexDocumentsCommandInput,
42
- IndexDocumentsCommandOutput,
43
- CloudSearchClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: IndexDocumentsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CloudSearchClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<IndexDocumentsCommandInput, IndexDocumentsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CloudSearchClient";
68
- const commandName = "IndexDocumentsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: IndexDocumentsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: IndexDocumentsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: IndexDocumentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_queryIndexDocumentsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<IndexDocumentsCommandOutput> {
89
- return deserializeAws_queryIndexDocumentsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
2
- import { ListDomainNamesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_queryListDomainNamesCommand,
5
- serializeAws_queryListDomainNamesCommand,
6
- } from "../protocols/Aws_query";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface ListDomainNamesCommandInput {}
21
- export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Lists all search domains owned by an account.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CloudSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
29
- * // const { CloudSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
30
- * const client = new CloudSearchClient(config);
31
- * const command = new ListDomainNamesCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListDomainNamesCommandInput} for command's `input` shape.
36
- * @see {@link ListDomainNamesCommandOutput} for command's `response` shape.
37
- * @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListDomainNamesCommand extends $Command<
41
- ListDomainNamesCommandInput,
42
- ListDomainNamesCommandOutput,
43
- CloudSearchClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListDomainNamesCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CloudSearchClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListDomainNamesCommandInput, ListDomainNamesCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CloudSearchClient";
68
- const commandName = "ListDomainNamesCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: (input: any) => input,
74
- outputFilterSensitiveLog: ListDomainNamesResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListDomainNamesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_queryListDomainNamesCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDomainNamesCommandOutput> {
89
- return deserializeAws_queryListDomainNamesCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,97 +0,0 @@
1
- import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
2
- import { UpdateAvailabilityOptionsRequest, UpdateAvailabilityOptionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_queryUpdateAvailabilityOptionsCommand,
5
- serializeAws_queryUpdateAvailabilityOptionsCommand,
6
- } from "../protocols/Aws_query";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface UpdateAvailabilityOptionsCommandInput extends UpdateAvailabilityOptionsRequest {}
21
- export interface UpdateAvailabilityOptionsCommandOutput extends UpdateAvailabilityOptionsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Configures the availability options for a domain. Enabling the Multi-AZ option expands an Amazon CloudSearch domain to an additional Availability Zone in the same Region to increase fault tolerance in the event of a service disruption. Changes to the Multi-AZ option can take about half an hour to become active. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-availability-options.html" target="_blank">Configuring Availability Options</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { CloudSearchClient, UpdateAvailabilityOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
29
- * // const { CloudSearchClient, UpdateAvailabilityOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
30
- * const client = new CloudSearchClient(config);
31
- * const command = new UpdateAvailabilityOptionsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link UpdateAvailabilityOptionsCommandInput} for command's `input` shape.
36
- * @see {@link UpdateAvailabilityOptionsCommandOutput} for command's `response` shape.
37
- * @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class UpdateAvailabilityOptionsCommand extends $Command<
41
- UpdateAvailabilityOptionsCommandInput,
42
- UpdateAvailabilityOptionsCommandOutput,
43
- CloudSearchClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: UpdateAvailabilityOptionsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: CloudSearchClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<UpdateAvailabilityOptionsCommandInput, UpdateAvailabilityOptionsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "CloudSearchClient";
68
- const commandName = "UpdateAvailabilityOptionsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: UpdateAvailabilityOptionsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: UpdateAvailabilityOptionsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: UpdateAvailabilityOptionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_queryUpdateAvailabilityOptionsCommand(input, context);
86
- }
87
-
88
- private deserialize(
89
- output: __HttpResponse,
90
- context: __SerdeContext
91
- ): Promise<UpdateAvailabilityOptionsCommandOutput> {
92
- return deserializeAws_queryUpdateAvailabilityOptionsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,99 +0,0 @@
1
- import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
2
- import { UpdateDomainEndpointOptionsRequest, UpdateDomainEndpointOptionsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_queryUpdateDomainEndpointOptionsCommand,
5
- serializeAws_queryUpdateDomainEndpointOptionsCommand,
6
- } from "../protocols/Aws_query";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface UpdateDomainEndpointOptionsCommandInput extends UpdateDomainEndpointOptionsRequest {}
21
- export interface UpdateDomainEndpointOptionsCommandOutput
22
- extends UpdateDomainEndpointOptionsResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Updates the domain's endpoint options, specifically whether all requests to the domain must arrive over HTTPS. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-domain-endpoint-options.html" target="_blank">Configuring Domain Endpoint Options</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { CloudSearchClient, UpdateDomainEndpointOptionsCommand } from "@aws-sdk/client-cloudsearch"; // ES Modules import
31
- * // const { CloudSearchClient, UpdateDomainEndpointOptionsCommand } = require("@aws-sdk/client-cloudsearch"); // CommonJS import
32
- * const client = new CloudSearchClient(config);
33
- * const command = new UpdateDomainEndpointOptionsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link UpdateDomainEndpointOptionsCommandInput} for command's `input` shape.
38
- * @see {@link UpdateDomainEndpointOptionsCommandOutput} for command's `response` shape.
39
- * @see {@link CloudSearchClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class UpdateDomainEndpointOptionsCommand extends $Command<
43
- UpdateDomainEndpointOptionsCommandInput,
44
- UpdateDomainEndpointOptionsCommandOutput,
45
- CloudSearchClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: UpdateDomainEndpointOptionsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: CloudSearchClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<UpdateDomainEndpointOptionsCommandInput, UpdateDomainEndpointOptionsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "CloudSearchClient";
70
- const commandName = "UpdateDomainEndpointOptionsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: UpdateDomainEndpointOptionsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: UpdateDomainEndpointOptionsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: UpdateDomainEndpointOptionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_queryUpdateDomainEndpointOptionsCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<UpdateDomainEndpointOptionsCommandOutput> {
94
- return deserializeAws_queryUpdateDomainEndpointOptionsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }