@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
34
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
35
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenSearch = void 0;
4
- const OpenSearchClient_1 = require("./OpenSearchClient");
5
4
  const AcceptInboundConnectionCommand_1 = require("./commands/AcceptInboundConnectionCommand");
6
5
  const AddTagsCommand_1 = require("./commands/AddTagsCommand");
7
6
  const AssociatePackageCommand_1 = require("./commands/AssociatePackageCommand");
@@ -41,20 +40,7 @@ const StartServiceSoftwareUpdateCommand_1 = require("./commands/StartServiceSoft
41
40
  const UpdateDomainConfigCommand_1 = require("./commands/UpdateDomainConfigCommand");
42
41
  const UpdatePackageCommand_1 = require("./commands/UpdatePackageCommand");
43
42
  const UpgradeDomainCommand_1 = require("./commands/UpgradeDomainCommand");
44
- /**
45
- * <fullname>Amazon OpenSearch Configuration Service</fullname>
46
- * <p>Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.</p>
47
- * <p>For sample code that uses the configuration API, see the <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-configuration-samples.html">
48
- * Amazon OpenSearch Service Developer Guide</a>.
49
- * The guide also contains <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/request-signing.html">
50
- * sample
51
- * code for sending signed HTTP requests to the OpenSearch APIs</a>.
52
- * </p>
53
- * <p>The endpoint for configuration service requests is region-specific: es.<i>region</i>.amazonaws.com.
54
- * For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,
55
- * see <a href="http://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions" target="_blank">Regions and Endpoints</a>.
56
- * </p>
57
- */
43
+ const OpenSearchClient_1 = require("./OpenSearchClient");
58
44
  class OpenSearch extends OpenSearchClient_1.OpenSearchClient {
59
45
  acceptInboundConnection(args, optionsOrCb, cb) {
60
46
  const command = new AcceptInboundConnectionCommand_1.AcceptInboundConnectionCommand(args);
@@ -604,4 +590,3 @@ class OpenSearch extends OpenSearchClient_1.OpenSearchClient {
604
590
  }
605
591
  }
606
592
  exports.OpenSearch = OpenSearch;
607
- //# sourceMappingURL=OpenSearch.js.map
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OpenSearchClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
+ class OpenSearchClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ super(_config_6);
23
+ this.config = _config_6;
24
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
30
+ }
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
35
+ exports.OpenSearchClient = OpenSearchClient;
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AcceptInboundConnectionCommand = 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 accept 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, AcceptInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, AcceptInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new AcceptInboundConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AcceptInboundConnectionCommandInput} for command's `input` shape.
21
- * @see {@link AcceptInboundConnectionCommandOutput} 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 AcceptInboundConnectionCommand 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 AcceptInboundConnectionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.AcceptInboundConnectionCommand = AcceptInboundConnectionCommand;
61
- //# sourceMappingURL=AcceptInboundConnectionCommand.js.map
@@ -1,43 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AddTagsCommand = 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>Attaches tags to an existing domain. Tags are a set of case-sensitive key value pairs. An
10
- * domain can have up to 10 tags. See
11
- * <a href="http://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-awsresorcetagging" target="_blank">
12
- * Tagging Amazon OpenSearch Service domains</a> for more information.
13
- * </p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { OpenSearchClient, AddTagsCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
18
- * // const { OpenSearchClient, AddTagsCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
19
- * const client = new OpenSearchClient(config);
20
- * const command = new AddTagsCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link AddTagsCommandInput} for command's `input` shape.
25
- * @see {@link AddTagsCommandOutput} for command's `response` shape.
26
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
29
8
  class AddTagsCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class AddTagsCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.AddTagsCommand = AddTagsCommand;
