@aws-sdk/client-opensearch 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 (474) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/OpenSearch.js +1 -16
  3. package/dist-cjs/OpenSearchClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/AcceptInboundConnectionCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -31
  6. package/{dist/cjs → dist-cjs}/commands/AssociatePackageCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CancelServiceSoftwareUpdateCommand.js +2 -29
  8. package/{dist/cjs → dist-cjs}/commands/CreateDomainCommand.js +2 -30
  9. package/{dist/cjs → dist-cjs}/commands/CreateOutboundConnectionCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/CreatePackageCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DeleteDomainCommand.js +2 -29
  12. package/{dist/cjs → dist-cjs}/commands/DeleteInboundConnectionCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/DeleteOutboundConnectionCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/DeletePackageCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DescribeDomainAutoTunesCommand.js +2 -29
  16. package/{dist/cjs → dist-cjs}/commands/DescribeDomainCommand.js +2 -29
  17. package/{dist/cjs → dist-cjs}/commands/DescribeDomainConfigCommand.js +2 -29
  18. package/{dist/cjs → dist-cjs}/commands/DescribeDomainsCommand.js +2 -29
  19. package/{dist/cjs → dist-cjs}/commands/DescribeInboundConnectionsCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DescribeInstanceTypeLimitsCommand.js +2 -34
  21. package/{dist/cjs → dist-cjs}/commands/DescribeOutboundConnectionsCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/DescribePackagesCommand.js +2 -29
  23. package/{dist/cjs → dist-cjs}/commands/DescribeReservedInstanceOfferingsCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/DescribeReservedInstancesCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/DissociatePackageCommand.js +2 -27
  26. package/{dist/cjs → dist-cjs}/commands/GetCompatibleVersionsCommand.js +2 -34
  27. package/{dist/cjs → dist-cjs}/commands/GetPackageVersionHistoryCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/GetUpgradeHistoryCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/GetUpgradeStatusCommand.js +2 -28
  30. package/{dist/cjs → dist-cjs}/commands/ListDomainNamesCommand.js +2 -27
  31. package/{dist/cjs → dist-cjs}/commands/ListDomainsForPackageCommand.js +2 -27
  32. package/{dist/cjs → dist-cjs}/commands/ListInstanceTypeDetailsCommand.js +2 -10
  33. package/{dist/cjs → dist-cjs}/commands/ListPackagesForDomainCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/ListTagsCommand.js +2 -27
  35. package/{dist/cjs → dist-cjs}/commands/ListVersionsCommand.js +2 -27
  36. package/{dist/cjs → dist-cjs}/commands/PurchaseReservedInstanceOfferingCommand.js +2 -27
  37. package/{dist/cjs → dist-cjs}/commands/RejectInboundConnectionCommand.js +2 -27
  38. package/{dist/cjs → dist-cjs}/commands/RemoveTagsCommand.js +2 -27
  39. package/{dist/cjs → dist-cjs}/commands/StartServiceSoftwareUpdateCommand.js +2 -27
  40. package/{dist/cjs → dist-cjs}/commands/UpdateDomainConfigCommand.js +2 -29
  41. package/{dist/cjs → dist-cjs}/commands/UpdatePackageCommand.js +2 -27
  42. package/{dist/cjs → dist-cjs}/commands/UpgradeDomainCommand.js +2 -28
  43. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  44. package/{dist/cjs → dist-cjs}/index.js +0 -1
  45. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  46. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -481
  47. package/{dist/cjs → dist-cjs}/pagination/DescribeDomainAutoTunesPaginator.js +1 -12
  48. package/{dist/cjs → dist-cjs}/pagination/DescribeInboundConnectionsPaginator.js +1 -12
  49. package/{dist/cjs → dist-cjs}/pagination/DescribeOutboundConnectionsPaginator.js +1 -12
  50. package/{dist/cjs → dist-cjs}/pagination/DescribePackagesPaginator.js +1 -12
  51. package/{dist/cjs → dist-cjs}/pagination/DescribeReservedInstanceOfferingsPaginator.js +1 -12
  52. package/{dist/cjs → dist-cjs}/pagination/DescribeReservedInstancesPaginator.js +1 -12
  53. package/{dist/cjs → dist-cjs}/pagination/GetPackageVersionHistoryPaginator.js +1 -12
  54. package/{dist/cjs → dist-cjs}/pagination/GetUpgradeHistoryPaginator.js +1 -12
  55. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  56. package/{dist/cjs → dist-cjs}/pagination/ListDomainsForPackagePaginator.js +1 -12
  57. package/{dist/cjs → dist-cjs}/pagination/ListInstanceTypeDetailsPaginator.js +1 -12
  58. package/{dist/cjs → dist-cjs}/pagination/ListPackagesForDomainPaginator.js +1 -12
  59. package/{dist/cjs → dist-cjs}/pagination/ListVersionsPaginator.js +1 -12
  60. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +20 -26
  61. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  62. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  63. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  64. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  65. package/{dist/es → dist-es}/OpenSearch.js +1 -2
  66. package/{dist/es → dist-es}/OpenSearchClient.js +1 -2
  67. package/{dist/es → dist-es}/commands/AcceptInboundConnectionCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/AssociatePackageCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/CancelServiceSoftwareUpdateCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/CreateDomainCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/CreateOutboundConnectionCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/CreatePackageCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/DeleteDomainCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/DeleteInboundConnectionCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/DeleteOutboundConnectionCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/DeletePackageCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/DescribeDomainAutoTunesCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/DescribeDomainCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/DescribeDomainConfigCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/DescribeDomainsCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/DescribeInboundConnectionsCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/DescribeInstanceTypeLimitsCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/DescribeOutboundConnectionsCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/DescribePackagesCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/DescribeReservedInstanceOfferingsCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/DescribeReservedInstancesCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/DissociatePackageCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/GetCompatibleVersionsCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/GetPackageVersionHistoryCommand.js +2 -3
  91. package/{dist/es → dist-es}/commands/GetUpgradeHistoryCommand.js +2 -3
  92. package/{dist/es → dist-es}/commands/GetUpgradeStatusCommand.js +2 -3
  93. package/{dist/es → dist-es}/commands/ListDomainNamesCommand.js +2 -3
  94. package/{dist/es → dist-es}/commands/ListDomainsForPackageCommand.js +2 -3
  95. package/{dist/es → dist-es}/commands/ListInstanceTypeDetailsCommand.js +2 -3
  96. package/{dist/es → dist-es}/commands/ListPackagesForDomainCommand.js +2 -3
  97. package/{dist/es → dist-es}/commands/ListTagsCommand.js +2 -3
  98. package/{dist/es → dist-es}/commands/ListVersionsCommand.js +2 -3
  99. package/{dist/es → dist-es}/commands/PurchaseReservedInstanceOfferingCommand.js +2 -3
  100. package/{dist/es → dist-es}/commands/RejectInboundConnectionCommand.js +2 -3
  101. package/{dist/es → dist-es}/commands/RemoveTagsCommand.js +2 -3
  102. package/{dist/es → dist-es}/commands/StartServiceSoftwareUpdateCommand.js +2 -3
  103. package/{dist/es → dist-es}/commands/UpdateDomainConfigCommand.js +2 -3
  104. package/{dist/es → dist-es}/commands/UpdatePackageCommand.js +2 -3
  105. package/{dist/es → dist-es}/commands/UpgradeDomainCommand.js +2 -3
  106. package/{dist/es → dist-es}/endpoints.js +1 -2
  107. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  108. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  109. package/{dist/es → dist-es}/models/models_0.js +0 -1
  110. package/{dist/es → dist-es}/pagination/DescribeDomainAutoTunesPaginator.js +1 -2
  111. package/{dist/es → dist-es}/pagination/DescribeInboundConnectionsPaginator.js +1 -2
  112. package/{dist/es → dist-es}/pagination/DescribeOutboundConnectionsPaginator.js +1 -2
  113. package/{dist/es → dist-es}/pagination/DescribePackagesPaginator.js +1 -2
  114. package/{dist/es → dist-es}/pagination/DescribeReservedInstanceOfferingsPaginator.js +1 -2
  115. package/{dist/es → dist-es}/pagination/DescribeReservedInstancesPaginator.js +1 -2
  116. package/{dist/es → dist-es}/pagination/GetPackageVersionHistoryPaginator.js +1 -2
  117. package/{dist/es → dist-es}/pagination/GetUpgradeHistoryPaginator.js +1 -2
  118. package/dist-es/pagination/Interfaces.js +1 -0
  119. package/{dist/es → dist-es}/pagination/ListDomainsForPackagePaginator.js +1 -2
  120. package/{dist/es → dist-es}/pagination/ListInstanceTypeDetailsPaginator.js +1 -2
  121. package/{dist/es → dist-es}/pagination/ListPackagesForDomainPaginator.js +1 -2
  122. package/{dist/es → dist-es}/pagination/ListVersionsPaginator.js +1 -2
  123. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  124. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  125. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  126. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  127. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  128. package/{dist/types → dist-types}/OpenSearch.d.ts +2 -2
  129. package/{dist/types → dist-types}/OpenSearchClient.d.ts +8 -8
  130. package/{dist/types → dist-types}/commands/AcceptInboundConnectionCommand.d.ts +3 -3
  131. package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +3 -3
  132. package/{dist/types → dist-types}/commands/AssociatePackageCommand.d.ts +3 -3
  133. package/{dist/types → dist-types}/commands/CancelServiceSoftwareUpdateCommand.d.ts +3 -3
  134. package/{dist/types → dist-types}/commands/CreateDomainCommand.d.ts +3 -3
  135. package/{dist/types → dist-types}/commands/CreateOutboundConnectionCommand.d.ts +3 -3
  136. package/{dist/types → dist-types}/commands/CreatePackageCommand.d.ts +3 -3
  137. package/{dist/types → dist-types}/commands/DeleteDomainCommand.d.ts +3 -3
  138. package/{dist/types → dist-types}/commands/DeleteInboundConnectionCommand.d.ts +3 -3
  139. package/{dist/types → dist-types}/commands/DeleteOutboundConnectionCommand.d.ts +3 -3
  140. package/{dist/types → dist-types}/commands/DeletePackageCommand.d.ts +3 -3
  141. package/{dist/types → dist-types}/commands/DescribeDomainAutoTunesCommand.d.ts +3 -3
  142. package/{dist/types → dist-types}/commands/DescribeDomainCommand.d.ts +3 -3
  143. package/{dist/types → dist-types}/commands/DescribeDomainConfigCommand.d.ts +3 -3
  144. package/{dist/types → dist-types}/commands/DescribeDomainsCommand.d.ts +3 -3
  145. package/{dist/types → dist-types}/commands/DescribeInboundConnectionsCommand.d.ts +3 -3
  146. package/{dist/types → dist-types}/commands/DescribeInstanceTypeLimitsCommand.d.ts +3 -3
  147. package/{dist/types → dist-types}/commands/DescribeOutboundConnectionsCommand.d.ts +3 -3
  148. package/{dist/types → dist-types}/commands/DescribePackagesCommand.d.ts +3 -3
  149. package/{dist/types → dist-types}/commands/DescribeReservedInstanceOfferingsCommand.d.ts +3 -3
  150. package/{dist/types → dist-types}/commands/DescribeReservedInstancesCommand.d.ts +3 -3
  151. package/{dist/types → dist-types}/commands/DissociatePackageCommand.d.ts +3 -3
  152. package/{dist/types → dist-types}/commands/GetCompatibleVersionsCommand.d.ts +3 -3
  153. package/{dist/types → dist-types}/commands/GetPackageVersionHistoryCommand.d.ts +3 -3
  154. package/{dist/types → dist-types}/commands/GetUpgradeHistoryCommand.d.ts +3 -3
  155. package/{dist/types → dist-types}/commands/GetUpgradeStatusCommand.d.ts +3 -3
  156. package/{dist/types → dist-types}/commands/ListDomainNamesCommand.d.ts +3 -3
  157. package/{dist/types → dist-types}/commands/ListDomainsForPackageCommand.d.ts +3 -3
  158. package/{dist/types → dist-types}/commands/ListInstanceTypeDetailsCommand.d.ts +3 -3
  159. package/{dist/types → dist-types}/commands/ListPackagesForDomainCommand.d.ts +3 -3
  160. package/{dist/types → dist-types}/commands/ListTagsCommand.d.ts +3 -3
  161. package/{dist/types → dist-types}/commands/ListVersionsCommand.d.ts +3 -3
  162. package/{dist/types → dist-types}/commands/PurchaseReservedInstanceOfferingCommand.d.ts +3 -3
  163. package/{dist/types → dist-types}/commands/RejectInboundConnectionCommand.d.ts +3 -3
  164. package/{dist/types → dist-types}/commands/RemoveTagsCommand.d.ts +3 -3
  165. package/{dist/types → dist-types}/commands/StartServiceSoftwareUpdateCommand.d.ts +3 -3
  166. package/{dist/types → dist-types}/commands/UpdateDomainConfigCommand.d.ts +3 -3
  167. package/{dist/types → dist-types}/commands/UpdatePackageCommand.d.ts +3 -3
  168. package/{dist/types → dist-types}/commands/UpgradeDomainCommand.d.ts +3 -3
  169. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  170. package/{index.ts → dist-types/index.d.ts} +0 -0
  171. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  172. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  173. package/{dist/types → dist-types}/pagination/DescribeDomainAutoTunesPaginator.d.ts +1 -1
  174. package/{dist/types → dist-types}/pagination/DescribeInboundConnectionsPaginator.d.ts +1 -1
  175. package/{dist/types → dist-types}/pagination/DescribeOutboundConnectionsPaginator.d.ts +1 -1
  176. package/{dist/types → dist-types}/pagination/DescribePackagesPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/pagination/DescribeReservedInstanceOfferingsPaginator.d.ts +1 -1
  178. package/{dist/types → dist-types}/pagination/DescribeReservedInstancesPaginator.d.ts +1 -1
  179. package/{dist/types → dist-types}/pagination/GetPackageVersionHistoryPaginator.d.ts +1 -1
  180. package/{dist/types → dist-types}/pagination/GetUpgradeHistoryPaginator.d.ts +1 -1
  181. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  182. package/{dist/types → dist-types}/pagination/ListDomainsForPackagePaginator.d.ts +1 -1
  183. package/{dist/types → dist-types}/pagination/ListInstanceTypeDetailsPaginator.d.ts +1 -1
  184. package/{dist/types → dist-types}/pagination/ListPackagesForDomainPaginator.d.ts +1 -1
  185. package/{dist/types → dist-types}/pagination/ListVersionsPaginator.d.ts +1 -1
  186. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  187. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  188. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  189. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  190. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  191. package/{dist/types → dist-types}/ts3.4/OpenSearch.d.ts +41 -169
  192. package/{dist/types → dist-types}/ts3.4/OpenSearchClient.d.ts +32 -108
  193. package/{dist/types → dist-types}/ts3.4/commands/AcceptInboundConnectionCommand.d.ts +5 -23
  194. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/AssociatePackageCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/CancelServiceSoftwareUpdateCommand.d.ts +17 -0
  197. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +17 -0
  198. package/{dist/types → dist-types}/ts3.4/commands/CreateOutboundConnectionCommand.d.ts +5 -23
  199. package/dist-types/ts3.4/commands/CreatePackageCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +17 -0
  201. package/{dist/types → dist-types}/ts3.4/commands/DeleteInboundConnectionCommand.d.ts +5 -23
  202. package/{dist/types → dist-types}/ts3.4/commands/DeleteOutboundConnectionCommand.d.ts +5 -23
  203. package/{dist/types → dist-types}/ts3.4/commands/DeletePackageCommand.d.ts +5 -23
  204. package/dist-types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +17 -0
  205. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/DescribeDomainConfigCommand.d.ts +17 -0
  207. package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +17 -0
  208. package/{dist/types → dist-types}/ts3.4/commands/DescribeInboundConnectionsCommand.d.ts +5 -23
  209. package/dist-types/ts3.4/commands/DescribeInstanceTypeLimitsCommand.d.ts +17 -0
  210. package/{dist/types → dist-types}/ts3.4/commands/DescribeOutboundConnectionsCommand.d.ts +5 -23
  211. package/dist-types/ts3.4/commands/DescribePackagesCommand.d.ts +17 -0
  212. package/{dist/types → dist-types}/ts3.4/commands/DescribeReservedInstanceOfferingsCommand.d.ts +5 -23
  213. package/{dist/types → dist-types}/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +5 -23
  214. package/{dist/types → dist-types}/ts3.4/commands/DissociatePackageCommand.d.ts +5 -23
  215. package/dist-types/ts3.4/commands/GetCompatibleVersionsCommand.d.ts +17 -0
  216. package/{dist/types → dist-types}/ts3.4/commands/GetPackageVersionHistoryCommand.d.ts +5 -23
  217. package/dist-types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +17 -0
  218. package/dist-types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +17 -0
  219. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +17 -0
  220. package/{dist/types → dist-types}/ts3.4/commands/ListDomainsForPackageCommand.d.ts +5 -23
  221. package/{dist/types → dist-types}/ts3.4/commands/ListInstanceTypeDetailsCommand.d.ts +4 -6
  222. package/{dist/types → dist-types}/ts3.4/commands/ListPackagesForDomainCommand.d.ts +5 -23
  223. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +17 -0
  224. package/dist-types/ts3.4/commands/ListVersionsCommand.d.ts +17 -0
  225. package/{dist/types → dist-types}/ts3.4/commands/PurchaseReservedInstanceOfferingCommand.d.ts +5 -23
  226. package/{dist/types → dist-types}/ts3.4/commands/RejectInboundConnectionCommand.d.ts +5 -23
  227. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +17 -0
  228. package/{dist/types → dist-types}/ts3.4/commands/StartServiceSoftwareUpdateCommand.d.ts +5 -23
  229. package/dist-types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +17 -0
  230. package/dist-types/ts3.4/commands/UpdatePackageCommand.d.ts +17 -0
  231. package/dist-types/ts3.4/commands/UpgradeDomainCommand.d.ts +17 -0
  232. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  233. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  234. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  235. package/dist-types/ts3.4/models/models_0.d.ts +2269 -0
  236. package/{dist/types → dist-types}/ts3.4/pagination/DescribeDomainAutoTunesPaginator.d.ts +1 -1
  237. package/{dist/types → dist-types}/ts3.4/pagination/DescribeInboundConnectionsPaginator.d.ts +1 -1
  238. package/{dist/types → dist-types}/ts3.4/pagination/DescribeOutboundConnectionsPaginator.d.ts +1 -1
  239. package/{dist/types → dist-types}/ts3.4/pagination/DescribePackagesPaginator.d.ts +1 -1
  240. package/{dist/types → dist-types}/ts3.4/pagination/DescribeReservedInstanceOfferingsPaginator.d.ts +1 -1
  241. package/{dist/types → dist-types}/ts3.4/pagination/DescribeReservedInstancesPaginator.d.ts +1 -1
  242. package/{dist/types → dist-types}/ts3.4/pagination/GetPackageVersionHistoryPaginator.d.ts +1 -1
  243. package/{dist/types → dist-types}/ts3.4/pagination/GetUpgradeHistoryPaginator.d.ts +1 -1
  244. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  245. package/{dist/types → dist-types}/ts3.4/pagination/ListDomainsForPackagePaginator.d.ts +1 -1
  246. package/{dist/types → dist-types}/ts3.4/pagination/ListInstanceTypeDetailsPaginator.d.ts +1 -1
  247. package/{dist/types → dist-types}/ts3.4/pagination/ListPackagesForDomainPaginator.d.ts +1 -1
  248. package/{dist/types → dist-types}/ts3.4/pagination/ListVersionsPaginator.d.ts +1 -1
  249. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  250. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  251. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  252. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  253. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  254. package/package.json +45 -42
  255. package/OpenSearch.ts +0 -1458
  256. package/OpenSearchClient.ts +0 -423
  257. package/commands/AcceptInboundConnectionCommand.ts +0 -94
  258. package/commands/AddTagsCommand.ts +0 -98
  259. package/commands/AssociatePackageCommand.ts +0 -94
  260. package/commands/CancelServiceSoftwareUpdateCommand.ts +0 -101
  261. package/commands/CreateDomainCommand.ts +0 -97
  262. package/commands/CreateOutboundConnectionCommand.ts +0 -94
  263. package/commands/CreatePackageCommand.ts +0 -94
  264. package/commands/DeleteDomainCommand.ts +0 -96
  265. package/commands/DeleteInboundConnectionCommand.ts +0 -94
  266. package/commands/DeleteOutboundConnectionCommand.ts +0 -94
  267. package/commands/DeletePackageCommand.ts +0 -94
  268. package/commands/DescribeDomainAutoTunesCommand.ts +0 -96
  269. package/commands/DescribeDomainCommand.ts +0 -96
  270. package/commands/DescribeDomainConfigCommand.ts +0 -96
  271. package/commands/DescribeDomainsCommand.ts +0 -96
  272. package/commands/DescribeInboundConnectionsCommand.ts +0 -97
  273. package/commands/DescribeInstanceTypeLimitsCommand.ts +0 -104
  274. package/commands/DescribeOutboundConnectionsCommand.ts +0 -99
  275. package/commands/DescribePackagesCommand.ts +0 -96
  276. package/commands/DescribeReservedInstanceOfferingsCommand.ts +0 -105
  277. package/commands/DescribeReservedInstancesCommand.ts +0 -97
  278. package/commands/DissociatePackageCommand.ts +0 -94
  279. package/commands/GetCompatibleVersionsCommand.ts +0 -101
  280. package/commands/GetPackageVersionHistoryCommand.ts +0 -94
  281. package/commands/GetUpgradeHistoryCommand.ts +0 -94
  282. package/commands/GetUpgradeStatusCommand.ts +0 -95
  283. package/commands/ListDomainNamesCommand.ts +0 -94
  284. package/commands/ListDomainsForPackageCommand.ts +0 -94
  285. package/commands/ListInstanceTypeDetailsCommand.ts +0 -77
  286. package/commands/ListPackagesForDomainCommand.ts +0 -94
  287. package/commands/ListTagsCommand.ts +0 -94
  288. package/commands/ListVersionsCommand.ts +0 -94
  289. package/commands/PurchaseReservedInstanceOfferingCommand.ts +0 -102
  290. package/commands/RejectInboundConnectionCommand.ts +0 -94
  291. package/commands/RemoveTagsCommand.ts +0 -94
  292. package/commands/StartServiceSoftwareUpdateCommand.ts +0 -97
  293. package/commands/UpdateDomainConfigCommand.ts +0 -96
  294. package/commands/UpdatePackageCommand.ts +0 -94
  295. package/commands/UpgradeDomainCommand.ts +0 -95
  296. package/dist/cjs/OpenSearch.js.map +0 -1
  297. package/dist/cjs/OpenSearchClient.js +0 -55
  298. package/dist/cjs/OpenSearchClient.js.map +0 -1
  299. package/dist/cjs/commands/AcceptInboundConnectionCommand.js.map +0 -1
  300. package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
  301. package/dist/cjs/commands/AssociatePackageCommand.js.map +0 -1
  302. package/dist/cjs/commands/CancelServiceSoftwareUpdateCommand.js.map +0 -1
  303. package/dist/cjs/commands/CreateDomainCommand.js.map +0 -1
  304. package/dist/cjs/commands/CreateOutboundConnectionCommand.js.map +0 -1
  305. package/dist/cjs/commands/CreatePackageCommand.js.map +0 -1
  306. package/dist/cjs/commands/DeleteDomainCommand.js.map +0 -1
  307. package/dist/cjs/commands/DeleteInboundConnectionCommand.js.map +0 -1
  308. package/dist/cjs/commands/DeleteOutboundConnectionCommand.js.map +0 -1
  309. package/dist/cjs/commands/DeletePackageCommand.js.map +0 -1
  310. package/dist/cjs/commands/DescribeDomainAutoTunesCommand.js.map +0 -1
  311. package/dist/cjs/commands/DescribeDomainCommand.js.map +0 -1
  312. package/dist/cjs/commands/DescribeDomainConfigCommand.js.map +0 -1
  313. package/dist/cjs/commands/DescribeDomainsCommand.js.map +0 -1
  314. package/dist/cjs/commands/DescribeInboundConnectionsCommand.js.map +0 -1
  315. package/dist/cjs/commands/DescribeInstanceTypeLimitsCommand.js.map +0 -1
  316. package/dist/cjs/commands/DescribeOutboundConnectionsCommand.js.map +0 -1
  317. package/dist/cjs/commands/DescribePackagesCommand.js.map +0 -1
  318. package/dist/cjs/commands/DescribeReservedInstanceOfferingsCommand.js.map +0 -1
  319. package/dist/cjs/commands/DescribeReservedInstancesCommand.js.map +0 -1
  320. package/dist/cjs/commands/DissociatePackageCommand.js.map +0 -1
  321. package/dist/cjs/commands/GetCompatibleVersionsCommand.js.map +0 -1
  322. package/dist/cjs/commands/GetPackageVersionHistoryCommand.js.map +0 -1
  323. package/dist/cjs/commands/GetUpgradeHistoryCommand.js.map +0 -1
  324. package/dist/cjs/commands/GetUpgradeStatusCommand.js.map +0 -1
  325. package/dist/cjs/commands/ListDomainNamesCommand.js.map +0 -1
  326. package/dist/cjs/commands/ListDomainsForPackageCommand.js.map +0 -1
  327. package/dist/cjs/commands/ListInstanceTypeDetailsCommand.js.map +0 -1
  328. package/dist/cjs/commands/ListPackagesForDomainCommand.js.map +0 -1
  329. package/dist/cjs/commands/ListTagsCommand.js.map +0 -1
  330. package/dist/cjs/commands/ListVersionsCommand.js.map +0 -1
  331. package/dist/cjs/commands/PurchaseReservedInstanceOfferingCommand.js.map +0 -1
  332. package/dist/cjs/commands/RejectInboundConnectionCommand.js.map +0 -1
  333. package/dist/cjs/commands/RemoveTagsCommand.js.map +0 -1
  334. package/dist/cjs/commands/StartServiceSoftwareUpdateCommand.js.map +0 -1
  335. package/dist/cjs/commands/UpdateDomainConfigCommand.js.map +0 -1
  336. package/dist/cjs/commands/UpdatePackageCommand.js.map +0 -1
  337. package/dist/cjs/commands/UpgradeDomainCommand.js.map +0 -1
  338. package/dist/cjs/endpoints.js.map +0 -1
  339. package/dist/cjs/index.js.map +0 -1
  340. package/dist/cjs/models/index.js.map +0 -1
  341. package/dist/cjs/models/models_0.js.map +0 -1
  342. package/dist/cjs/package.json +0 -91
  343. package/dist/cjs/pagination/DescribeDomainAutoTunesPaginator.js.map +0 -1
  344. package/dist/cjs/pagination/DescribeInboundConnectionsPaginator.js.map +0 -1
  345. package/dist/cjs/pagination/DescribeOutboundConnectionsPaginator.js.map +0 -1
  346. package/dist/cjs/pagination/DescribePackagesPaginator.js.map +0 -1
  347. package/dist/cjs/pagination/DescribeReservedInstanceOfferingsPaginator.js.map +0 -1
  348. package/dist/cjs/pagination/DescribeReservedInstancesPaginator.js.map +0 -1
  349. package/dist/cjs/pagination/GetPackageVersionHistoryPaginator.js.map +0 -1
  350. package/dist/cjs/pagination/GetUpgradeHistoryPaginator.js.map +0 -1
  351. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  352. package/dist/cjs/pagination/ListDomainsForPackagePaginator.js.map +0 -1
  353. package/dist/cjs/pagination/ListInstanceTypeDetailsPaginator.js.map +0 -1
  354. package/dist/cjs/pagination/ListPackagesForDomainPaginator.js.map +0 -1
  355. package/dist/cjs/pagination/ListVersionsPaginator.js.map +0 -1
  356. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  357. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  358. package/dist/cjs/runtimeConfig.js.map +0 -1
  359. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  360. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  361. package/dist/es/OpenSearch.js.map +0 -1
  362. package/dist/es/OpenSearchClient.js.map +0 -1
  363. package/dist/es/commands/AcceptInboundConnectionCommand.js.map +0 -1
  364. package/dist/es/commands/AddTagsCommand.js.map +0 -1
  365. package/dist/es/commands/AssociatePackageCommand.js.map +0 -1
  366. package/dist/es/commands/CancelServiceSoftwareUpdateCommand.js.map +0 -1
  367. package/dist/es/commands/CreateDomainCommand.js.map +0 -1
  368. package/dist/es/commands/CreateOutboundConnectionCommand.js.map +0 -1
  369. package/dist/es/commands/CreatePackageCommand.js.map +0 -1
  370. package/dist/es/commands/DeleteDomainCommand.js.map +0 -1
  371. package/dist/es/commands/DeleteInboundConnectionCommand.js.map +0 -1
  372. package/dist/es/commands/DeleteOutboundConnectionCommand.js.map +0 -1
  373. package/dist/es/commands/DeletePackageCommand.js.map +0 -1
  374. package/dist/es/commands/DescribeDomainAutoTunesCommand.js.map +0 -1
  375. package/dist/es/commands/DescribeDomainCommand.js.map +0 -1
  376. package/dist/es/commands/DescribeDomainConfigCommand.js.map +0 -1
  377. package/dist/es/commands/DescribeDomainsCommand.js.map +0 -1
  378. package/dist/es/commands/DescribeInboundConnectionsCommand.js.map +0 -1
  379. package/dist/es/commands/DescribeInstanceTypeLimitsCommand.js.map +0 -1
  380. package/dist/es/commands/DescribeOutboundConnectionsCommand.js.map +0 -1
  381. package/dist/es/commands/DescribePackagesCommand.js.map +0 -1
  382. package/dist/es/commands/DescribeReservedInstanceOfferingsCommand.js.map +0 -1
  383. package/dist/es/commands/DescribeReservedInstancesCommand.js.map +0 -1
  384. package/dist/es/commands/DissociatePackageCommand.js.map +0 -1
  385. package/dist/es/commands/GetCompatibleVersionsCommand.js.map +0 -1
  386. package/dist/es/commands/GetPackageVersionHistoryCommand.js.map +0 -1
  387. package/dist/es/commands/GetUpgradeHistoryCommand.js.map +0 -1
  388. package/dist/es/commands/GetUpgradeStatusCommand.js.map +0 -1
  389. package/dist/es/commands/ListDomainNamesCommand.js.map +0 -1
  390. package/dist/es/commands/ListDomainsForPackageCommand.js.map +0 -1
  391. package/dist/es/commands/ListInstanceTypeDetailsCommand.js.map +0 -1
  392. package/dist/es/commands/ListPackagesForDomainCommand.js.map +0 -1
  393. package/dist/es/commands/ListTagsCommand.js.map +0 -1
  394. package/dist/es/commands/ListVersionsCommand.js.map +0 -1
  395. package/dist/es/commands/PurchaseReservedInstanceOfferingCommand.js.map +0 -1
  396. package/dist/es/commands/RejectInboundConnectionCommand.js.map +0 -1
  397. package/dist/es/commands/RemoveTagsCommand.js.map +0 -1
  398. package/dist/es/commands/StartServiceSoftwareUpdateCommand.js.map +0 -1
  399. package/dist/es/commands/UpdateDomainConfigCommand.js.map +0 -1
  400. package/dist/es/commands/UpdatePackageCommand.js.map +0 -1
  401. package/dist/es/commands/UpgradeDomainCommand.js.map +0 -1
  402. package/dist/es/endpoints.js.map +0 -1
  403. package/dist/es/index.js +0 -56
  404. package/dist/es/index.js.map +0 -1
  405. package/dist/es/models/index.js +0 -2
  406. package/dist/es/models/index.js.map +0 -1
  407. package/dist/es/models/models_0.js.map +0 -1
  408. package/dist/es/package.json +0 -91
  409. package/dist/es/pagination/DescribeDomainAutoTunesPaginator.js.map +0 -1
  410. package/dist/es/pagination/DescribeInboundConnectionsPaginator.js.map +0 -1
  411. package/dist/es/pagination/DescribeOutboundConnectionsPaginator.js.map +0 -1
  412. package/dist/es/pagination/DescribePackagesPaginator.js.map +0 -1
  413. package/dist/es/pagination/DescribeReservedInstanceOfferingsPaginator.js.map +0 -1
  414. package/dist/es/pagination/DescribeReservedInstancesPaginator.js.map +0 -1
  415. package/dist/es/pagination/GetPackageVersionHistoryPaginator.js.map +0 -1
  416. package/dist/es/pagination/GetUpgradeHistoryPaginator.js.map +0 -1
  417. package/dist/es/pagination/Interfaces.js +0 -2
  418. package/dist/es/pagination/Interfaces.js.map +0 -1
  419. package/dist/es/pagination/ListDomainsForPackagePaginator.js.map +0 -1
  420. package/dist/es/pagination/ListInstanceTypeDetailsPaginator.js.map +0 -1
  421. package/dist/es/pagination/ListPackagesForDomainPaginator.js.map +0 -1
  422. package/dist/es/pagination/ListVersionsPaginator.js.map +0 -1
  423. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  424. package/dist/es/runtimeConfig.browser.js.map +0 -1
  425. package/dist/es/runtimeConfig.js.map +0 -1
  426. package/dist/es/runtimeConfig.native.js.map +0 -1
  427. package/dist/es/runtimeConfig.shared.js.map +0 -1
  428. package/dist/types/ts3.4/commands/AddTagsCommand.d.ts +0 -39
  429. package/dist/types/ts3.4/commands/AssociatePackageCommand.d.ts +0 -35
  430. package/dist/types/ts3.4/commands/CancelServiceSoftwareUpdateCommand.d.ts +0 -37
  431. package/dist/types/ts3.4/commands/CreateDomainCommand.d.ts +0 -38
  432. package/dist/types/ts3.4/commands/CreatePackageCommand.d.ts +0 -35
  433. package/dist/types/ts3.4/commands/DeleteDomainCommand.d.ts +0 -37
  434. package/dist/types/ts3.4/commands/DescribeDomainAutoTunesCommand.d.ts +0 -37
  435. package/dist/types/ts3.4/commands/DescribeDomainCommand.d.ts +0 -37
  436. package/dist/types/ts3.4/commands/DescribeDomainConfigCommand.d.ts +0 -37
  437. package/dist/types/ts3.4/commands/DescribeDomainsCommand.d.ts +0 -37
  438. package/dist/types/ts3.4/commands/DescribeInstanceTypeLimitsCommand.d.ts +0 -42
  439. package/dist/types/ts3.4/commands/DescribePackagesCommand.d.ts +0 -37
  440. package/dist/types/ts3.4/commands/GetCompatibleVersionsCommand.d.ts +0 -42
  441. package/dist/types/ts3.4/commands/GetUpgradeHistoryCommand.d.ts +0 -35
  442. package/dist/types/ts3.4/commands/GetUpgradeStatusCommand.d.ts +0 -36
  443. package/dist/types/ts3.4/commands/ListDomainNamesCommand.d.ts +0 -35
  444. package/dist/types/ts3.4/commands/ListTagsCommand.d.ts +0 -35
  445. package/dist/types/ts3.4/commands/ListVersionsCommand.d.ts +0 -35
  446. package/dist/types/ts3.4/commands/RemoveTagsCommand.d.ts +0 -35
  447. package/dist/types/ts3.4/commands/UpdateDomainConfigCommand.d.ts +0 -37
  448. package/dist/types/ts3.4/commands/UpdatePackageCommand.d.ts +0 -35
  449. package/dist/types/ts3.4/commands/UpgradeDomainCommand.d.ts +0 -36
  450. package/dist/types/ts3.4/models/models_0.d.ts +0 -4813
  451. package/endpoints.ts +0 -63
  452. package/jest.config.js +0 -4
  453. package/models/models_0.ts +0 -5740
  454. package/pagination/DescribeDomainAutoTunesPaginator.ts +0 -58
  455. package/pagination/DescribeInboundConnectionsPaginator.ts +0 -58
  456. package/pagination/DescribeOutboundConnectionsPaginator.ts +0 -58
  457. package/pagination/DescribePackagesPaginator.ts +0 -58
  458. package/pagination/DescribeReservedInstanceOfferingsPaginator.ts +0 -58
  459. package/pagination/DescribeReservedInstancesPaginator.ts +0 -58
  460. package/pagination/GetPackageVersionHistoryPaginator.ts +0 -58
  461. package/pagination/GetUpgradeHistoryPaginator.ts +0 -58
  462. package/pagination/Interfaces.ts +0 -7
  463. package/pagination/ListDomainsForPackagePaginator.ts +0 -58
  464. package/pagination/ListInstanceTypeDetailsPaginator.ts +0 -58
  465. package/pagination/ListPackagesForDomainPaginator.ts +0 -58
  466. package/pagination/ListVersionsPaginator.ts +0 -58
  467. package/protocols/Aws_restJson1.ts +0 -6702
  468. package/runtimeConfig.browser.ts +0 -40
  469. package/runtimeConfig.native.ts +0 -16
  470. package/runtimeConfig.shared.ts +0 -16
  471. package/runtimeConfig.ts +0 -45
  472. package/tsconfig.es.json +0 -10
  473. package/tsconfig.json +0 -31
  474. package/tsconfig.types.json +0 -8
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetUpgradeHistoryCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves the complete history of the last 10 upgrades performed on the domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, GetUpgradeHistoryCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, GetUpgradeHistoryCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new GetUpgradeHistoryCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetUpgradeHistoryCommandInput} for command's `input` shape.
21
- * @see {@link GetUpgradeHistoryCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class GetUpgradeHistoryCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetUpgradeHistoryCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetUpgradeHistoryCommand = GetUpgradeHistoryCommand;
61
- //# sourceMappingURL=GetUpgradeHistoryCommand.js.map
@@ -1,40 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetUpgradeStatusCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Retrieves the latest status of the last upgrade or upgrade eligibility check performed on the domain.
10
- * </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { OpenSearchClient, GetUpgradeStatusCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
15
- * // const { OpenSearchClient, GetUpgradeStatusCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
16
- * const client = new OpenSearchClient(config);
17
- * const command = new GetUpgradeStatusCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetUpgradeStatusCommandInput} for command's `input` shape.
22
- * @see {@link GetUpgradeStatusCommandOutput} for command's `response` shape.
23
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
26
8
  class GetUpgradeStatusCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class GetUpgradeStatusCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetUpgradeStatusCommand = GetUpgradeStatusCommand;
62
- //# sourceMappingURL=GetUpgradeStatusCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListDomainNamesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns the names of all domains owned by the current user's account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, ListDomainNamesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, ListDomainNamesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new ListDomainNamesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDomainNamesCommandInput} for command's `input` shape.
21
- * @see {@link ListDomainNamesCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListDomainNamesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListDomainNamesCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListDomainNamesCommand = ListDomainNamesCommand;
61
- //# sourceMappingURL=ListDomainNamesCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListDomainsForPackageCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Lists all Amazon OpenSearch Service domains associated with the package.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, ListDomainsForPackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, ListDomainsForPackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new ListDomainsForPackageCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDomainsForPackageCommandInput} for command's `input` shape.
21
- * @see {@link ListDomainsForPackageCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListDomainsForPackageCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListDomainsForPackageCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListDomainsForPackageCommand = ListDomainsForPackageCommand;
61
- //# sourceMappingURL=ListDomainsForPackageCommand.js.map
@@ -1,22 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListInstanceTypeDetailsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class ListInstanceTypeDetailsCommand extends smithy_client_1.Command {
9
- // Start section: command_properties
10
- // End section: command_properties
11
9
  constructor(input) {
12
- // Start section: command_constructor
13
10
  super();
14
11
  this.input = input;
15
- // End section: command_constructor
16
12
  }
17
- /**
18
- * @internal
19
- */
20
13
  resolveMiddleware(clientStack, configuration, options) {
21
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
22
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -41,4 +34,3 @@ class ListInstanceTypeDetailsCommand extends smithy_client_1.Command {
41
34
  }
42
35
  }
43
36
  exports.ListInstanceTypeDetailsCommand = ListInstanceTypeDetailsCommand;
44
- //# sourceMappingURL=ListInstanceTypeDetailsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListPackagesForDomainCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Lists all packages associated with the Amazon OpenSearch Service domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, ListPackagesForDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, ListPackagesForDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new ListPackagesForDomainCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListPackagesForDomainCommandInput} for command's `input` shape.
21
- * @see {@link ListPackagesForDomainCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListPackagesForDomainCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListPackagesForDomainCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListPackagesForDomainCommand = ListPackagesForDomainCommand;
61
- //# sourceMappingURL=ListPackagesForDomainCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Returns all tags for the given domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, ListTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, ListTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new ListTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTagsCommandInput} for command's `input` shape.
21
- * @see {@link ListTagsCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListTagsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListTagsCommand = ListTagsCommand;
61
- //# sourceMappingURL=ListTagsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListVersionsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>List all supported versions of OpenSearch and Elasticsearch.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, ListVersionsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, ListVersionsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new ListVersionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListVersionsCommandInput} for command's `input` shape.
21
- * @see {@link ListVersionsCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class ListVersionsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListVersionsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListVersionsCommand = ListVersionsCommand;
61
- //# sourceMappingURL=ListVersionsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PurchaseReservedInstanceOfferingCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Allows you to purchase reserved OpenSearch instances.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, PurchaseReservedInstanceOfferingCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, PurchaseReservedInstanceOfferingCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new PurchaseReservedInstanceOfferingCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link PurchaseReservedInstanceOfferingCommandInput} for command's `input` shape.
21
- * @see {@link PurchaseReservedInstanceOfferingCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class PurchaseReservedInstanceOfferingCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class PurchaseReservedInstanceOfferingCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.PurchaseReservedInstanceOfferingCommand = PurchaseReservedInstanceOfferingCommand;
61
- //# sourceMappingURL=PurchaseReservedInstanceOfferingCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RejectInboundConnectionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Allows the remote domain owner to reject an inbound cross-cluster connection request.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, RejectInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, RejectInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new RejectInboundConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link RejectInboundConnectionCommandInput} for command's `input` shape.
21
- * @see {@link RejectInboundConnectionCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class RejectInboundConnectionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class RejectInboundConnectionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.RejectInboundConnectionCommand = RejectInboundConnectionCommand;
61
- //# sourceMappingURL=RejectInboundConnectionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RemoveTagsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Removes the specified set of tags from the given domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, RemoveTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, RemoveTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new RemoveTagsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link RemoveTagsCommandInput} for command's `input` shape.
21
- * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class RemoveTagsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class RemoveTagsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.RemoveTagsCommand = RemoveTagsCommand;
61
- //# sourceMappingURL=RemoveTagsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartServiceSoftwareUpdateCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Schedules a service software update for an Amazon OpenSearch Service domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, StartServiceSoftwareUpdateCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, StartServiceSoftwareUpdateCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new StartServiceSoftwareUpdateCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartServiceSoftwareUpdateCommandInput} for command's `input` shape.
21
- * @see {@link StartServiceSoftwareUpdateCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class StartServiceSoftwareUpdateCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class StartServiceSoftwareUpdateCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.StartServiceSoftwareUpdateCommand = StartServiceSoftwareUpdateCommand;
61
- //# sourceMappingURL=StartServiceSoftwareUpdateCommand.js.map
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateDomainConfigCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Modifies the cluster configuration of the specified domain, such as setting the instance type
10
- * and the number of instances.
11
- * </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { OpenSearchClient, UpdateDomainConfigCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
16
- * // const { OpenSearchClient, UpdateDomainConfigCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
17
- * const client = new OpenSearchClient(config);
18
- * const command = new UpdateDomainConfigCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link UpdateDomainConfigCommandInput} for command's `input` shape.
23
- * @see {@link UpdateDomainConfigCommandOutput} for command's `response` shape.
24
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
27
8
  class UpdateDomainConfigCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class UpdateDomainConfigCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.UpdateDomainConfigCommand = UpdateDomainConfigCommand;
63
- //# sourceMappingURL=UpdateDomainConfigCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdatePackageCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Updates a package for use with Amazon OpenSearch Service domains.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, UpdatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, UpdatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new UpdatePackageCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdatePackageCommandInput} for command's `input` shape.
21
- * @see {@link UpdatePackageCommandOutput} for command's `response` shape.
22
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class UpdatePackageCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class UpdatePackageCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.UpdatePackageCommand = UpdatePackageCommand;
61
- //# sourceMappingURL=UpdatePackageCommand.js.map