65
- //# sourceMappingURL=AddTagsCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AssociatePackageCommand = 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>Associates a package with 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, AssociatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, AssociatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new AssociatePackageCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AssociatePackageCommandInput} for command's `input` shape.
21
- * @see {@link AssociatePackageCommandOutput} 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 AssociatePackageCommand 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 AssociatePackageCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.AssociatePackageCommand = AssociatePackageCommand;
61
- //# sourceMappingURL=AssociatePackageCommand.js.map
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CancelServiceSoftwareUpdateCommand = 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>Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before
10
- * the <code>AutomatedUpdateDate</code> and when the <code>UpdateStatus</code> is in the <code>PENDING_UPDATE</code> state.
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, CancelServiceSoftwareUpdateCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
16
- * // const { OpenSearchClient, CancelServiceSoftwareUpdateCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
17
- * const client = new OpenSearchClient(config);
18
- * const command = new CancelServiceSoftwareUpdateCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CancelServiceSoftwareUpdateCommandInput} for command's `input` shape.
23
- * @see {@link CancelServiceSoftwareUpdateCommandOutput} 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 CancelServiceSoftwareUpdateCommand 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 CancelServiceSoftwareUpdateCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.CancelServiceSoftwareUpdateCommand = CancelServiceSoftwareUpdateCommand;
63
- //# sourceMappingURL=CancelServiceSoftwareUpdateCommand.js.map
@@ -1,42 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateDomainCommand = 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>Creates a new Amazon OpenSearch Service domain. For more information,
10
- * see <a href="http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html" target="_blank">Creating and managing Amazon OpenSearch Service domains
11
- * </a> in the <i>Amazon OpenSearch Service Developer Guide</i>.
12
- * </p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { OpenSearchClient, CreateDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
17
- * // const { OpenSearchClient, CreateDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
18
- * const client = new OpenSearchClient(config);
19
- * const command = new CreateDomainCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link CreateDomainCommandInput} for command's `input` shape.
24
- * @see {@link CreateDomainCommandOutput} for command's `response` shape.
25
- * @see {@link OpenSearchClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
28
8
  class CreateDomainCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class CreateDomainCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.CreateDomainCommand = CreateDomainCommand;
64
- //# sourceMappingURL=CreateDomainCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateOutboundConnectionCommand = 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>Creates a new cross-cluster connection from a local OpenSearch domain to a remote OpenSearch 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, CreateOutboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, CreateOutboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new CreateOutboundConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateOutboundConnectionCommandInput} for command's `input` shape.
21
- * @see {@link CreateOutboundConnectionCommandOutput} 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 CreateOutboundConnectionCommand 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 CreateOutboundConnectionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreateOutboundConnectionCommand = CreateOutboundConnectionCommand;
61
- //# sourceMappingURL=CreateOutboundConnectionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreatePackageCommand = 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>Create 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, CreatePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, CreatePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new CreatePackageCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreatePackageCommandInput} for command's `input` shape.
21
- * @see {@link CreatePackageCommandOutput} 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 CreatePackageCommand 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 CreatePackageCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.CreatePackageCommand = CreatePackageCommand;
61
- //# sourceMappingURL=CreatePackageCommand.js.map
@@ -1,41 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteDomainCommand = 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>Permanently deletes the specified domain and all of its data. Once a domain is deleted, it cannot
10
- * be recovered.
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, DeleteDomainCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
16
- * // const { OpenSearchClient, DeleteDomainCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
17
- * const client = new OpenSearchClient(config);
18
- * const command = new DeleteDomainCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteDomainCommandInput} for command's `input` shape.
23
- * @see {@link DeleteDomainCommandOutput} 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 DeleteDomainCommand 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 DeleteDomainCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteDomainCommand = DeleteDomainCommand;
63
- //# sourceMappingURL=DeleteDomainCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteInboundConnectionCommand = 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 delete an existing inbound cross-cluster connection.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, DeleteInboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, DeleteInboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new DeleteInboundConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteInboundConnectionCommandInput} for command's `input` shape.
21
- * @see {@link DeleteInboundConnectionCommandOutput} 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 DeleteInboundConnectionCommand 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 DeleteInboundConnectionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteInboundConnectionCommand = DeleteInboundConnectionCommand;
61
- //# sourceMappingURL=DeleteInboundConnectionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteOutboundConnectionCommand = 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 local domain owner to delete an existing outbound cross-cluster connection.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { OpenSearchClient, DeleteOutboundConnectionCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, DeleteOutboundConnectionCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new DeleteOutboundConnectionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteOutboundConnectionCommandInput} for command's `input` shape.
21
- * @see {@link DeleteOutboundConnectionCommandOutput} 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 DeleteOutboundConnectionCommand 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 DeleteOutboundConnectionCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeleteOutboundConnectionCommand = DeleteOutboundConnectionCommand;
61
- //# sourceMappingURL=DeleteOutboundConnectionCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeletePackageCommand = 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>Deletes 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, DeletePackageCommand } from "@aws-sdk/client-opensearch"; // ES Modules import
14
- * // const { OpenSearchClient, DeletePackageCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import
15
- * const client = new OpenSearchClient(config);
16
- * const command = new DeletePackageCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeletePackageCommandInput} for command's `input` shape.
21
- * @see {@link DeletePackageCommandOutput} 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 DeletePackageCommand 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 DeletePackageCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DeletePackageCommand = DeletePackageCommand;
61
- //# sourceMappingURL=DeletePackageCommand.js.map