@aws-sdk/client-lex-model-building-service 3.34.0 → 3.35.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 (887) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist-cjs/LexModelBuildingService.js +644 -0
  3. package/dist-cjs/LexModelBuildingService.js.map +1 -0
  4. package/dist-cjs/LexModelBuildingServiceClient.js +47 -0
  5. package/dist-cjs/LexModelBuildingServiceClient.js.map +1 -0
  6. package/dist-cjs/commands/CreateBotVersionCommand.js +73 -0
  7. package/dist-cjs/commands/CreateBotVersionCommand.js.map +1 -0
  8. package/dist-cjs/commands/CreateIntentVersionCommand.js +74 -0
  9. package/dist-cjs/commands/CreateIntentVersionCommand.js.map +1 -0
  10. package/dist-cjs/commands/CreateSlotTypeVersionCommand.js +76 -0
  11. package/dist-cjs/commands/CreateSlotTypeVersionCommand.js.map +1 -0
  12. package/dist-cjs/commands/DeleteBotAliasCommand.js +69 -0
  13. package/dist-cjs/commands/DeleteBotAliasCommand.js.map +1 -0
  14. package/dist-cjs/commands/DeleteBotChannelAssociationCommand.js +64 -0
  15. package/dist-cjs/commands/DeleteBotChannelAssociationCommand.js.map +1 -0
  16. package/dist-cjs/commands/DeleteBotCommand.js +77 -0
  17. package/dist-cjs/commands/DeleteBotCommand.js.map +1 -0
  18. package/dist-cjs/commands/DeleteBotVersionCommand.js +64 -0
  19. package/dist-cjs/commands/DeleteBotVersionCommand.js.map +1 -0
  20. package/dist-cjs/commands/DeleteIntentCommand.js +78 -0
  21. package/dist-cjs/commands/DeleteIntentCommand.js.map +1 -0
  22. package/dist-cjs/commands/DeleteIntentVersionCommand.js +64 -0
  23. package/dist-cjs/commands/DeleteIntentVersionCommand.js.map +1 -0
  24. package/dist-cjs/commands/DeleteSlotTypeCommand.js +77 -0
  25. package/dist-cjs/commands/DeleteSlotTypeCommand.js.map +1 -0
  26. package/dist-cjs/commands/DeleteSlotTypeVersionCommand.js +64 -0
  27. package/dist-cjs/commands/DeleteSlotTypeVersionCommand.js.map +1 -0
  28. package/dist-cjs/commands/DeleteUtterancesCommand.js +72 -0
  29. package/dist-cjs/commands/DeleteUtterancesCommand.js.map +1 -0
  30. package/dist-cjs/commands/GetBotAliasCommand.js +64 -0
  31. package/dist-cjs/commands/GetBotAliasCommand.js.map +1 -0
  32. package/dist-cjs/commands/GetBotAliasesCommand.js +63 -0
  33. package/dist-cjs/commands/GetBotAliasesCommand.js.map +1 -0
  34. package/dist-cjs/commands/GetBotChannelAssociationCommand.js +64 -0
  35. package/dist-cjs/commands/GetBotChannelAssociationCommand.js.map +1 -0
  36. package/dist-cjs/commands/GetBotChannelAssociationsCommand.js +65 -0
  37. package/dist-cjs/commands/GetBotChannelAssociationsCommand.js.map +1 -0
  38. package/dist-cjs/commands/GetBotCommand.js +64 -0
  39. package/dist-cjs/commands/GetBotCommand.js.map +1 -0
  40. package/dist-cjs/commands/GetBotVersionsCommand.js +71 -0
  41. package/dist-cjs/commands/GetBotVersionsCommand.js.map +1 -0
  42. package/dist-cjs/commands/GetBotsCommand.js +75 -0
  43. package/dist-cjs/commands/GetBotsCommand.js.map +1 -0
  44. package/dist-cjs/commands/GetBuiltinIntentCommand.js +63 -0
  45. package/dist-cjs/commands/GetBuiltinIntentCommand.js.map +1 -0
  46. package/dist-cjs/commands/GetBuiltinIntentsCommand.js +64 -0
  47. package/dist-cjs/commands/GetBuiltinIntentsCommand.js.map +1 -0
  48. package/dist-cjs/commands/GetBuiltinSlotTypesCommand.js +67 -0
  49. package/dist-cjs/commands/GetBuiltinSlotTypesCommand.js.map +1 -0
  50. package/dist-cjs/commands/GetExportCommand.js +62 -0
  51. package/dist-cjs/commands/GetExportCommand.js.map +1 -0
  52. package/dist-cjs/commands/GetImportCommand.js +62 -0
  53. package/dist-cjs/commands/GetImportCommand.js.map +1 -0
  54. package/dist-cjs/commands/GetIntentCommand.js +64 -0
  55. package/dist-cjs/commands/GetIntentCommand.js.map +1 -0
  56. package/dist-cjs/commands/GetIntentVersionsCommand.js +71 -0
  57. package/dist-cjs/commands/GetIntentVersionsCommand.js.map +1 -0
  58. package/dist-cjs/commands/GetIntentsCommand.js +75 -0
  59. package/dist-cjs/commands/GetIntentsCommand.js.map +1 -0
  60. package/dist-cjs/commands/GetMigrationCommand.js +63 -0
  61. package/dist-cjs/commands/GetMigrationCommand.js.map +1 -0
  62. package/dist-cjs/commands/GetMigrationsCommand.js +61 -0
  63. package/dist-cjs/commands/GetMigrationsCommand.js.map +1 -0
  64. package/dist-cjs/commands/GetSlotTypeCommand.js +65 -0
  65. package/dist-cjs/commands/GetSlotTypeCommand.js.map +1 -0
  66. package/dist-cjs/commands/GetSlotTypeVersionsCommand.js +71 -0
  67. package/dist-cjs/commands/GetSlotTypeVersionsCommand.js.map +1 -0
  68. package/dist-cjs/commands/GetSlotTypesCommand.js +75 -0
  69. package/dist-cjs/commands/GetSlotTypesCommand.js.map +1 -0
  70. package/dist-cjs/commands/GetUtterancesViewCommand.js +84 -0
  71. package/dist-cjs/commands/GetUtterancesViewCommand.js.map +1 -0
  72. package/dist-cjs/commands/ListTagsForResourceCommand.js +62 -0
  73. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  74. package/dist-cjs/commands/PutBotAliasCommand.js +66 -0
  75. package/dist-cjs/commands/PutBotAliasCommand.js.map +1 -0
  76. package/dist-cjs/commands/PutBotCommand.js +78 -0
  77. package/dist-cjs/commands/PutBotCommand.js.map +1 -0
  78. package/dist-cjs/commands/PutIntentCommand.js +118 -0
  79. package/dist-cjs/commands/PutIntentCommand.js.map +1 -0
  80. package/dist-cjs/commands/PutSlotTypeCommand.js +76 -0
  81. package/dist-cjs/commands/PutSlotTypeCommand.js.map +1 -0
  82. package/dist-cjs/commands/StartImportCommand.js +61 -0
  83. package/dist-cjs/commands/StartImportCommand.js.map +1 -0
  84. package/dist-cjs/commands/StartMigrationCommand.js +64 -0
  85. package/dist-cjs/commands/StartMigrationCommand.js.map +1 -0
  86. package/dist-cjs/commands/TagResourceCommand.js +62 -0
  87. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  88. package/dist-cjs/commands/UntagResourceCommand.js +61 -0
  89. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  90. package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
  91. package/dist-cjs/endpoints.js.map +1 -0
  92. package/{dist/cjs → dist-cjs}/index.js +0 -0
  93. package/dist-cjs/index.js.map +1 -0
  94. package/{dist/cjs → dist-cjs}/models/index.js +0 -0
  95. package/dist-cjs/models/index.js.map +1 -0
  96. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  97. package/dist-cjs/models/models_0.js.map +1 -0
  98. package/dist-cjs/pagination/GetBotAliasesPaginator.js +46 -0
  99. package/dist-cjs/pagination/GetBotAliasesPaginator.js.map +1 -0
  100. package/dist-cjs/pagination/GetBotChannelAssociationsPaginator.js +46 -0
  101. package/dist-cjs/pagination/GetBotChannelAssociationsPaginator.js.map +1 -0
  102. package/dist-cjs/pagination/GetBotVersionsPaginator.js +46 -0
  103. package/dist-cjs/pagination/GetBotVersionsPaginator.js.map +1 -0
  104. package/dist-cjs/pagination/GetBotsPaginator.js +46 -0
  105. package/dist-cjs/pagination/GetBotsPaginator.js.map +1 -0
  106. package/dist-cjs/pagination/GetBuiltinIntentsPaginator.js +46 -0
  107. package/dist-cjs/pagination/GetBuiltinIntentsPaginator.js.map +1 -0
  108. package/dist-cjs/pagination/GetBuiltinSlotTypesPaginator.js +46 -0
  109. package/dist-cjs/pagination/GetBuiltinSlotTypesPaginator.js.map +1 -0
  110. package/dist-cjs/pagination/GetIntentVersionsPaginator.js +46 -0
  111. package/dist-cjs/pagination/GetIntentVersionsPaginator.js.map +1 -0
  112. package/dist-cjs/pagination/GetIntentsPaginator.js +46 -0
  113. package/dist-cjs/pagination/GetIntentsPaginator.js.map +1 -0
  114. package/dist-cjs/pagination/GetMigrationsPaginator.js +46 -0
  115. package/dist-cjs/pagination/GetMigrationsPaginator.js.map +1 -0
  116. package/dist-cjs/pagination/GetSlotTypeVersionsPaginator.js +46 -0
  117. package/dist-cjs/pagination/GetSlotTypeVersionsPaginator.js.map +1 -0
  118. package/dist-cjs/pagination/GetSlotTypesPaginator.js +46 -0
  119. package/dist-cjs/pagination/GetSlotTypesPaginator.js.map +1 -0
  120. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  121. package/dist-cjs/pagination/Interfaces.js.map +1 -0
  122. package/dist-cjs/protocols/Aws_restJson1.js +6418 -0
  123. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  124. package/dist-cjs/runtimeConfig.browser.js +42 -0
  125. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  126. package/dist-cjs/runtimeConfig.js +47 -0
  127. package/dist-cjs/runtimeConfig.js.map +1 -0
  128. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
  129. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  130. package/dist-cjs/runtimeConfig.shared.js +21 -0
  131. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  132. package/dist-es/LexModelBuildingService.js +641 -0
  133. package/dist-es/LexModelBuildingService.js.map +1 -0
  134. package/dist-es/LexModelBuildingServiceClient.js +38 -0
  135. package/dist-es/LexModelBuildingServiceClient.js.map +1 -0
  136. package/dist-es/commands/CreateBotVersionCommand.js +40 -0
  137. package/dist-es/commands/CreateBotVersionCommand.js.map +1 -0
  138. package/dist-es/commands/CreateIntentVersionCommand.js +40 -0
  139. package/dist-es/commands/CreateIntentVersionCommand.js.map +1 -0
  140. package/dist-es/commands/CreateSlotTypeVersionCommand.js +40 -0
  141. package/dist-es/commands/CreateSlotTypeVersionCommand.js.map +1 -0
  142. package/dist-es/commands/DeleteBotAliasCommand.js +40 -0
  143. package/dist-es/commands/DeleteBotAliasCommand.js.map +1 -0
  144. package/dist-es/commands/DeleteBotChannelAssociationCommand.js +40 -0
  145. package/dist-es/commands/DeleteBotChannelAssociationCommand.js.map +1 -0
  146. package/dist-es/commands/DeleteBotCommand.js +40 -0
  147. package/dist-es/commands/DeleteBotCommand.js.map +1 -0
  148. package/dist-es/commands/DeleteBotVersionCommand.js +40 -0
  149. package/dist-es/commands/DeleteBotVersionCommand.js.map +1 -0
  150. package/dist-es/commands/DeleteIntentCommand.js +40 -0
  151. package/dist-es/commands/DeleteIntentCommand.js.map +1 -0
  152. package/dist-es/commands/DeleteIntentVersionCommand.js +40 -0
  153. package/dist-es/commands/DeleteIntentVersionCommand.js.map +1 -0
  154. package/dist-es/commands/DeleteSlotTypeCommand.js +40 -0
  155. package/dist-es/commands/DeleteSlotTypeCommand.js.map +1 -0
  156. package/dist-es/commands/DeleteSlotTypeVersionCommand.js +40 -0
  157. package/dist-es/commands/DeleteSlotTypeVersionCommand.js.map +1 -0
  158. package/dist-es/commands/DeleteUtterancesCommand.js +40 -0
  159. package/dist-es/commands/DeleteUtterancesCommand.js.map +1 -0
  160. package/dist-es/commands/GetBotAliasCommand.js +40 -0
  161. package/dist-es/commands/GetBotAliasCommand.js.map +1 -0
  162. package/dist-es/commands/GetBotAliasesCommand.js +40 -0
  163. package/dist-es/commands/GetBotAliasesCommand.js.map +1 -0
  164. package/dist-es/commands/GetBotChannelAssociationCommand.js +40 -0
  165. package/dist-es/commands/GetBotChannelAssociationCommand.js.map +1 -0
  166. package/dist-es/commands/GetBotChannelAssociationsCommand.js +40 -0
  167. package/dist-es/commands/GetBotChannelAssociationsCommand.js.map +1 -0
  168. package/dist-es/commands/GetBotCommand.js +40 -0
  169. package/dist-es/commands/GetBotCommand.js.map +1 -0
  170. package/dist-es/commands/GetBotVersionsCommand.js +40 -0
  171. package/dist-es/commands/GetBotVersionsCommand.js.map +1 -0
  172. package/dist-es/commands/GetBotsCommand.js +40 -0
  173. package/dist-es/commands/GetBotsCommand.js.map +1 -0
  174. package/dist-es/commands/GetBuiltinIntentCommand.js +40 -0
  175. package/dist-es/commands/GetBuiltinIntentCommand.js.map +1 -0
  176. package/dist-es/commands/GetBuiltinIntentsCommand.js +40 -0
  177. package/dist-es/commands/GetBuiltinIntentsCommand.js.map +1 -0
  178. package/dist-es/commands/GetBuiltinSlotTypesCommand.js +40 -0
  179. package/dist-es/commands/GetBuiltinSlotTypesCommand.js.map +1 -0
  180. package/dist-es/commands/GetExportCommand.js +40 -0
  181. package/dist-es/commands/GetExportCommand.js.map +1 -0
  182. package/dist-es/commands/GetImportCommand.js +40 -0
  183. package/dist-es/commands/GetImportCommand.js.map +1 -0
  184. package/dist-es/commands/GetIntentCommand.js +40 -0
  185. package/dist-es/commands/GetIntentCommand.js.map +1 -0
  186. package/dist-es/commands/GetIntentVersionsCommand.js +40 -0
  187. package/dist-es/commands/GetIntentVersionsCommand.js.map +1 -0
  188. package/dist-es/commands/GetIntentsCommand.js +40 -0
  189. package/dist-es/commands/GetIntentsCommand.js.map +1 -0
  190. package/dist-es/commands/GetMigrationCommand.js +40 -0
  191. package/dist-es/commands/GetMigrationCommand.js.map +1 -0
  192. package/dist-es/commands/GetMigrationsCommand.js +40 -0
  193. package/dist-es/commands/GetMigrationsCommand.js.map +1 -0
  194. package/dist-es/commands/GetSlotTypeCommand.js +40 -0
  195. package/dist-es/commands/GetSlotTypeCommand.js.map +1 -0
  196. package/dist-es/commands/GetSlotTypeVersionsCommand.js +40 -0
  197. package/dist-es/commands/GetSlotTypeVersionsCommand.js.map +1 -0
  198. package/dist-es/commands/GetSlotTypesCommand.js +40 -0
  199. package/dist-es/commands/GetSlotTypesCommand.js.map +1 -0
  200. package/dist-es/commands/GetUtterancesViewCommand.js +40 -0
  201. package/dist-es/commands/GetUtterancesViewCommand.js.map +1 -0
  202. package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
  203. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  204. package/dist-es/commands/PutBotAliasCommand.js +40 -0
  205. package/dist-es/commands/PutBotAliasCommand.js.map +1 -0
  206. package/dist-es/commands/PutBotCommand.js +40 -0
  207. package/dist-es/commands/PutBotCommand.js.map +1 -0
  208. package/dist-es/commands/PutIntentCommand.js +40 -0
  209. package/dist-es/commands/PutIntentCommand.js.map +1 -0
  210. package/dist-es/commands/PutSlotTypeCommand.js +40 -0
  211. package/dist-es/commands/PutSlotTypeCommand.js.map +1 -0
  212. package/dist-es/commands/StartImportCommand.js +40 -0
  213. package/dist-es/commands/StartImportCommand.js.map +1 -0
  214. package/dist-es/commands/StartMigrationCommand.js +40 -0
  215. package/dist-es/commands/StartMigrationCommand.js.map +1 -0
  216. package/dist-es/commands/TagResourceCommand.js +40 -0
  217. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  218. package/dist-es/commands/UntagResourceCommand.js +40 -0
  219. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  220. package/{dist/es → dist-es}/endpoints.js +0 -0
  221. package/dist-es/endpoints.js.map +1 -0
  222. package/{dist/es → dist-es}/index.js +0 -0
  223. package/dist-es/index.js.map +1 -0
  224. package/{dist/es → dist-es}/models/index.js +0 -0
  225. package/dist-es/models/index.js.map +1 -0
  226. package/{dist/es → dist-es}/models/models_0.js +0 -0
  227. package/dist-es/models/models_0.js.map +1 -0
  228. package/dist-es/pagination/GetBotAliasesPaginator.js +75 -0
  229. package/dist-es/pagination/GetBotAliasesPaginator.js.map +1 -0
  230. package/dist-es/pagination/GetBotChannelAssociationsPaginator.js +75 -0
  231. package/dist-es/pagination/GetBotChannelAssociationsPaginator.js.map +1 -0
  232. package/dist-es/pagination/GetBotVersionsPaginator.js +75 -0
  233. package/dist-es/pagination/GetBotVersionsPaginator.js.map +1 -0
  234. package/dist-es/pagination/GetBotsPaginator.js +75 -0
  235. package/dist-es/pagination/GetBotsPaginator.js.map +1 -0
  236. package/dist-es/pagination/GetBuiltinIntentsPaginator.js +75 -0
  237. package/dist-es/pagination/GetBuiltinIntentsPaginator.js.map +1 -0
  238. package/dist-es/pagination/GetBuiltinSlotTypesPaginator.js +75 -0
  239. package/dist-es/pagination/GetBuiltinSlotTypesPaginator.js.map +1 -0
  240. package/dist-es/pagination/GetIntentVersionsPaginator.js +75 -0
  241. package/dist-es/pagination/GetIntentVersionsPaginator.js.map +1 -0
  242. package/dist-es/pagination/GetIntentsPaginator.js +75 -0
  243. package/dist-es/pagination/GetIntentsPaginator.js.map +1 -0
  244. package/dist-es/pagination/GetMigrationsPaginator.js +75 -0
  245. package/dist-es/pagination/GetMigrationsPaginator.js.map +1 -0
  246. package/dist-es/pagination/GetSlotTypeVersionsPaginator.js +75 -0
  247. package/dist-es/pagination/GetSlotTypeVersionsPaginator.js.map +1 -0
  248. package/dist-es/pagination/GetSlotTypesPaginator.js +75 -0
  249. package/dist-es/pagination/GetSlotTypesPaginator.js.map +1 -0
  250. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  251. package/dist-es/pagination/Interfaces.js.map +1 -0
  252. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -0
  253. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  254. package/dist-es/runtimeConfig.browser.js +17 -0
  255. package/dist-es/runtimeConfig.browser.js.map +1 -0
  256. package/dist-es/runtimeConfig.js +22 -0
  257. package/dist-es/runtimeConfig.js.map +1 -0
  258. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
  259. package/dist-es/runtimeConfig.native.js.map +1 -0
  260. package/dist-es/runtimeConfig.shared.js +14 -0
  261. package/dist-es/runtimeConfig.shared.js.map +1 -0
  262. package/dist-types/LexModelBuildingService.d.ts +655 -0
  263. package/dist-types/LexModelBuildingServiceClient.d.ts +177 -0
  264. package/dist-types/commands/CreateBotVersionCommand.d.ts +47 -0
  265. package/dist-types/commands/CreateIntentVersionCommand.d.ts +48 -0
  266. package/dist-types/commands/CreateSlotTypeVersionCommand.d.ts +50 -0
  267. package/dist-types/commands/DeleteBotAliasCommand.d.ts +43 -0
  268. package/dist-types/commands/DeleteBotChannelAssociationCommand.d.ts +38 -0
  269. package/dist-types/commands/DeleteBotCommand.d.ts +51 -0
  270. package/dist-types/commands/DeleteBotVersionCommand.d.ts +38 -0
  271. package/dist-types/commands/DeleteIntentCommand.d.ts +52 -0
  272. package/dist-types/commands/DeleteIntentVersionCommand.d.ts +38 -0
  273. package/dist-types/commands/DeleteSlotTypeCommand.d.ts +51 -0
  274. package/dist-types/commands/DeleteSlotTypeVersionCommand.d.ts +38 -0
  275. package/dist-types/commands/DeleteUtterancesCommand.d.ts +46 -0
  276. package/dist-types/commands/GetBotAliasCommand.d.ts +38 -0
  277. package/dist-types/commands/GetBotAliasesCommand.d.ts +37 -0
  278. package/dist-types/commands/GetBotChannelAssociationCommand.d.ts +38 -0
  279. package/dist-types/commands/GetBotChannelAssociationsCommand.d.ts +39 -0
  280. package/dist-types/commands/GetBotCommand.d.ts +38 -0
  281. package/dist-types/commands/GetBotVersionsCommand.d.ts +45 -0
  282. package/dist-types/commands/GetBotsCommand.d.ts +49 -0
  283. package/dist-types/commands/GetBuiltinIntentCommand.d.ts +37 -0
  284. package/dist-types/commands/GetBuiltinIntentsCommand.d.ts +38 -0
  285. package/dist-types/commands/GetBuiltinSlotTypesCommand.d.ts +41 -0
  286. package/dist-types/commands/GetExportCommand.d.ts +36 -0
  287. package/dist-types/commands/GetImportCommand.d.ts +36 -0
  288. package/dist-types/commands/GetIntentCommand.d.ts +38 -0
  289. package/dist-types/commands/GetIntentVersionsCommand.d.ts +45 -0
  290. package/dist-types/commands/GetIntentsCommand.d.ts +49 -0
  291. package/dist-types/commands/GetMigrationCommand.d.ts +37 -0
  292. package/dist-types/commands/GetMigrationsCommand.d.ts +35 -0
  293. package/dist-types/commands/GetSlotTypeCommand.d.ts +39 -0
  294. package/dist-types/commands/GetSlotTypeVersionsCommand.d.ts +45 -0
  295. package/dist-types/commands/GetSlotTypesCommand.d.ts +49 -0
  296. package/dist-types/commands/GetUtterancesViewCommand.d.ts +58 -0
  297. package/dist-types/commands/ListTagsForResourceCommand.d.ts +36 -0
  298. package/dist-types/commands/PutBotAliasCommand.d.ts +40 -0
  299. package/dist-types/commands/PutBotCommand.d.ts +52 -0
  300. package/dist-types/commands/PutIntentCommand.d.ts +92 -0
  301. package/dist-types/commands/PutSlotTypeCommand.d.ts +50 -0
  302. package/dist-types/commands/StartImportCommand.d.ts +35 -0
  303. package/dist-types/commands/StartMigrationCommand.d.ts +38 -0
  304. package/dist-types/commands/TagResourceCommand.d.ts +36 -0
  305. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  306. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  307. package/{dist/types → dist-types}/index.d.ts +0 -0
  308. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  309. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  310. package/dist-types/pagination/GetBotAliasesPaginator.d.ts +4 -0
  311. package/dist-types/pagination/GetBotChannelAssociationsPaginator.d.ts +4 -0
  312. package/dist-types/pagination/GetBotVersionsPaginator.d.ts +4 -0
  313. package/dist-types/pagination/GetBotsPaginator.d.ts +4 -0
  314. package/dist-types/pagination/GetBuiltinIntentsPaginator.d.ts +4 -0
  315. package/dist-types/pagination/GetBuiltinSlotTypesPaginator.d.ts +4 -0
  316. package/dist-types/pagination/GetIntentVersionsPaginator.d.ts +4 -0
  317. package/dist-types/pagination/GetIntentsPaginator.d.ts +4 -0
  318. package/dist-types/pagination/GetMigrationsPaginator.d.ts +4 -0
  319. package/dist-types/pagination/GetSlotTypeVersionsPaginator.d.ts +4 -0
  320. package/dist-types/pagination/GetSlotTypesPaginator.d.ts +4 -0
  321. package/dist-types/pagination/Interfaces.d.ts +6 -0
  322. package/dist-types/protocols/Aws_restJson1.d.ts +128 -0
  323. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  324. package/dist-types/runtimeConfig.d.ts +37 -0
  325. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  326. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  327. package/dist-types/ts3.4/LexModelBuildingService.d.ts +655 -0
  328. package/dist-types/ts3.4/LexModelBuildingServiceClient.d.ts +177 -0
  329. package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +47 -0
  330. package/dist-types/ts3.4/commands/CreateIntentVersionCommand.d.ts +48 -0
  331. package/dist-types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +50 -0
  332. package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +43 -0
  333. package/dist-types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +38 -0
  334. package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +51 -0
  335. package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +38 -0
  336. package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +52 -0
  337. package/dist-types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +38 -0
  338. package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +51 -0
  339. package/dist-types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +38 -0
  340. package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +46 -0
  341. package/dist-types/ts3.4/commands/GetBotAliasCommand.d.ts +38 -0
  342. package/dist-types/ts3.4/commands/GetBotAliasesCommand.d.ts +37 -0
  343. package/dist-types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +38 -0
  344. package/dist-types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +39 -0
  345. package/dist-types/ts3.4/commands/GetBotCommand.d.ts +38 -0
  346. package/dist-types/ts3.4/commands/GetBotVersionsCommand.d.ts +45 -0
  347. package/dist-types/ts3.4/commands/GetBotsCommand.d.ts +49 -0
  348. package/dist-types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +37 -0
  349. package/dist-types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +38 -0
  350. package/dist-types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +41 -0
  351. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +36 -0
  352. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +36 -0
  353. package/dist-types/ts3.4/commands/GetIntentCommand.d.ts +38 -0
  354. package/dist-types/ts3.4/commands/GetIntentVersionsCommand.d.ts +45 -0
  355. package/dist-types/ts3.4/commands/GetIntentsCommand.d.ts +49 -0
  356. package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +37 -0
  357. package/dist-types/ts3.4/commands/GetMigrationsCommand.d.ts +35 -0
  358. package/dist-types/ts3.4/commands/GetSlotTypeCommand.d.ts +39 -0
  359. package/dist-types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +45 -0
  360. package/dist-types/ts3.4/commands/GetSlotTypesCommand.d.ts +49 -0
  361. package/dist-types/ts3.4/commands/GetUtterancesViewCommand.d.ts +58 -0
  362. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -0
  363. package/dist-types/ts3.4/commands/PutBotAliasCommand.d.ts +40 -0
  364. package/dist-types/ts3.4/commands/PutBotCommand.d.ts +52 -0
  365. package/dist-types/ts3.4/commands/PutIntentCommand.d.ts +92 -0
  366. package/dist-types/ts3.4/commands/PutSlotTypeCommand.d.ts +50 -0
  367. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +35 -0
  368. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +38 -0
  369. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
  370. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  371. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  372. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  373. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  374. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  375. package/dist-types/ts3.4/pagination/GetBotAliasesPaginator.d.ts +4 -0
  376. package/dist-types/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +4 -0
  377. package/dist-types/ts3.4/pagination/GetBotVersionsPaginator.d.ts +4 -0
  378. package/dist-types/ts3.4/pagination/GetBotsPaginator.d.ts +4 -0
  379. package/dist-types/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +4 -0
  380. package/dist-types/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +4 -0
  381. package/dist-types/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +4 -0
  382. package/dist-types/ts3.4/pagination/GetIntentsPaginator.d.ts +4 -0
  383. package/dist-types/ts3.4/pagination/GetMigrationsPaginator.d.ts +4 -0
  384. package/dist-types/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +4 -0
  385. package/dist-types/ts3.4/pagination/GetSlotTypesPaginator.d.ts +4 -0
  386. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  387. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +128 -0
  388. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  389. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  390. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  391. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  392. package/package.json +42 -42
  393. package/src/LexModelBuildingService.ts +1757 -0
  394. package/src/LexModelBuildingServiceClient.ts +395 -0
  395. package/src/commands/CreateBotVersionCommand.ts +111 -0
  396. package/src/commands/CreateIntentVersionCommand.ts +112 -0
  397. package/src/commands/CreateSlotTypeVersionCommand.ts +114 -0
  398. package/src/commands/DeleteBotAliasCommand.ts +107 -0
  399. package/src/commands/DeleteBotChannelAssociationCommand.ts +105 -0
  400. package/src/commands/DeleteBotCommand.ts +115 -0
  401. package/src/commands/DeleteBotVersionCommand.ts +102 -0
  402. package/src/commands/DeleteIntentCommand.ts +116 -0
  403. package/src/commands/DeleteIntentVersionCommand.ts +102 -0
  404. package/src/commands/DeleteSlotTypeCommand.ts +115 -0
  405. package/src/commands/DeleteSlotTypeVersionCommand.ts +102 -0
  406. package/src/commands/DeleteUtterancesCommand.ts +110 -0
  407. package/src/commands/GetBotAliasCommand.ts +102 -0
  408. package/src/commands/GetBotAliasesCommand.ts +101 -0
  409. package/src/commands/GetBotChannelAssociationCommand.ts +102 -0
  410. package/src/commands/GetBotChannelAssociationsCommand.ts +106 -0
  411. package/src/commands/GetBotCommand.ts +99 -0
  412. package/src/commands/GetBotVersionsCommand.ts +109 -0
  413. package/src/commands/GetBotsCommand.ts +113 -0
  414. package/src/commands/GetBuiltinIntentCommand.ts +101 -0
  415. package/src/commands/GetBuiltinIntentsCommand.ts +102 -0
  416. package/src/commands/GetBuiltinSlotTypesCommand.ts +105 -0
  417. package/src/commands/GetExportCommand.ts +100 -0
  418. package/src/commands/GetImportCommand.ts +100 -0
  419. package/src/commands/GetIntentCommand.ts +102 -0
  420. package/src/commands/GetIntentVersionsCommand.ts +109 -0
  421. package/src/commands/GetIntentsCommand.ts +113 -0
  422. package/src/commands/GetMigrationCommand.ts +101 -0
  423. package/src/commands/GetMigrationsCommand.ts +99 -0
  424. package/src/commands/GetSlotTypeCommand.ts +103 -0
  425. package/src/commands/GetSlotTypeVersionsCommand.ts +109 -0
  426. package/src/commands/GetSlotTypesCommand.ts +113 -0
  427. package/src/commands/GetUtterancesViewCommand.ts +122 -0
  428. package/src/commands/ListTagsForResourceCommand.ts +100 -0
  429. package/src/commands/PutBotAliasCommand.ts +104 -0
  430. package/src/commands/PutBotCommand.ts +113 -0
  431. package/src/commands/PutIntentCommand.ts +156 -0
  432. package/src/commands/PutSlotTypeCommand.ts +114 -0
  433. package/src/commands/StartImportCommand.ts +99 -0
  434. package/src/commands/StartMigrationCommand.ts +102 -0
  435. package/src/commands/TagResourceCommand.ts +100 -0
  436. package/src/commands/UntagResourceCommand.ts +99 -0
  437. package/src/endpoints.ts +72 -0
  438. package/{index.ts → src/index.ts} +0 -0
  439. package/{models → src/models}/index.ts +0 -0
  440. package/{models → src/models}/models_0.ts +0 -0
  441. package/src/pagination/GetBotAliasesPaginator.ts +59 -0
  442. package/src/pagination/GetBotChannelAssociationsPaginator.ts +59 -0
  443. package/src/pagination/GetBotVersionsPaginator.ts +59 -0
  444. package/src/pagination/GetBotsPaginator.ts +55 -0
  445. package/src/pagination/GetBuiltinIntentsPaginator.ts +59 -0
  446. package/src/pagination/GetBuiltinSlotTypesPaginator.ts +59 -0
  447. package/src/pagination/GetIntentVersionsPaginator.ts +59 -0
  448. package/src/pagination/GetIntentsPaginator.ts +55 -0
  449. package/src/pagination/GetMigrationsPaginator.ts +59 -0
  450. package/src/pagination/GetSlotTypeVersionsPaginator.ts +59 -0
  451. package/src/pagination/GetSlotTypesPaginator.ts +59 -0
  452. package/src/pagination/Interfaces.ts +8 -0
  453. package/src/protocols/Aws_restJson1.ts +7155 -0
  454. package/src/runtimeConfig.browser.ts +41 -0
  455. package/src/runtimeConfig.native.ts +17 -0
  456. package/src/runtimeConfig.shared.ts +17 -0
  457. package/src/runtimeConfig.ts +46 -0
  458. package/tsconfig.es.json +1 -1
  459. package/tsconfig.json +4 -2
  460. package/tsconfig.types.json +3 -2
  461. package/LexModelBuildingService.ts +0 -1756
  462. package/LexModelBuildingServiceClient.ts +0 -394
  463. package/commands/CreateBotVersionCommand.ts +0 -110
  464. package/commands/CreateIntentVersionCommand.ts +0 -111
  465. package/commands/CreateSlotTypeVersionCommand.ts +0 -113
  466. package/commands/DeleteBotAliasCommand.ts +0 -106
  467. package/commands/DeleteBotChannelAssociationCommand.ts +0 -104
  468. package/commands/DeleteBotCommand.ts +0 -114
  469. package/commands/DeleteBotVersionCommand.ts +0 -101
  470. package/commands/DeleteIntentCommand.ts +0 -115
  471. package/commands/DeleteIntentVersionCommand.ts +0 -101
  472. package/commands/DeleteSlotTypeCommand.ts +0 -114
  473. package/commands/DeleteSlotTypeVersionCommand.ts +0 -101
  474. package/commands/DeleteUtterancesCommand.ts +0 -109
  475. package/commands/GetBotAliasCommand.ts +0 -101
  476. package/commands/GetBotAliasesCommand.ts +0 -100
  477. package/commands/GetBotChannelAssociationCommand.ts +0 -101
  478. package/commands/GetBotChannelAssociationsCommand.ts +0 -105
  479. package/commands/GetBotCommand.ts +0 -98
  480. package/commands/GetBotVersionsCommand.ts +0 -108
  481. package/commands/GetBotsCommand.ts +0 -112
  482. package/commands/GetBuiltinIntentCommand.ts +0 -100
  483. package/commands/GetBuiltinIntentsCommand.ts +0 -101
  484. package/commands/GetBuiltinSlotTypesCommand.ts +0 -104
  485. package/commands/GetExportCommand.ts +0 -99
  486. package/commands/GetImportCommand.ts +0 -99
  487. package/commands/GetIntentCommand.ts +0 -101
  488. package/commands/GetIntentVersionsCommand.ts +0 -108
  489. package/commands/GetIntentsCommand.ts +0 -112
  490. package/commands/GetMigrationCommand.ts +0 -100
  491. package/commands/GetMigrationsCommand.ts +0 -98
  492. package/commands/GetSlotTypeCommand.ts +0 -102
  493. package/commands/GetSlotTypeVersionsCommand.ts +0 -108
  494. package/commands/GetSlotTypesCommand.ts +0 -112
  495. package/commands/GetUtterancesViewCommand.ts +0 -121
  496. package/commands/ListTagsForResourceCommand.ts +0 -99
  497. package/commands/PutBotAliasCommand.ts +0 -103
  498. package/commands/PutBotCommand.ts +0 -112
  499. package/commands/PutIntentCommand.ts +0 -155
  500. package/commands/PutSlotTypeCommand.ts +0 -113
  501. package/commands/StartImportCommand.ts +0 -98
  502. package/commands/StartMigrationCommand.ts +0 -101
  503. package/commands/TagResourceCommand.ts +0 -99
  504. package/commands/UntagResourceCommand.ts +0 -98
  505. package/dist/cjs/LexModelBuildingService.js +0 -644
  506. package/dist/cjs/LexModelBuildingService.js.map +0 -1
  507. package/dist/cjs/LexModelBuildingServiceClient.js +0 -47
  508. package/dist/cjs/LexModelBuildingServiceClient.js.map +0 -1
  509. package/dist/cjs/commands/CreateBotVersionCommand.js +0 -73
  510. package/dist/cjs/commands/CreateBotVersionCommand.js.map +0 -1
  511. package/dist/cjs/commands/CreateIntentVersionCommand.js +0 -74
  512. package/dist/cjs/commands/CreateIntentVersionCommand.js.map +0 -1
  513. package/dist/cjs/commands/CreateSlotTypeVersionCommand.js +0 -76
  514. package/dist/cjs/commands/CreateSlotTypeVersionCommand.js.map +0 -1
  515. package/dist/cjs/commands/DeleteBotAliasCommand.js +0 -69
  516. package/dist/cjs/commands/DeleteBotAliasCommand.js.map +0 -1
  517. package/dist/cjs/commands/DeleteBotChannelAssociationCommand.js +0 -64
  518. package/dist/cjs/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
  519. package/dist/cjs/commands/DeleteBotCommand.js +0 -77
  520. package/dist/cjs/commands/DeleteBotCommand.js.map +0 -1
  521. package/dist/cjs/commands/DeleteBotVersionCommand.js +0 -64
  522. package/dist/cjs/commands/DeleteBotVersionCommand.js.map +0 -1
  523. package/dist/cjs/commands/DeleteIntentCommand.js +0 -78
  524. package/dist/cjs/commands/DeleteIntentCommand.js.map +0 -1
  525. package/dist/cjs/commands/DeleteIntentVersionCommand.js +0 -64
  526. package/dist/cjs/commands/DeleteIntentVersionCommand.js.map +0 -1
  527. package/dist/cjs/commands/DeleteSlotTypeCommand.js +0 -77
  528. package/dist/cjs/commands/DeleteSlotTypeCommand.js.map +0 -1
  529. package/dist/cjs/commands/DeleteSlotTypeVersionCommand.js +0 -64
  530. package/dist/cjs/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
  531. package/dist/cjs/commands/DeleteUtterancesCommand.js +0 -72
  532. package/dist/cjs/commands/DeleteUtterancesCommand.js.map +0 -1
  533. package/dist/cjs/commands/GetBotAliasCommand.js +0 -64
  534. package/dist/cjs/commands/GetBotAliasCommand.js.map +0 -1
  535. package/dist/cjs/commands/GetBotAliasesCommand.js +0 -63
  536. package/dist/cjs/commands/GetBotAliasesCommand.js.map +0 -1
  537. package/dist/cjs/commands/GetBotChannelAssociationCommand.js +0 -64
  538. package/dist/cjs/commands/GetBotChannelAssociationCommand.js.map +0 -1
  539. package/dist/cjs/commands/GetBotChannelAssociationsCommand.js +0 -65
  540. package/dist/cjs/commands/GetBotChannelAssociationsCommand.js.map +0 -1
  541. package/dist/cjs/commands/GetBotCommand.js +0 -64
  542. package/dist/cjs/commands/GetBotCommand.js.map +0 -1
  543. package/dist/cjs/commands/GetBotVersionsCommand.js +0 -71
  544. package/dist/cjs/commands/GetBotVersionsCommand.js.map +0 -1
  545. package/dist/cjs/commands/GetBotsCommand.js +0 -75
  546. package/dist/cjs/commands/GetBotsCommand.js.map +0 -1
  547. package/dist/cjs/commands/GetBuiltinIntentCommand.js +0 -63
  548. package/dist/cjs/commands/GetBuiltinIntentCommand.js.map +0 -1
  549. package/dist/cjs/commands/GetBuiltinIntentsCommand.js +0 -64
  550. package/dist/cjs/commands/GetBuiltinIntentsCommand.js.map +0 -1
  551. package/dist/cjs/commands/GetBuiltinSlotTypesCommand.js +0 -67
  552. package/dist/cjs/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
  553. package/dist/cjs/commands/GetExportCommand.js +0 -62
  554. package/dist/cjs/commands/GetExportCommand.js.map +0 -1
  555. package/dist/cjs/commands/GetImportCommand.js +0 -62
  556. package/dist/cjs/commands/GetImportCommand.js.map +0 -1
  557. package/dist/cjs/commands/GetIntentCommand.js +0 -64
  558. package/dist/cjs/commands/GetIntentCommand.js.map +0 -1
  559. package/dist/cjs/commands/GetIntentVersionsCommand.js +0 -71
  560. package/dist/cjs/commands/GetIntentVersionsCommand.js.map +0 -1
  561. package/dist/cjs/commands/GetIntentsCommand.js +0 -75
  562. package/dist/cjs/commands/GetIntentsCommand.js.map +0 -1
  563. package/dist/cjs/commands/GetMigrationCommand.js +0 -63
  564. package/dist/cjs/commands/GetMigrationCommand.js.map +0 -1
  565. package/dist/cjs/commands/GetMigrationsCommand.js +0 -61
  566. package/dist/cjs/commands/GetMigrationsCommand.js.map +0 -1
  567. package/dist/cjs/commands/GetSlotTypeCommand.js +0 -65
  568. package/dist/cjs/commands/GetSlotTypeCommand.js.map +0 -1
  569. package/dist/cjs/commands/GetSlotTypeVersionsCommand.js +0 -71
  570. package/dist/cjs/commands/GetSlotTypeVersionsCommand.js.map +0 -1
  571. package/dist/cjs/commands/GetSlotTypesCommand.js +0 -75
  572. package/dist/cjs/commands/GetSlotTypesCommand.js.map +0 -1
  573. package/dist/cjs/commands/GetUtterancesViewCommand.js +0 -84
  574. package/dist/cjs/commands/GetUtterancesViewCommand.js.map +0 -1
  575. package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -62
  576. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  577. package/dist/cjs/commands/PutBotAliasCommand.js +0 -66
  578. package/dist/cjs/commands/PutBotAliasCommand.js.map +0 -1
  579. package/dist/cjs/commands/PutBotCommand.js +0 -78
  580. package/dist/cjs/commands/PutBotCommand.js.map +0 -1
  581. package/dist/cjs/commands/PutIntentCommand.js +0 -118
  582. package/dist/cjs/commands/PutIntentCommand.js.map +0 -1
  583. package/dist/cjs/commands/PutSlotTypeCommand.js +0 -76
  584. package/dist/cjs/commands/PutSlotTypeCommand.js.map +0 -1
  585. package/dist/cjs/commands/StartImportCommand.js +0 -61
  586. package/dist/cjs/commands/StartImportCommand.js.map +0 -1
  587. package/dist/cjs/commands/StartMigrationCommand.js +0 -64
  588. package/dist/cjs/commands/StartMigrationCommand.js.map +0 -1
  589. package/dist/cjs/commands/TagResourceCommand.js +0 -62
  590. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  591. package/dist/cjs/commands/UntagResourceCommand.js +0 -61
  592. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  593. package/dist/cjs/endpoints.js.map +0 -1
  594. package/dist/cjs/index.js.map +0 -1
  595. package/dist/cjs/models/index.js.map +0 -1
  596. package/dist/cjs/models/models_0.js.map +0 -1
  597. package/dist/cjs/package.json +0 -91
  598. package/dist/cjs/pagination/GetBotAliasesPaginator.js +0 -46
  599. package/dist/cjs/pagination/GetBotAliasesPaginator.js.map +0 -1
  600. package/dist/cjs/pagination/GetBotChannelAssociationsPaginator.js +0 -46
  601. package/dist/cjs/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
  602. package/dist/cjs/pagination/GetBotVersionsPaginator.js +0 -46
  603. package/dist/cjs/pagination/GetBotVersionsPaginator.js.map +0 -1
  604. package/dist/cjs/pagination/GetBotsPaginator.js +0 -46
  605. package/dist/cjs/pagination/GetBotsPaginator.js.map +0 -1
  606. package/dist/cjs/pagination/GetBuiltinIntentsPaginator.js +0 -46
  607. package/dist/cjs/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
  608. package/dist/cjs/pagination/GetBuiltinSlotTypesPaginator.js +0 -46
  609. package/dist/cjs/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
  610. package/dist/cjs/pagination/GetIntentVersionsPaginator.js +0 -46
  611. package/dist/cjs/pagination/GetIntentVersionsPaginator.js.map +0 -1
  612. package/dist/cjs/pagination/GetIntentsPaginator.js +0 -46
  613. package/dist/cjs/pagination/GetIntentsPaginator.js.map +0 -1
  614. package/dist/cjs/pagination/GetMigrationsPaginator.js +0 -46
  615. package/dist/cjs/pagination/GetMigrationsPaginator.js.map +0 -1
  616. package/dist/cjs/pagination/GetSlotTypeVersionsPaginator.js +0 -46
  617. package/dist/cjs/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
  618. package/dist/cjs/pagination/GetSlotTypesPaginator.js +0 -46
  619. package/dist/cjs/pagination/GetSlotTypesPaginator.js.map +0 -1
  620. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  621. package/dist/cjs/protocols/Aws_restJson1.js +0 -6418
  622. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  623. package/dist/cjs/runtimeConfig.browser.js +0 -41
  624. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  625. package/dist/cjs/runtimeConfig.js +0 -46
  626. package/dist/cjs/runtimeConfig.js.map +0 -1
  627. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  628. package/dist/cjs/runtimeConfig.shared.js +0 -21
  629. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  630. package/dist/es/LexModelBuildingService.js +0 -641
  631. package/dist/es/LexModelBuildingService.js.map +0 -1
  632. package/dist/es/LexModelBuildingServiceClient.js +0 -38
  633. package/dist/es/LexModelBuildingServiceClient.js.map +0 -1
  634. package/dist/es/commands/CreateBotVersionCommand.js +0 -40
  635. package/dist/es/commands/CreateBotVersionCommand.js.map +0 -1
  636. package/dist/es/commands/CreateIntentVersionCommand.js +0 -40
  637. package/dist/es/commands/CreateIntentVersionCommand.js.map +0 -1
  638. package/dist/es/commands/CreateSlotTypeVersionCommand.js +0 -40
  639. package/dist/es/commands/CreateSlotTypeVersionCommand.js.map +0 -1
  640. package/dist/es/commands/DeleteBotAliasCommand.js +0 -40
  641. package/dist/es/commands/DeleteBotAliasCommand.js.map +0 -1
  642. package/dist/es/commands/DeleteBotChannelAssociationCommand.js +0 -40
  643. package/dist/es/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
  644. package/dist/es/commands/DeleteBotCommand.js +0 -40
  645. package/dist/es/commands/DeleteBotCommand.js.map +0 -1
  646. package/dist/es/commands/DeleteBotVersionCommand.js +0 -40
  647. package/dist/es/commands/DeleteBotVersionCommand.js.map +0 -1
  648. package/dist/es/commands/DeleteIntentCommand.js +0 -40
  649. package/dist/es/commands/DeleteIntentCommand.js.map +0 -1
  650. package/dist/es/commands/DeleteIntentVersionCommand.js +0 -40
  651. package/dist/es/commands/DeleteIntentVersionCommand.js.map +0 -1
  652. package/dist/es/commands/DeleteSlotTypeCommand.js +0 -40
  653. package/dist/es/commands/DeleteSlotTypeCommand.js.map +0 -1
  654. package/dist/es/commands/DeleteSlotTypeVersionCommand.js +0 -40
  655. package/dist/es/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
  656. package/dist/es/commands/DeleteUtterancesCommand.js +0 -40
  657. package/dist/es/commands/DeleteUtterancesCommand.js.map +0 -1
  658. package/dist/es/commands/GetBotAliasCommand.js +0 -40
  659. package/dist/es/commands/GetBotAliasCommand.js.map +0 -1
  660. package/dist/es/commands/GetBotAliasesCommand.js +0 -40
  661. package/dist/es/commands/GetBotAliasesCommand.js.map +0 -1
  662. package/dist/es/commands/GetBotChannelAssociationCommand.js +0 -40
  663. package/dist/es/commands/GetBotChannelAssociationCommand.js.map +0 -1
  664. package/dist/es/commands/GetBotChannelAssociationsCommand.js +0 -40
  665. package/dist/es/commands/GetBotChannelAssociationsCommand.js.map +0 -1
  666. package/dist/es/commands/GetBotCommand.js +0 -40
  667. package/dist/es/commands/GetBotCommand.js.map +0 -1
  668. package/dist/es/commands/GetBotVersionsCommand.js +0 -40
  669. package/dist/es/commands/GetBotVersionsCommand.js.map +0 -1
  670. package/dist/es/commands/GetBotsCommand.js +0 -40
  671. package/dist/es/commands/GetBotsCommand.js.map +0 -1
  672. package/dist/es/commands/GetBuiltinIntentCommand.js +0 -40
  673. package/dist/es/commands/GetBuiltinIntentCommand.js.map +0 -1
  674. package/dist/es/commands/GetBuiltinIntentsCommand.js +0 -40
  675. package/dist/es/commands/GetBuiltinIntentsCommand.js.map +0 -1
  676. package/dist/es/commands/GetBuiltinSlotTypesCommand.js +0 -40
  677. package/dist/es/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
  678. package/dist/es/commands/GetExportCommand.js +0 -40
  679. package/dist/es/commands/GetExportCommand.js.map +0 -1
  680. package/dist/es/commands/GetImportCommand.js +0 -40
  681. package/dist/es/commands/GetImportCommand.js.map +0 -1
  682. package/dist/es/commands/GetIntentCommand.js +0 -40
  683. package/dist/es/commands/GetIntentCommand.js.map +0 -1
  684. package/dist/es/commands/GetIntentVersionsCommand.js +0 -40
  685. package/dist/es/commands/GetIntentVersionsCommand.js.map +0 -1
  686. package/dist/es/commands/GetIntentsCommand.js +0 -40
  687. package/dist/es/commands/GetIntentsCommand.js.map +0 -1
  688. package/dist/es/commands/GetMigrationCommand.js +0 -40
  689. package/dist/es/commands/GetMigrationCommand.js.map +0 -1
  690. package/dist/es/commands/GetMigrationsCommand.js +0 -40
  691. package/dist/es/commands/GetMigrationsCommand.js.map +0 -1
  692. package/dist/es/commands/GetSlotTypeCommand.js +0 -40
  693. package/dist/es/commands/GetSlotTypeCommand.js.map +0 -1
  694. package/dist/es/commands/GetSlotTypeVersionsCommand.js +0 -40
  695. package/dist/es/commands/GetSlotTypeVersionsCommand.js.map +0 -1
  696. package/dist/es/commands/GetSlotTypesCommand.js +0 -40
  697. package/dist/es/commands/GetSlotTypesCommand.js.map +0 -1
  698. package/dist/es/commands/GetUtterancesViewCommand.js +0 -40
  699. package/dist/es/commands/GetUtterancesViewCommand.js.map +0 -1
  700. package/dist/es/commands/ListTagsForResourceCommand.js +0 -40
  701. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  702. package/dist/es/commands/PutBotAliasCommand.js +0 -40
  703. package/dist/es/commands/PutBotAliasCommand.js.map +0 -1
  704. package/dist/es/commands/PutBotCommand.js +0 -40
  705. package/dist/es/commands/PutBotCommand.js.map +0 -1
  706. package/dist/es/commands/PutIntentCommand.js +0 -40
  707. package/dist/es/commands/PutIntentCommand.js.map +0 -1
  708. package/dist/es/commands/PutSlotTypeCommand.js +0 -40
  709. package/dist/es/commands/PutSlotTypeCommand.js.map +0 -1
  710. package/dist/es/commands/StartImportCommand.js +0 -40
  711. package/dist/es/commands/StartImportCommand.js.map +0 -1
  712. package/dist/es/commands/StartMigrationCommand.js +0 -40
  713. package/dist/es/commands/StartMigrationCommand.js.map +0 -1
  714. package/dist/es/commands/TagResourceCommand.js +0 -40
  715. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  716. package/dist/es/commands/UntagResourceCommand.js +0 -40
  717. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  718. package/dist/es/endpoints.js.map +0 -1
  719. package/dist/es/index.js.map +0 -1
  720. package/dist/es/models/index.js.map +0 -1
  721. package/dist/es/models/models_0.js.map +0 -1
  722. package/dist/es/package.json +0 -91
  723. package/dist/es/pagination/GetBotAliasesPaginator.js +0 -75
  724. package/dist/es/pagination/GetBotAliasesPaginator.js.map +0 -1
  725. package/dist/es/pagination/GetBotChannelAssociationsPaginator.js +0 -75
  726. package/dist/es/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
  727. package/dist/es/pagination/GetBotVersionsPaginator.js +0 -75
  728. package/dist/es/pagination/GetBotVersionsPaginator.js.map +0 -1
  729. package/dist/es/pagination/GetBotsPaginator.js +0 -75
  730. package/dist/es/pagination/GetBotsPaginator.js.map +0 -1
  731. package/dist/es/pagination/GetBuiltinIntentsPaginator.js +0 -75
  732. package/dist/es/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
  733. package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js +0 -75
  734. package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
  735. package/dist/es/pagination/GetIntentVersionsPaginator.js +0 -75
  736. package/dist/es/pagination/GetIntentVersionsPaginator.js.map +0 -1
  737. package/dist/es/pagination/GetIntentsPaginator.js +0 -75
  738. package/dist/es/pagination/GetIntentsPaginator.js.map +0 -1
  739. package/dist/es/pagination/GetMigrationsPaginator.js +0 -75
  740. package/dist/es/pagination/GetMigrationsPaginator.js.map +0 -1
  741. package/dist/es/pagination/GetSlotTypeVersionsPaginator.js +0 -75
  742. package/dist/es/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
  743. package/dist/es/pagination/GetSlotTypesPaginator.js +0 -75
  744. package/dist/es/pagination/GetSlotTypesPaginator.js.map +0 -1
  745. package/dist/es/pagination/Interfaces.js.map +0 -1
  746. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  747. package/dist/es/runtimeConfig.browser.js +0 -17
  748. package/dist/es/runtimeConfig.browser.js.map +0 -1
  749. package/dist/es/runtimeConfig.js +0 -22
  750. package/dist/es/runtimeConfig.js.map +0 -1
  751. package/dist/es/runtimeConfig.native.js.map +0 -1
  752. package/dist/es/runtimeConfig.shared.js +0 -14
  753. package/dist/es/runtimeConfig.shared.js.map +0 -1
  754. package/dist/types/LexModelBuildingService.d.ts +0 -655
  755. package/dist/types/LexModelBuildingServiceClient.d.ts +0 -177
  756. package/dist/types/commands/CreateBotVersionCommand.d.ts +0 -47
  757. package/dist/types/commands/CreateIntentVersionCommand.d.ts +0 -48
  758. package/dist/types/commands/CreateSlotTypeVersionCommand.d.ts +0 -50
  759. package/dist/types/commands/DeleteBotAliasCommand.d.ts +0 -43
  760. package/dist/types/commands/DeleteBotChannelAssociationCommand.d.ts +0 -38
  761. package/dist/types/commands/DeleteBotCommand.d.ts +0 -51
  762. package/dist/types/commands/DeleteBotVersionCommand.d.ts +0 -38
  763. package/dist/types/commands/DeleteIntentCommand.d.ts +0 -52
  764. package/dist/types/commands/DeleteIntentVersionCommand.d.ts +0 -38
  765. package/dist/types/commands/DeleteSlotTypeCommand.d.ts +0 -51
  766. package/dist/types/commands/DeleteSlotTypeVersionCommand.d.ts +0 -38
  767. package/dist/types/commands/DeleteUtterancesCommand.d.ts +0 -46
  768. package/dist/types/commands/GetBotAliasCommand.d.ts +0 -38
  769. package/dist/types/commands/GetBotAliasesCommand.d.ts +0 -37
  770. package/dist/types/commands/GetBotChannelAssociationCommand.d.ts +0 -38
  771. package/dist/types/commands/GetBotChannelAssociationsCommand.d.ts +0 -39
  772. package/dist/types/commands/GetBotCommand.d.ts +0 -38
  773. package/dist/types/commands/GetBotVersionsCommand.d.ts +0 -45
  774. package/dist/types/commands/GetBotsCommand.d.ts +0 -49
  775. package/dist/types/commands/GetBuiltinIntentCommand.d.ts +0 -37
  776. package/dist/types/commands/GetBuiltinIntentsCommand.d.ts +0 -38
  777. package/dist/types/commands/GetBuiltinSlotTypesCommand.d.ts +0 -41
  778. package/dist/types/commands/GetExportCommand.d.ts +0 -36
  779. package/dist/types/commands/GetImportCommand.d.ts +0 -36
  780. package/dist/types/commands/GetIntentCommand.d.ts +0 -38
  781. package/dist/types/commands/GetIntentVersionsCommand.d.ts +0 -45
  782. package/dist/types/commands/GetIntentsCommand.d.ts +0 -49
  783. package/dist/types/commands/GetMigrationCommand.d.ts +0 -37
  784. package/dist/types/commands/GetMigrationsCommand.d.ts +0 -35
  785. package/dist/types/commands/GetSlotTypeCommand.d.ts +0 -39
  786. package/dist/types/commands/GetSlotTypeVersionsCommand.d.ts +0 -45
  787. package/dist/types/commands/GetSlotTypesCommand.d.ts +0 -49
  788. package/dist/types/commands/GetUtterancesViewCommand.d.ts +0 -58
  789. package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -36
  790. package/dist/types/commands/PutBotAliasCommand.d.ts +0 -40
  791. package/dist/types/commands/PutBotCommand.d.ts +0 -52
  792. package/dist/types/commands/PutIntentCommand.d.ts +0 -92
  793. package/dist/types/commands/PutSlotTypeCommand.d.ts +0 -50
  794. package/dist/types/commands/StartImportCommand.d.ts +0 -35
  795. package/dist/types/commands/StartMigrationCommand.d.ts +0 -38
  796. package/dist/types/commands/TagResourceCommand.d.ts +0 -36
  797. package/dist/types/commands/UntagResourceCommand.d.ts +0 -35
  798. package/dist/types/pagination/GetBotAliasesPaginator.d.ts +0 -4
  799. package/dist/types/pagination/GetBotChannelAssociationsPaginator.d.ts +0 -4
  800. package/dist/types/pagination/GetBotVersionsPaginator.d.ts +0 -4
  801. package/dist/types/pagination/GetBotsPaginator.d.ts +0 -4
  802. package/dist/types/pagination/GetBuiltinIntentsPaginator.d.ts +0 -4
  803. package/dist/types/pagination/GetBuiltinSlotTypesPaginator.d.ts +0 -4
  804. package/dist/types/pagination/GetIntentVersionsPaginator.d.ts +0 -4
  805. package/dist/types/pagination/GetIntentsPaginator.d.ts +0 -4
  806. package/dist/types/pagination/GetMigrationsPaginator.d.ts +0 -4
  807. package/dist/types/pagination/GetSlotTypeVersionsPaginator.d.ts +0 -4
  808. package/dist/types/pagination/GetSlotTypesPaginator.d.ts +0 -4
  809. package/dist/types/pagination/Interfaces.d.ts +0 -6
  810. package/dist/types/protocols/Aws_restJson1.d.ts +0 -128
  811. package/dist/types/runtimeConfig.d.ts +0 -37
  812. package/dist/types/ts3.4/LexModelBuildingService.d.ts +0 -655
  813. package/dist/types/ts3.4/LexModelBuildingServiceClient.d.ts +0 -177
  814. package/dist/types/ts3.4/commands/CreateBotVersionCommand.d.ts +0 -47
  815. package/dist/types/ts3.4/commands/CreateIntentVersionCommand.d.ts +0 -48
  816. package/dist/types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +0 -50
  817. package/dist/types/ts3.4/commands/DeleteBotAliasCommand.d.ts +0 -43
  818. package/dist/types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +0 -38
  819. package/dist/types/ts3.4/commands/DeleteBotCommand.d.ts +0 -51
  820. package/dist/types/ts3.4/commands/DeleteBotVersionCommand.d.ts +0 -38
  821. package/dist/types/ts3.4/commands/DeleteIntentCommand.d.ts +0 -52
  822. package/dist/types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +0 -38
  823. package/dist/types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +0 -51
  824. package/dist/types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +0 -38
  825. package/dist/types/ts3.4/commands/DeleteUtterancesCommand.d.ts +0 -46
  826. package/dist/types/ts3.4/commands/GetBotAliasCommand.d.ts +0 -38
  827. package/dist/types/ts3.4/commands/GetBotAliasesCommand.d.ts +0 -37
  828. package/dist/types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +0 -38
  829. package/dist/types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +0 -39
  830. package/dist/types/ts3.4/commands/GetBotCommand.d.ts +0 -38
  831. package/dist/types/ts3.4/commands/GetBotVersionsCommand.d.ts +0 -45
  832. package/dist/types/ts3.4/commands/GetBotsCommand.d.ts +0 -49
  833. package/dist/types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +0 -37
  834. package/dist/types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +0 -38
  835. package/dist/types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +0 -41
  836. package/dist/types/ts3.4/commands/GetExportCommand.d.ts +0 -36
  837. package/dist/types/ts3.4/commands/GetImportCommand.d.ts +0 -36
  838. package/dist/types/ts3.4/commands/GetIntentCommand.d.ts +0 -38
  839. package/dist/types/ts3.4/commands/GetIntentVersionsCommand.d.ts +0 -45
  840. package/dist/types/ts3.4/commands/GetIntentsCommand.d.ts +0 -49
  841. package/dist/types/ts3.4/commands/GetMigrationCommand.d.ts +0 -37
  842. package/dist/types/ts3.4/commands/GetMigrationsCommand.d.ts +0 -35
  843. package/dist/types/ts3.4/commands/GetSlotTypeCommand.d.ts +0 -39
  844. package/dist/types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +0 -45
  845. package/dist/types/ts3.4/commands/GetSlotTypesCommand.d.ts +0 -49
  846. package/dist/types/ts3.4/commands/GetUtterancesViewCommand.d.ts +0 -58
  847. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  848. package/dist/types/ts3.4/commands/PutBotAliasCommand.d.ts +0 -40
  849. package/dist/types/ts3.4/commands/PutBotCommand.d.ts +0 -52
  850. package/dist/types/ts3.4/commands/PutIntentCommand.d.ts +0 -92
  851. package/dist/types/ts3.4/commands/PutSlotTypeCommand.d.ts +0 -50
  852. package/dist/types/ts3.4/commands/StartImportCommand.d.ts +0 -35
  853. package/dist/types/ts3.4/commands/StartMigrationCommand.d.ts +0 -38
  854. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
  855. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  856. package/dist/types/ts3.4/pagination/GetBotAliasesPaginator.d.ts +0 -4
  857. package/dist/types/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +0 -4
  858. package/dist/types/ts3.4/pagination/GetBotVersionsPaginator.d.ts +0 -4
  859. package/dist/types/ts3.4/pagination/GetBotsPaginator.d.ts +0 -4
  860. package/dist/types/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +0 -4
  861. package/dist/types/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +0 -4
  862. package/dist/types/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +0 -4
  863. package/dist/types/ts3.4/pagination/GetIntentsPaginator.d.ts +0 -4
  864. package/dist/types/ts3.4/pagination/GetMigrationsPaginator.d.ts +0 -4
  865. package/dist/types/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +0 -4
  866. package/dist/types/ts3.4/pagination/GetSlotTypesPaginator.d.ts +0 -4
  867. package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
  868. package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +0 -128
  869. package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
  870. package/endpoints.ts +0 -72
  871. package/pagination/GetBotAliasesPaginator.ts +0 -58
  872. package/pagination/GetBotChannelAssociationsPaginator.ts +0 -58
  873. package/pagination/GetBotVersionsPaginator.ts +0 -58
  874. package/pagination/GetBotsPaginator.ts +0 -54
  875. package/pagination/GetBuiltinIntentsPaginator.ts +0 -58
  876. package/pagination/GetBuiltinSlotTypesPaginator.ts +0 -58
  877. package/pagination/GetIntentVersionsPaginator.ts +0 -58
  878. package/pagination/GetIntentsPaginator.ts +0 -54
  879. package/pagination/GetMigrationsPaginator.ts +0 -58
  880. package/pagination/GetSlotTypeVersionsPaginator.ts +0 -58
  881. package/pagination/GetSlotTypesPaginator.ts +0 -58
  882. package/pagination/Interfaces.ts +0 -7
  883. package/protocols/Aws_restJson1.ts +0 -7154
  884. package/runtimeConfig.browser.ts +0 -40
  885. package/runtimeConfig.native.ts +0 -16
  886. package/runtimeConfig.shared.ts +0 -16
  887. package/runtimeConfig.ts +0 -45
@@ -0,0 +1,1757 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
3
+ import {
4
+ CreateBotVersionCommand,
5
+ CreateBotVersionCommandInput,
6
+ CreateBotVersionCommandOutput,
7
+ } from "./commands/CreateBotVersionCommand";
8
+ import {
9
+ CreateIntentVersionCommand,
10
+ CreateIntentVersionCommandInput,
11
+ CreateIntentVersionCommandOutput,
12
+ } from "./commands/CreateIntentVersionCommand";
13
+ import {
14
+ CreateSlotTypeVersionCommand,
15
+ CreateSlotTypeVersionCommandInput,
16
+ CreateSlotTypeVersionCommandOutput,
17
+ } from "./commands/CreateSlotTypeVersionCommand";
18
+ import {
19
+ DeleteBotAliasCommand,
20
+ DeleteBotAliasCommandInput,
21
+ DeleteBotAliasCommandOutput,
22
+ } from "./commands/DeleteBotAliasCommand";
23
+ import {
24
+ DeleteBotChannelAssociationCommand,
25
+ DeleteBotChannelAssociationCommandInput,
26
+ DeleteBotChannelAssociationCommandOutput,
27
+ } from "./commands/DeleteBotChannelAssociationCommand";
28
+ import { DeleteBotCommand, DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/DeleteBotCommand";
29
+ import {
30
+ DeleteBotVersionCommand,
31
+ DeleteBotVersionCommandInput,
32
+ DeleteBotVersionCommandOutput,
33
+ } from "./commands/DeleteBotVersionCommand";
34
+ import {
35
+ DeleteIntentCommand,
36
+ DeleteIntentCommandInput,
37
+ DeleteIntentCommandOutput,
38
+ } from "./commands/DeleteIntentCommand";
39
+ import {
40
+ DeleteIntentVersionCommand,
41
+ DeleteIntentVersionCommandInput,
42
+ DeleteIntentVersionCommandOutput,
43
+ } from "./commands/DeleteIntentVersionCommand";
44
+ import {
45
+ DeleteSlotTypeCommand,
46
+ DeleteSlotTypeCommandInput,
47
+ DeleteSlotTypeCommandOutput,
48
+ } from "./commands/DeleteSlotTypeCommand";
49
+ import {
50
+ DeleteSlotTypeVersionCommand,
51
+ DeleteSlotTypeVersionCommandInput,
52
+ DeleteSlotTypeVersionCommandOutput,
53
+ } from "./commands/DeleteSlotTypeVersionCommand";
54
+ import {
55
+ DeleteUtterancesCommand,
56
+ DeleteUtterancesCommandInput,
57
+ DeleteUtterancesCommandOutput,
58
+ } from "./commands/DeleteUtterancesCommand";
59
+ import { GetBotAliasCommand, GetBotAliasCommandInput, GetBotAliasCommandOutput } from "./commands/GetBotAliasCommand";
60
+ import {
61
+ GetBotAliasesCommand,
62
+ GetBotAliasesCommandInput,
63
+ GetBotAliasesCommandOutput,
64
+ } from "./commands/GetBotAliasesCommand";
65
+ import {
66
+ GetBotChannelAssociationCommand,
67
+ GetBotChannelAssociationCommandInput,
68
+ GetBotChannelAssociationCommandOutput,
69
+ } from "./commands/GetBotChannelAssociationCommand";
70
+ import {
71
+ GetBotChannelAssociationsCommand,
72
+ GetBotChannelAssociationsCommandInput,
73
+ GetBotChannelAssociationsCommandOutput,
74
+ } from "./commands/GetBotChannelAssociationsCommand";
75
+ import { GetBotCommand, GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
76
+ import { GetBotsCommand, GetBotsCommandInput, GetBotsCommandOutput } from "./commands/GetBotsCommand";
77
+ import {
78
+ GetBotVersionsCommand,
79
+ GetBotVersionsCommandInput,
80
+ GetBotVersionsCommandOutput,
81
+ } from "./commands/GetBotVersionsCommand";
82
+ import {
83
+ GetBuiltinIntentCommand,
84
+ GetBuiltinIntentCommandInput,
85
+ GetBuiltinIntentCommandOutput,
86
+ } from "./commands/GetBuiltinIntentCommand";
87
+ import {
88
+ GetBuiltinIntentsCommand,
89
+ GetBuiltinIntentsCommandInput,
90
+ GetBuiltinIntentsCommandOutput,
91
+ } from "./commands/GetBuiltinIntentsCommand";
92
+ import {
93
+ GetBuiltinSlotTypesCommand,
94
+ GetBuiltinSlotTypesCommandInput,
95
+ GetBuiltinSlotTypesCommandOutput,
96
+ } from "./commands/GetBuiltinSlotTypesCommand";
97
+ import { GetExportCommand, GetExportCommandInput, GetExportCommandOutput } from "./commands/GetExportCommand";
98
+ import { GetImportCommand, GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImportCommand";
99
+ import { GetIntentCommand, GetIntentCommandInput, GetIntentCommandOutput } from "./commands/GetIntentCommand";
100
+ import { GetIntentsCommand, GetIntentsCommandInput, GetIntentsCommandOutput } from "./commands/GetIntentsCommand";
101
+ import {
102
+ GetIntentVersionsCommand,
103
+ GetIntentVersionsCommandInput,
104
+ GetIntentVersionsCommandOutput,
105
+ } from "./commands/GetIntentVersionsCommand";
106
+ import {
107
+ GetMigrationCommand,
108
+ GetMigrationCommandInput,
109
+ GetMigrationCommandOutput,
110
+ } from "./commands/GetMigrationCommand";
111
+ import {
112
+ GetMigrationsCommand,
113
+ GetMigrationsCommandInput,
114
+ GetMigrationsCommandOutput,
115
+ } from "./commands/GetMigrationsCommand";
116
+ import { GetSlotTypeCommand, GetSlotTypeCommandInput, GetSlotTypeCommandOutput } from "./commands/GetSlotTypeCommand";
117
+ import {
118
+ GetSlotTypesCommand,
119
+ GetSlotTypesCommandInput,
120
+ GetSlotTypesCommandOutput,
121
+ } from "./commands/GetSlotTypesCommand";
122
+ import {
123
+ GetSlotTypeVersionsCommand,
124
+ GetSlotTypeVersionsCommandInput,
125
+ GetSlotTypeVersionsCommandOutput,
126
+ } from "./commands/GetSlotTypeVersionsCommand";
127
+ import {
128
+ GetUtterancesViewCommand,
129
+ GetUtterancesViewCommandInput,
130
+ GetUtterancesViewCommandOutput,
131
+ } from "./commands/GetUtterancesViewCommand";
132
+ import {
133
+ ListTagsForResourceCommand,
134
+ ListTagsForResourceCommandInput,
135
+ ListTagsForResourceCommandOutput,
136
+ } from "./commands/ListTagsForResourceCommand";
137
+ import { PutBotAliasCommand, PutBotAliasCommandInput, PutBotAliasCommandOutput } from "./commands/PutBotAliasCommand";
138
+ import { PutBotCommand, PutBotCommandInput, PutBotCommandOutput } from "./commands/PutBotCommand";
139
+ import { PutIntentCommand, PutIntentCommandInput, PutIntentCommandOutput } from "./commands/PutIntentCommand";
140
+ import { PutSlotTypeCommand, PutSlotTypeCommandInput, PutSlotTypeCommandOutput } from "./commands/PutSlotTypeCommand";
141
+ import { StartImportCommand, StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
142
+ import {
143
+ StartMigrationCommand,
144
+ StartMigrationCommandInput,
145
+ StartMigrationCommandOutput,
146
+ } from "./commands/StartMigrationCommand";
147
+ import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
148
+ import {
149
+ UntagResourceCommand,
150
+ UntagResourceCommandInput,
151
+ UntagResourceCommandOutput,
152
+ } from "./commands/UntagResourceCommand";
153
+ import { LexModelBuildingServiceClient } from "./LexModelBuildingServiceClient";
154
+
155
+ /**
156
+ * <fullname>Amazon Lex Build-Time Actions</fullname>
157
+ * <p> Amazon Lex is an AWS service for building conversational voice and text
158
+ * interfaces. Use these actions to create, update, and delete conversational
159
+ * bots for new and existing client applications. </p>
160
+ */
161
+ export class LexModelBuildingService extends LexModelBuildingServiceClient {
162
+ /**
163
+ * <p>Creates a new version of the bot based on the <code>$LATEST</code>
164
+ * version. If the <code>$LATEST</code> version of this resource hasn't
165
+ * changed since you created the last version, Amazon Lex doesn't create a new
166
+ * version. It returns the last created version.</p>
167
+ * <note>
168
+ * <p>You can update only the <code>$LATEST</code> version of the bot.
169
+ * You can't update the numbered versions that you create with the
170
+ * <code>CreateBotVersion</code> operation.</p>
171
+ * </note>
172
+ * <p> When you create the first version of a bot, Amazon Lex sets the version
173
+ * to 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
174
+ * <p> This operation requires permission for the
175
+ * <code>lex:CreateBotVersion</code> action. </p>
176
+ */
177
+ public createBotVersion(
178
+ args: CreateBotVersionCommandInput,
179
+ options?: __HttpHandlerOptions
180
+ ): Promise<CreateBotVersionCommandOutput>;
181
+ public createBotVersion(
182
+ args: CreateBotVersionCommandInput,
183
+ cb: (err: any, data?: CreateBotVersionCommandOutput) => void
184
+ ): void;
185
+ public createBotVersion(
186
+ args: CreateBotVersionCommandInput,
187
+ options: __HttpHandlerOptions,
188
+ cb: (err: any, data?: CreateBotVersionCommandOutput) => void
189
+ ): void;
190
+ public createBotVersion(
191
+ args: CreateBotVersionCommandInput,
192
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBotVersionCommandOutput) => void),
193
+ cb?: (err: any, data?: CreateBotVersionCommandOutput) => void
194
+ ): Promise<CreateBotVersionCommandOutput> | void {
195
+ const command = new CreateBotVersionCommand(args);
196
+ if (typeof optionsOrCb === "function") {
197
+ this.send(command, optionsOrCb);
198
+ } else if (typeof cb === "function") {
199
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
200
+ this.send(command, optionsOrCb || {}, cb);
201
+ } else {
202
+ return this.send(command, optionsOrCb);
203
+ }
204
+ }
205
+
206
+ /**
207
+ * <p>Creates a new version of an intent based on the
208
+ * <code>$LATEST</code> version of the intent. If the <code>$LATEST</code>
209
+ * version of this intent hasn't changed since you last updated it, Amazon Lex
210
+ * doesn't create a new version. It returns the last version you
211
+ * created.</p>
212
+ * <note>
213
+ * <p>You can update only the <code>$LATEST</code> version of the
214
+ * intent. You can't update the numbered versions that you create with the
215
+ * <code>CreateIntentVersion</code> operation.</p>
216
+ * </note>
217
+ * <p> When you create a version of an intent, Amazon Lex sets the version to
218
+ * 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
219
+ * <p>This operation requires permissions to perform the
220
+ * <code>lex:CreateIntentVersion</code> action. </p>
221
+ */
222
+ public createIntentVersion(
223
+ args: CreateIntentVersionCommandInput,
224
+ options?: __HttpHandlerOptions
225
+ ): Promise<CreateIntentVersionCommandOutput>;
226
+ public createIntentVersion(
227
+ args: CreateIntentVersionCommandInput,
228
+ cb: (err: any, data?: CreateIntentVersionCommandOutput) => void
229
+ ): void;
230
+ public createIntentVersion(
231
+ args: CreateIntentVersionCommandInput,
232
+ options: __HttpHandlerOptions,
233
+ cb: (err: any, data?: CreateIntentVersionCommandOutput) => void
234
+ ): void;
235
+ public createIntentVersion(
236
+ args: CreateIntentVersionCommandInput,
237
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIntentVersionCommandOutput) => void),
238
+ cb?: (err: any, data?: CreateIntentVersionCommandOutput) => void
239
+ ): Promise<CreateIntentVersionCommandOutput> | void {
240
+ const command = new CreateIntentVersionCommand(args);
241
+ if (typeof optionsOrCb === "function") {
242
+ this.send(command, optionsOrCb);
243
+ } else if (typeof cb === "function") {
244
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
245
+ this.send(command, optionsOrCb || {}, cb);
246
+ } else {
247
+ return this.send(command, optionsOrCb);
248
+ }
249
+ }
250
+
251
+ /**
252
+ * <p>Creates a new version of a slot type based on the
253
+ * <code>$LATEST</code> version of the specified slot type. If the
254
+ * <code>$LATEST</code> version of this resource has not changed since the
255
+ * last version that you created, Amazon Lex doesn't create a new version. It
256
+ * returns the last version that you created. </p>
257
+ * <note>
258
+ * <p>You can update only the <code>$LATEST</code> version of a slot
259
+ * type. You can't update the numbered versions that you create with the
260
+ * <code>CreateSlotTypeVersion</code> operation.</p>
261
+ * </note>
262
+ *
263
+ * <p>When you create a version of a slot type, Amazon Lex sets the version to
264
+ * 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
265
+ *
266
+ * <p>This operation requires permissions for the
267
+ * <code>lex:CreateSlotTypeVersion</code> action.</p>
268
+ */
269
+ public createSlotTypeVersion(
270
+ args: CreateSlotTypeVersionCommandInput,
271
+ options?: __HttpHandlerOptions
272
+ ): Promise<CreateSlotTypeVersionCommandOutput>;
273
+ public createSlotTypeVersion(
274
+ args: CreateSlotTypeVersionCommandInput,
275
+ cb: (err: any, data?: CreateSlotTypeVersionCommandOutput) => void
276
+ ): void;
277
+ public createSlotTypeVersion(
278
+ args: CreateSlotTypeVersionCommandInput,
279
+ options: __HttpHandlerOptions,
280
+ cb: (err: any, data?: CreateSlotTypeVersionCommandOutput) => void
281
+ ): void;
282
+ public createSlotTypeVersion(
283
+ args: CreateSlotTypeVersionCommandInput,
284
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSlotTypeVersionCommandOutput) => void),
285
+ cb?: (err: any, data?: CreateSlotTypeVersionCommandOutput) => void
286
+ ): Promise<CreateSlotTypeVersionCommandOutput> | void {
287
+ const command = new CreateSlotTypeVersionCommand(args);
288
+ if (typeof optionsOrCb === "function") {
289
+ this.send(command, optionsOrCb);
290
+ } else if (typeof cb === "function") {
291
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
292
+ this.send(command, optionsOrCb || {}, cb);
293
+ } else {
294
+ return this.send(command, optionsOrCb);
295
+ }
296
+ }
297
+
298
+ /**
299
+ * <p>Deletes all versions of the bot, including the <code>$LATEST</code>
300
+ * version. To delete a specific version of the bot, use the <a>DeleteBotVersion</a> operation. The <code>DeleteBot</code>
301
+ * operation doesn't immediately remove the bot schema. Instead, it is marked
302
+ * for deletion and removed later.</p>
303
+ * <p>Amazon Lex stores utterances indefinitely for improving the ability of
304
+ * your bot to respond to user inputs. These utterances are not removed when
305
+ * the bot is deleted. To remove the utterances, use the <a>DeleteUtterances</a> operation.</p>
306
+ * <p>If a bot has an alias, you can't delete it. Instead, the
307
+ * <code>DeleteBot</code> operation returns a
308
+ * <code>ResourceInUseException</code> exception that includes a reference
309
+ * to the alias that refers to the bot. To remove the reference to the bot,
310
+ * delete the alias. If you get the same exception again, delete the
311
+ * referring alias until the <code>DeleteBot</code> operation is
312
+ * successful.</p>
313
+ *
314
+ * <p>This operation requires permissions for the
315
+ * <code>lex:DeleteBot</code> action.</p>
316
+ */
317
+ public deleteBot(args: DeleteBotCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBotCommandOutput>;
318
+ public deleteBot(args: DeleteBotCommandInput, cb: (err: any, data?: DeleteBotCommandOutput) => void): void;
319
+ public deleteBot(
320
+ args: DeleteBotCommandInput,
321
+ options: __HttpHandlerOptions,
322
+ cb: (err: any, data?: DeleteBotCommandOutput) => void
323
+ ): void;
324
+ public deleteBot(
325
+ args: DeleteBotCommandInput,
326
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBotCommandOutput) => void),
327
+ cb?: (err: any, data?: DeleteBotCommandOutput) => void
328
+ ): Promise<DeleteBotCommandOutput> | void {
329
+ const command = new DeleteBotCommand(args);
330
+ if (typeof optionsOrCb === "function") {
331
+ this.send(command, optionsOrCb);
332
+ } else if (typeof cb === "function") {
333
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
334
+ this.send(command, optionsOrCb || {}, cb);
335
+ } else {
336
+ return this.send(command, optionsOrCb);
337
+ }
338
+ }
339
+
340
+ /**
341
+ * <p>Deletes an alias for the specified bot. </p>
342
+ * <p>You can't delete an alias that is used in the association between a
343
+ * bot and a messaging channel. If an alias is used in a channel association,
344
+ * the <code>DeleteBot</code> operation returns a
345
+ * <code>ResourceInUseException</code> exception that includes a reference
346
+ * to the channel association that refers to the bot. You can remove the
347
+ * reference to the alias by deleting the channel association. If you get the
348
+ * same exception again, delete the referring association until the
349
+ * <code>DeleteBotAlias</code> operation is successful.</p>
350
+ */
351
+ public deleteBotAlias(
352
+ args: DeleteBotAliasCommandInput,
353
+ options?: __HttpHandlerOptions
354
+ ): Promise<DeleteBotAliasCommandOutput>;
355
+ public deleteBotAlias(
356
+ args: DeleteBotAliasCommandInput,
357
+ cb: (err: any, data?: DeleteBotAliasCommandOutput) => void
358
+ ): void;
359
+ public deleteBotAlias(
360
+ args: DeleteBotAliasCommandInput,
361
+ options: __HttpHandlerOptions,
362
+ cb: (err: any, data?: DeleteBotAliasCommandOutput) => void
363
+ ): void;
364
+ public deleteBotAlias(
365
+ args: DeleteBotAliasCommandInput,
366
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBotAliasCommandOutput) => void),
367
+ cb?: (err: any, data?: DeleteBotAliasCommandOutput) => void
368
+ ): Promise<DeleteBotAliasCommandOutput> | void {
369
+ const command = new DeleteBotAliasCommand(args);
370
+ if (typeof optionsOrCb === "function") {
371
+ this.send(command, optionsOrCb);
372
+ } else if (typeof cb === "function") {
373
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
374
+ this.send(command, optionsOrCb || {}, cb);
375
+ } else {
376
+ return this.send(command, optionsOrCb);
377
+ }
378
+ }
379
+
380
+ /**
381
+ * <p>Deletes the association between an Amazon Lex bot and a messaging
382
+ * platform.</p>
383
+ * <p>This operation requires permission for the
384
+ * <code>lex:DeleteBotChannelAssociation</code> action.</p>
385
+ */
386
+ public deleteBotChannelAssociation(
387
+ args: DeleteBotChannelAssociationCommandInput,
388
+ options?: __HttpHandlerOptions
389
+ ): Promise<DeleteBotChannelAssociationCommandOutput>;
390
+ public deleteBotChannelAssociation(
391
+ args: DeleteBotChannelAssociationCommandInput,
392
+ cb: (err: any, data?: DeleteBotChannelAssociationCommandOutput) => void
393
+ ): void;
394
+ public deleteBotChannelAssociation(
395
+ args: DeleteBotChannelAssociationCommandInput,
396
+ options: __HttpHandlerOptions,
397
+ cb: (err: any, data?: DeleteBotChannelAssociationCommandOutput) => void
398
+ ): void;
399
+ public deleteBotChannelAssociation(
400
+ args: DeleteBotChannelAssociationCommandInput,
401
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBotChannelAssociationCommandOutput) => void),
402
+ cb?: (err: any, data?: DeleteBotChannelAssociationCommandOutput) => void
403
+ ): Promise<DeleteBotChannelAssociationCommandOutput> | void {
404
+ const command = new DeleteBotChannelAssociationCommand(args);
405
+ if (typeof optionsOrCb === "function") {
406
+ this.send(command, optionsOrCb);
407
+ } else if (typeof cb === "function") {
408
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
409
+ this.send(command, optionsOrCb || {}, cb);
410
+ } else {
411
+ return this.send(command, optionsOrCb);
412
+ }
413
+ }
414
+
415
+ /**
416
+ * <p>Deletes a specific version of a bot. To delete all versions of a
417
+ * bot, use the <a>DeleteBot</a> operation. </p>
418
+ * <p>This operation requires permissions for the
419
+ * <code>lex:DeleteBotVersion</code> action.</p>
420
+ */
421
+ public deleteBotVersion(
422
+ args: DeleteBotVersionCommandInput,
423
+ options?: __HttpHandlerOptions
424
+ ): Promise<DeleteBotVersionCommandOutput>;
425
+ public deleteBotVersion(
426
+ args: DeleteBotVersionCommandInput,
427
+ cb: (err: any, data?: DeleteBotVersionCommandOutput) => void
428
+ ): void;
429
+ public deleteBotVersion(
430
+ args: DeleteBotVersionCommandInput,
431
+ options: __HttpHandlerOptions,
432
+ cb: (err: any, data?: DeleteBotVersionCommandOutput) => void
433
+ ): void;
434
+ public deleteBotVersion(
435
+ args: DeleteBotVersionCommandInput,
436
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBotVersionCommandOutput) => void),
437
+ cb?: (err: any, data?: DeleteBotVersionCommandOutput) => void
438
+ ): Promise<DeleteBotVersionCommandOutput> | void {
439
+ const command = new DeleteBotVersionCommand(args);
440
+ if (typeof optionsOrCb === "function") {
441
+ this.send(command, optionsOrCb);
442
+ } else if (typeof cb === "function") {
443
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
444
+ this.send(command, optionsOrCb || {}, cb);
445
+ } else {
446
+ return this.send(command, optionsOrCb);
447
+ }
448
+ }
449
+
450
+ /**
451
+ * <p>Deletes all versions of the intent, including the
452
+ * <code>$LATEST</code> version. To delete a specific version of the
453
+ * intent, use the <a>DeleteIntentVersion</a> operation.</p>
454
+ * <p> You can delete a version of an intent only if it is not
455
+ * referenced. To delete an intent that is referred to in one or more bots
456
+ * (see <a>how-it-works</a>), you must remove those references
457
+ * first. </p>
458
+ * <note>
459
+ * <p> If you get the <code>ResourceInUseException</code> exception, it
460
+ * provides an example reference that shows where the intent is referenced.
461
+ * To remove the reference to the intent, either update the bot or delete
462
+ * it. If you get the same exception when you attempt to delete the intent
463
+ * again, repeat until the intent has no references and the call to
464
+ * <code>DeleteIntent</code> is successful. </p>
465
+ * </note>
466
+ *
467
+ * <p> This operation requires permission for the
468
+ * <code>lex:DeleteIntent</code> action. </p>
469
+ */
470
+ public deleteIntent(
471
+ args: DeleteIntentCommandInput,
472
+ options?: __HttpHandlerOptions
473
+ ): Promise<DeleteIntentCommandOutput>;
474
+ public deleteIntent(args: DeleteIntentCommandInput, cb: (err: any, data?: DeleteIntentCommandOutput) => void): void;
475
+ public deleteIntent(
476
+ args: DeleteIntentCommandInput,
477
+ options: __HttpHandlerOptions,
478
+ cb: (err: any, data?: DeleteIntentCommandOutput) => void
479
+ ): void;
480
+ public deleteIntent(
481
+ args: DeleteIntentCommandInput,
482
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIntentCommandOutput) => void),
483
+ cb?: (err: any, data?: DeleteIntentCommandOutput) => void
484
+ ): Promise<DeleteIntentCommandOutput> | void {
485
+ const command = new DeleteIntentCommand(args);
486
+ if (typeof optionsOrCb === "function") {
487
+ this.send(command, optionsOrCb);
488
+ } else if (typeof cb === "function") {
489
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
490
+ this.send(command, optionsOrCb || {}, cb);
491
+ } else {
492
+ return this.send(command, optionsOrCb);
493
+ }
494
+ }
495
+
496
+ /**
497
+ * <p>Deletes a specific version of an intent. To delete all versions of
498
+ * a intent, use the <a>DeleteIntent</a> operation. </p>
499
+ * <p>This operation requires permissions for the
500
+ * <code>lex:DeleteIntentVersion</code> action.</p>
501
+ */
502
+ public deleteIntentVersion(
503
+ args: DeleteIntentVersionCommandInput,
504
+ options?: __HttpHandlerOptions
505
+ ): Promise<DeleteIntentVersionCommandOutput>;
506
+ public deleteIntentVersion(
507
+ args: DeleteIntentVersionCommandInput,
508
+ cb: (err: any, data?: DeleteIntentVersionCommandOutput) => void
509
+ ): void;
510
+ public deleteIntentVersion(
511
+ args: DeleteIntentVersionCommandInput,
512
+ options: __HttpHandlerOptions,
513
+ cb: (err: any, data?: DeleteIntentVersionCommandOutput) => void
514
+ ): void;
515
+ public deleteIntentVersion(
516
+ args: DeleteIntentVersionCommandInput,
517
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIntentVersionCommandOutput) => void),
518
+ cb?: (err: any, data?: DeleteIntentVersionCommandOutput) => void
519
+ ): Promise<DeleteIntentVersionCommandOutput> | void {
520
+ const command = new DeleteIntentVersionCommand(args);
521
+ if (typeof optionsOrCb === "function") {
522
+ this.send(command, optionsOrCb);
523
+ } else if (typeof cb === "function") {
524
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
525
+ this.send(command, optionsOrCb || {}, cb);
526
+ } else {
527
+ return this.send(command, optionsOrCb);
528
+ }
529
+ }
530
+
531
+ /**
532
+ * <p>Deletes all versions of the slot type, including the
533
+ * <code>$LATEST</code> version. To delete a specific version of the slot
534
+ * type, use the <a>DeleteSlotTypeVersion</a> operation.</p>
535
+ * <p> You can delete a version of a slot type only if it is not
536
+ * referenced. To delete a slot type that is referred to in one or more
537
+ * intents, you must remove those references first. </p>
538
+ * <note>
539
+ * <p> If you get the <code>ResourceInUseException</code> exception,
540
+ * the exception provides an example reference that shows the intent where
541
+ * the slot type is referenced. To remove the reference to the slot type,
542
+ * either update the intent or delete it. If you get the same exception
543
+ * when you attempt to delete the slot type again, repeat until the slot
544
+ * type has no references and the <code>DeleteSlotType</code> call is
545
+ * successful. </p>
546
+ * </note>
547
+ * <p>This operation requires permission for the
548
+ * <code>lex:DeleteSlotType</code> action.</p>
549
+ */
550
+ public deleteSlotType(
551
+ args: DeleteSlotTypeCommandInput,
552
+ options?: __HttpHandlerOptions
553
+ ): Promise<DeleteSlotTypeCommandOutput>;
554
+ public deleteSlotType(
555
+ args: DeleteSlotTypeCommandInput,
556
+ cb: (err: any, data?: DeleteSlotTypeCommandOutput) => void
557
+ ): void;
558
+ public deleteSlotType(
559
+ args: DeleteSlotTypeCommandInput,
560
+ options: __HttpHandlerOptions,
561
+ cb: (err: any, data?: DeleteSlotTypeCommandOutput) => void
562
+ ): void;
563
+ public deleteSlotType(
564
+ args: DeleteSlotTypeCommandInput,
565
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSlotTypeCommandOutput) => void),
566
+ cb?: (err: any, data?: DeleteSlotTypeCommandOutput) => void
567
+ ): Promise<DeleteSlotTypeCommandOutput> | void {
568
+ const command = new DeleteSlotTypeCommand(args);
569
+ if (typeof optionsOrCb === "function") {
570
+ this.send(command, optionsOrCb);
571
+ } else if (typeof cb === "function") {
572
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
573
+ this.send(command, optionsOrCb || {}, cb);
574
+ } else {
575
+ return this.send(command, optionsOrCb);
576
+ }
577
+ }
578
+
579
+ /**
580
+ * <p>Deletes a specific version of a slot type. To delete all versions
581
+ * of a slot type, use the <a>DeleteSlotType</a> operation. </p>
582
+ * <p>This operation requires permissions for the
583
+ * <code>lex:DeleteSlotTypeVersion</code> action.</p>
584
+ */
585
+ public deleteSlotTypeVersion(
586
+ args: DeleteSlotTypeVersionCommandInput,
587
+ options?: __HttpHandlerOptions
588
+ ): Promise<DeleteSlotTypeVersionCommandOutput>;
589
+ public deleteSlotTypeVersion(
590
+ args: DeleteSlotTypeVersionCommandInput,
591
+ cb: (err: any, data?: DeleteSlotTypeVersionCommandOutput) => void
592
+ ): void;
593
+ public deleteSlotTypeVersion(
594
+ args: DeleteSlotTypeVersionCommandInput,
595
+ options: __HttpHandlerOptions,
596
+ cb: (err: any, data?: DeleteSlotTypeVersionCommandOutput) => void
597
+ ): void;
598
+ public deleteSlotTypeVersion(
599
+ args: DeleteSlotTypeVersionCommandInput,
600
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSlotTypeVersionCommandOutput) => void),
601
+ cb?: (err: any, data?: DeleteSlotTypeVersionCommandOutput) => void
602
+ ): Promise<DeleteSlotTypeVersionCommandOutput> | void {
603
+ const command = new DeleteSlotTypeVersionCommand(args);
604
+ if (typeof optionsOrCb === "function") {
605
+ this.send(command, optionsOrCb);
606
+ } else if (typeof cb === "function") {
607
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
608
+ this.send(command, optionsOrCb || {}, cb);
609
+ } else {
610
+ return this.send(command, optionsOrCb);
611
+ }
612
+ }
613
+
614
+ /**
615
+ * <p>Deletes stored utterances.</p>
616
+ * <p>Amazon Lex stores the utterances that users send to your bot. Utterances
617
+ * are stored for 15 days for use with the <a>GetUtterancesView</a> operation, and then stored indefinitely for use in improving the
618
+ * ability of your bot to respond to user input.</p>
619
+ * <p>Use the <code>DeleteUtterances</code> operation to manually delete
620
+ * stored utterances for a specific user. When you use the
621
+ * <code>DeleteUtterances</code> operation, utterances stored for improving
622
+ * your bot's ability to respond to user input are deleted immediately.
623
+ * Utterances stored for use with the <code>GetUtterancesView</code>
624
+ * operation are deleted after 15 days.</p>
625
+ * <p>This operation requires permissions for the
626
+ * <code>lex:DeleteUtterances</code> action.</p>
627
+ */
628
+ public deleteUtterances(
629
+ args: DeleteUtterancesCommandInput,
630
+ options?: __HttpHandlerOptions
631
+ ): Promise<DeleteUtterancesCommandOutput>;
632
+ public deleteUtterances(
633
+ args: DeleteUtterancesCommandInput,
634
+ cb: (err: any, data?: DeleteUtterancesCommandOutput) => void
635
+ ): void;
636
+ public deleteUtterances(
637
+ args: DeleteUtterancesCommandInput,
638
+ options: __HttpHandlerOptions,
639
+ cb: (err: any, data?: DeleteUtterancesCommandOutput) => void
640
+ ): void;
641
+ public deleteUtterances(
642
+ args: DeleteUtterancesCommandInput,
643
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUtterancesCommandOutput) => void),
644
+ cb?: (err: any, data?: DeleteUtterancesCommandOutput) => void
645
+ ): Promise<DeleteUtterancesCommandOutput> | void {
646
+ const command = new DeleteUtterancesCommand(args);
647
+ if (typeof optionsOrCb === "function") {
648
+ this.send(command, optionsOrCb);
649
+ } else if (typeof cb === "function") {
650
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
651
+ this.send(command, optionsOrCb || {}, cb);
652
+ } else {
653
+ return this.send(command, optionsOrCb);
654
+ }
655
+ }
656
+
657
+ /**
658
+ * <p>Returns metadata information for a specific bot. You must provide
659
+ * the bot name and the bot version or alias. </p>
660
+ * <p> This operation requires permissions for the
661
+ * <code>lex:GetBot</code> action. </p>
662
+ */
663
+ public getBot(args: GetBotCommandInput, options?: __HttpHandlerOptions): Promise<GetBotCommandOutput>;
664
+ public getBot(args: GetBotCommandInput, cb: (err: any, data?: GetBotCommandOutput) => void): void;
665
+ public getBot(
666
+ args: GetBotCommandInput,
667
+ options: __HttpHandlerOptions,
668
+ cb: (err: any, data?: GetBotCommandOutput) => void
669
+ ): void;
670
+ public getBot(
671
+ args: GetBotCommandInput,
672
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBotCommandOutput) => void),
673
+ cb?: (err: any, data?: GetBotCommandOutput) => void
674
+ ): Promise<GetBotCommandOutput> | void {
675
+ const command = new GetBotCommand(args);
676
+ if (typeof optionsOrCb === "function") {
677
+ this.send(command, optionsOrCb);
678
+ } else if (typeof cb === "function") {
679
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
680
+ this.send(command, optionsOrCb || {}, cb);
681
+ } else {
682
+ return this.send(command, optionsOrCb);
683
+ }
684
+ }
685
+
686
+ /**
687
+ * <p>Returns information about an Amazon Lex bot alias. For more information
688
+ * about aliases, see <a>versioning-aliases</a>.</p>
689
+ * <p>This operation requires permissions for the
690
+ * <code>lex:GetBotAlias</code> action.</p>
691
+ */
692
+ public getBotAlias(args: GetBotAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetBotAliasCommandOutput>;
693
+ public getBotAlias(args: GetBotAliasCommandInput, cb: (err: any, data?: GetBotAliasCommandOutput) => void): void;
694
+ public getBotAlias(
695
+ args: GetBotAliasCommandInput,
696
+ options: __HttpHandlerOptions,
697
+ cb: (err: any, data?: GetBotAliasCommandOutput) => void
698
+ ): void;
699
+ public getBotAlias(
700
+ args: GetBotAliasCommandInput,
701
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBotAliasCommandOutput) => void),
702
+ cb?: (err: any, data?: GetBotAliasCommandOutput) => void
703
+ ): Promise<GetBotAliasCommandOutput> | void {
704
+ const command = new GetBotAliasCommand(args);
705
+ if (typeof optionsOrCb === "function") {
706
+ this.send(command, optionsOrCb);
707
+ } else if (typeof cb === "function") {
708
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
709
+ this.send(command, optionsOrCb || {}, cb);
710
+ } else {
711
+ return this.send(command, optionsOrCb);
712
+ }
713
+ }
714
+
715
+ /**
716
+ * <p>Returns a list of aliases for a specified Amazon Lex bot.</p>
717
+ * <p>This operation requires permissions for the
718
+ * <code>lex:GetBotAliases</code> action.</p>
719
+ */
720
+ public getBotAliases(
721
+ args: GetBotAliasesCommandInput,
722
+ options?: __HttpHandlerOptions
723
+ ): Promise<GetBotAliasesCommandOutput>;
724
+ public getBotAliases(
725
+ args: GetBotAliasesCommandInput,
726
+ cb: (err: any, data?: GetBotAliasesCommandOutput) => void
727
+ ): void;
728
+ public getBotAliases(
729
+ args: GetBotAliasesCommandInput,
730
+ options: __HttpHandlerOptions,
731
+ cb: (err: any, data?: GetBotAliasesCommandOutput) => void
732
+ ): void;
733
+ public getBotAliases(
734
+ args: GetBotAliasesCommandInput,
735
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBotAliasesCommandOutput) => void),
736
+ cb?: (err: any, data?: GetBotAliasesCommandOutput) => void
737
+ ): Promise<GetBotAliasesCommandOutput> | void {
738
+ const command = new GetBotAliasesCommand(args);
739
+ if (typeof optionsOrCb === "function") {
740
+ this.send(command, optionsOrCb);
741
+ } else if (typeof cb === "function") {
742
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
743
+ this.send(command, optionsOrCb || {}, cb);
744
+ } else {
745
+ return this.send(command, optionsOrCb);
746
+ }
747
+ }
748
+
749
+ /**
750
+ * <p>Returns information about the association between an Amazon Lex bot and
751
+ * a messaging platform.</p>
752
+ * <p>This operation requires permissions for the
753
+ * <code>lex:GetBotChannelAssociation</code> action.</p>
754
+ */
755
+ public getBotChannelAssociation(
756
+ args: GetBotChannelAssociationCommandInput,
757
+ options?: __HttpHandlerOptions
758
+ ): Promise<GetBotChannelAssociationCommandOutput>;
759
+ public getBotChannelAssociation(
760
+ args: GetBotChannelAssociationCommandInput,
761
+ cb: (err: any, data?: GetBotChannelAssociationCommandOutput) => void
762
+ ): void;
763
+ public getBotChannelAssociation(
764
+ args: GetBotChannelAssociationCommandInput,
765
+ options: __HttpHandlerOptions,
766
+ cb: (err: any, data?: GetBotChannelAssociationCommandOutput) => void
767
+ ): void;
768
+ public getBotChannelAssociation(
769
+ args: GetBotChannelAssociationCommandInput,
770
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBotChannelAssociationCommandOutput) => void),
771
+ cb?: (err: any, data?: GetBotChannelAssociationCommandOutput) => void
772
+ ): Promise<GetBotChannelAssociationCommandOutput> | void {
773
+ const command = new GetBotChannelAssociationCommand(args);
774
+ if (typeof optionsOrCb === "function") {
775
+ this.send(command, optionsOrCb);
776
+ } else if (typeof cb === "function") {
777
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
778
+ this.send(command, optionsOrCb || {}, cb);
779
+ } else {
780
+ return this.send(command, optionsOrCb);
781
+ }
782
+ }
783
+
784
+ /**
785
+ * <p> Returns a list of all of the channels associated with the
786
+ * specified bot. </p>
787
+ * <p>The <code>GetBotChannelAssociations</code> operation requires
788
+ * permissions for the <code>lex:GetBotChannelAssociations</code>
789
+ * action.</p>
790
+ */
791
+ public getBotChannelAssociations(
792
+ args: GetBotChannelAssociationsCommandInput,
793
+ options?: __HttpHandlerOptions
794
+ ): Promise<GetBotChannelAssociationsCommandOutput>;
795
+ public getBotChannelAssociations(
796
+ args: GetBotChannelAssociationsCommandInput,
797
+ cb: (err: any, data?: GetBotChannelAssociationsCommandOutput) => void
798
+ ): void;
799
+ public getBotChannelAssociations(
800
+ args: GetBotChannelAssociationsCommandInput,
801
+ options: __HttpHandlerOptions,
802
+ cb: (err: any, data?: GetBotChannelAssociationsCommandOutput) => void
803
+ ): void;
804
+ public getBotChannelAssociations(
805
+ args: GetBotChannelAssociationsCommandInput,
806
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBotChannelAssociationsCommandOutput) => void),
807
+ cb?: (err: any, data?: GetBotChannelAssociationsCommandOutput) => void
808
+ ): Promise<GetBotChannelAssociationsCommandOutput> | void {
809
+ const command = new GetBotChannelAssociationsCommand(args);
810
+ if (typeof optionsOrCb === "function") {
811
+ this.send(command, optionsOrCb);
812
+ } else if (typeof cb === "function") {
813
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
814
+ this.send(command, optionsOrCb || {}, cb);
815
+ } else {
816
+ return this.send(command, optionsOrCb);
817
+ }
818
+ }
819
+
820
+ /**
821
+ * <p>Returns bot information as follows: </p>
822
+ * <ul>
823
+ * <li>
824
+ * <p>If you provide the <code>nameContains</code> field, the
825
+ * response includes information for the <code>$LATEST</code> version of
826
+ * all bots whose name contains the specified string.</p>
827
+ * </li>
828
+ * <li>
829
+ * <p>If you don't specify the <code>nameContains</code> field, the
830
+ * operation returns information about the <code>$LATEST</code> version
831
+ * of all of your bots.</p>
832
+ * </li>
833
+ * </ul>
834
+ * <p>This operation requires permission for the <code>lex:GetBots</code>
835
+ * action.</p>
836
+ */
837
+ public getBots(args: GetBotsCommandInput, options?: __HttpHandlerOptions): Promise<GetBotsCommandOutput>;
838
+ public getBots(args: GetBotsCommandInput, cb: (err: any, data?: GetBotsCommandOutput) => void): void;
839
+ public getBots(
840
+ args: GetBotsCommandInput,
841
+ options: __HttpHandlerOptions,
842
+ cb: (err: any, data?: GetBotsCommandOutput) => void
843
+ ): void;
844
+ public getBots(
845
+ args: GetBotsCommandInput,
846
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBotsCommandOutput) => void),
847
+ cb?: (err: any, data?: GetBotsCommandOutput) => void
848
+ ): Promise<GetBotsCommandOutput> | void {
849
+ const command = new GetBotsCommand(args);
850
+ if (typeof optionsOrCb === "function") {
851
+ this.send(command, optionsOrCb);
852
+ } else if (typeof cb === "function") {
853
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
854
+ this.send(command, optionsOrCb || {}, cb);
855
+ } else {
856
+ return this.send(command, optionsOrCb);
857
+ }
858
+ }
859
+
860
+ /**
861
+ * <p>Gets information about all of the versions of a bot.</p>
862
+ * <p>The <code>GetBotVersions</code> operation returns a
863
+ * <code>BotMetadata</code> object for each version of a bot. For example,
864
+ * if a bot has three numbered versions, the <code>GetBotVersions</code>
865
+ * operation returns four <code>BotMetadata</code> objects in the response,
866
+ * one for each numbered version and one for the <code>$LATEST</code>
867
+ * version. </p>
868
+ * <p>The <code>GetBotVersions</code> operation always returns at least
869
+ * one version, the <code>$LATEST</code> version.</p>
870
+ * <p>This operation requires permissions for the
871
+ * <code>lex:GetBotVersions</code> action.</p>
872
+ */
873
+ public getBotVersions(
874
+ args: GetBotVersionsCommandInput,
875
+ options?: __HttpHandlerOptions
876
+ ): Promise<GetBotVersionsCommandOutput>;
877
+ public getBotVersions(
878
+ args: GetBotVersionsCommandInput,
879
+ cb: (err: any, data?: GetBotVersionsCommandOutput) => void
880
+ ): void;
881
+ public getBotVersions(
882
+ args: GetBotVersionsCommandInput,
883
+ options: __HttpHandlerOptions,
884
+ cb: (err: any, data?: GetBotVersionsCommandOutput) => void
885
+ ): void;
886
+ public getBotVersions(
887
+ args: GetBotVersionsCommandInput,
888
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBotVersionsCommandOutput) => void),
889
+ cb?: (err: any, data?: GetBotVersionsCommandOutput) => void
890
+ ): Promise<GetBotVersionsCommandOutput> | void {
891
+ const command = new GetBotVersionsCommand(args);
892
+ if (typeof optionsOrCb === "function") {
893
+ this.send(command, optionsOrCb);
894
+ } else if (typeof cb === "function") {
895
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
896
+ this.send(command, optionsOrCb || {}, cb);
897
+ } else {
898
+ return this.send(command, optionsOrCb);
899
+ }
900
+ }
901
+
902
+ /**
903
+ * <p>Returns information about a built-in intent.</p>
904
+ * <p>This operation requires permission for the
905
+ * <code>lex:GetBuiltinIntent</code> action.</p>
906
+ */
907
+ public getBuiltinIntent(
908
+ args: GetBuiltinIntentCommandInput,
909
+ options?: __HttpHandlerOptions
910
+ ): Promise<GetBuiltinIntentCommandOutput>;
911
+ public getBuiltinIntent(
912
+ args: GetBuiltinIntentCommandInput,
913
+ cb: (err: any, data?: GetBuiltinIntentCommandOutput) => void
914
+ ): void;
915
+ public getBuiltinIntent(
916
+ args: GetBuiltinIntentCommandInput,
917
+ options: __HttpHandlerOptions,
918
+ cb: (err: any, data?: GetBuiltinIntentCommandOutput) => void
919
+ ): void;
920
+ public getBuiltinIntent(
921
+ args: GetBuiltinIntentCommandInput,
922
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBuiltinIntentCommandOutput) => void),
923
+ cb?: (err: any, data?: GetBuiltinIntentCommandOutput) => void
924
+ ): Promise<GetBuiltinIntentCommandOutput> | void {
925
+ const command = new GetBuiltinIntentCommand(args);
926
+ if (typeof optionsOrCb === "function") {
927
+ this.send(command, optionsOrCb);
928
+ } else if (typeof cb === "function") {
929
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
930
+ this.send(command, optionsOrCb || {}, cb);
931
+ } else {
932
+ return this.send(command, optionsOrCb);
933
+ }
934
+ }
935
+
936
+ /**
937
+ * <p>Gets a list of built-in intents that meet the specified
938
+ * criteria.</p>
939
+ * <p>This operation requires permission for the
940
+ * <code>lex:GetBuiltinIntents</code> action.</p>
941
+ */
942
+ public getBuiltinIntents(
943
+ args: GetBuiltinIntentsCommandInput,
944
+ options?: __HttpHandlerOptions
945
+ ): Promise<GetBuiltinIntentsCommandOutput>;
946
+ public getBuiltinIntents(
947
+ args: GetBuiltinIntentsCommandInput,
948
+ cb: (err: any, data?: GetBuiltinIntentsCommandOutput) => void
949
+ ): void;
950
+ public getBuiltinIntents(
951
+ args: GetBuiltinIntentsCommandInput,
952
+ options: __HttpHandlerOptions,
953
+ cb: (err: any, data?: GetBuiltinIntentsCommandOutput) => void
954
+ ): void;
955
+ public getBuiltinIntents(
956
+ args: GetBuiltinIntentsCommandInput,
957
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBuiltinIntentsCommandOutput) => void),
958
+ cb?: (err: any, data?: GetBuiltinIntentsCommandOutput) => void
959
+ ): Promise<GetBuiltinIntentsCommandOutput> | void {
960
+ const command = new GetBuiltinIntentsCommand(args);
961
+ if (typeof optionsOrCb === "function") {
962
+ this.send(command, optionsOrCb);
963
+ } else if (typeof cb === "function") {
964
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
965
+ this.send(command, optionsOrCb || {}, cb);
966
+ } else {
967
+ return this.send(command, optionsOrCb);
968
+ }
969
+ }
970
+
971
+ /**
972
+ * <p>Gets a list of built-in slot types that meet the specified
973
+ * criteria.</p>
974
+ * <p>For a list of built-in slot types, see <a href="https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference">Slot Type Reference</a> in the <i>Alexa Skills
975
+ * Kit</i>.</p>
976
+ *
977
+ * <p>This operation requires permission for the
978
+ * <code>lex:GetBuiltInSlotTypes</code> action.</p>
979
+ */
980
+ public getBuiltinSlotTypes(
981
+ args: GetBuiltinSlotTypesCommandInput,
982
+ options?: __HttpHandlerOptions
983
+ ): Promise<GetBuiltinSlotTypesCommandOutput>;
984
+ public getBuiltinSlotTypes(
985
+ args: GetBuiltinSlotTypesCommandInput,
986
+ cb: (err: any, data?: GetBuiltinSlotTypesCommandOutput) => void
987
+ ): void;
988
+ public getBuiltinSlotTypes(
989
+ args: GetBuiltinSlotTypesCommandInput,
990
+ options: __HttpHandlerOptions,
991
+ cb: (err: any, data?: GetBuiltinSlotTypesCommandOutput) => void
992
+ ): void;
993
+ public getBuiltinSlotTypes(
994
+ args: GetBuiltinSlotTypesCommandInput,
995
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBuiltinSlotTypesCommandOutput) => void),
996
+ cb?: (err: any, data?: GetBuiltinSlotTypesCommandOutput) => void
997
+ ): Promise<GetBuiltinSlotTypesCommandOutput> | void {
998
+ const command = new GetBuiltinSlotTypesCommand(args);
999
+ if (typeof optionsOrCb === "function") {
1000
+ this.send(command, optionsOrCb);
1001
+ } else if (typeof cb === "function") {
1002
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1003
+ this.send(command, optionsOrCb || {}, cb);
1004
+ } else {
1005
+ return this.send(command, optionsOrCb);
1006
+ }
1007
+ }
1008
+
1009
+ /**
1010
+ * <p>Exports the contents of a Amazon Lex resource in a specified format.
1011
+ * </p>
1012
+ */
1013
+ public getExport(args: GetExportCommandInput, options?: __HttpHandlerOptions): Promise<GetExportCommandOutput>;
1014
+ public getExport(args: GetExportCommandInput, cb: (err: any, data?: GetExportCommandOutput) => void): void;
1015
+ public getExport(
1016
+ args: GetExportCommandInput,
1017
+ options: __HttpHandlerOptions,
1018
+ cb: (err: any, data?: GetExportCommandOutput) => void
1019
+ ): void;
1020
+ public getExport(
1021
+ args: GetExportCommandInput,
1022
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetExportCommandOutput) => void),
1023
+ cb?: (err: any, data?: GetExportCommandOutput) => void
1024
+ ): Promise<GetExportCommandOutput> | void {
1025
+ const command = new GetExportCommand(args);
1026
+ if (typeof optionsOrCb === "function") {
1027
+ this.send(command, optionsOrCb);
1028
+ } else if (typeof cb === "function") {
1029
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1030
+ this.send(command, optionsOrCb || {}, cb);
1031
+ } else {
1032
+ return this.send(command, optionsOrCb);
1033
+ }
1034
+ }
1035
+
1036
+ /**
1037
+ * <p>Gets information about an import job started with the
1038
+ * <code>StartImport</code> operation.</p>
1039
+ */
1040
+ public getImport(args: GetImportCommandInput, options?: __HttpHandlerOptions): Promise<GetImportCommandOutput>;
1041
+ public getImport(args: GetImportCommandInput, cb: (err: any, data?: GetImportCommandOutput) => void): void;
1042
+ public getImport(
1043
+ args: GetImportCommandInput,
1044
+ options: __HttpHandlerOptions,
1045
+ cb: (err: any, data?: GetImportCommandOutput) => void
1046
+ ): void;
1047
+ public getImport(
1048
+ args: GetImportCommandInput,
1049
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetImportCommandOutput) => void),
1050
+ cb?: (err: any, data?: GetImportCommandOutput) => void
1051
+ ): Promise<GetImportCommandOutput> | void {
1052
+ const command = new GetImportCommand(args);
1053
+ if (typeof optionsOrCb === "function") {
1054
+ this.send(command, optionsOrCb);
1055
+ } else if (typeof cb === "function") {
1056
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1057
+ this.send(command, optionsOrCb || {}, cb);
1058
+ } else {
1059
+ return this.send(command, optionsOrCb);
1060
+ }
1061
+ }
1062
+
1063
+ /**
1064
+ * <p> Returns information about an intent. In addition to the intent
1065
+ * name, you must specify the intent version. </p>
1066
+ * <p> This operation requires permissions to perform the
1067
+ * <code>lex:GetIntent</code> action. </p>
1068
+ */
1069
+ public getIntent(args: GetIntentCommandInput, options?: __HttpHandlerOptions): Promise<GetIntentCommandOutput>;
1070
+ public getIntent(args: GetIntentCommandInput, cb: (err: any, data?: GetIntentCommandOutput) => void): void;
1071
+ public getIntent(
1072
+ args: GetIntentCommandInput,
1073
+ options: __HttpHandlerOptions,
1074
+ cb: (err: any, data?: GetIntentCommandOutput) => void
1075
+ ): void;
1076
+ public getIntent(
1077
+ args: GetIntentCommandInput,
1078
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIntentCommandOutput) => void),
1079
+ cb?: (err: any, data?: GetIntentCommandOutput) => void
1080
+ ): Promise<GetIntentCommandOutput> | void {
1081
+ const command = new GetIntentCommand(args);
1082
+ if (typeof optionsOrCb === "function") {
1083
+ this.send(command, optionsOrCb);
1084
+ } else if (typeof cb === "function") {
1085
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1086
+ this.send(command, optionsOrCb || {}, cb);
1087
+ } else {
1088
+ return this.send(command, optionsOrCb);
1089
+ }
1090
+ }
1091
+
1092
+ /**
1093
+ * <p>Returns intent information as follows: </p>
1094
+ * <ul>
1095
+ * <li>
1096
+ * <p>If you specify the <code>nameContains</code> field, returns the
1097
+ * <code>$LATEST</code> version of all intents that contain the
1098
+ * specified string.</p>
1099
+ * </li>
1100
+ * <li>
1101
+ * <p> If you don't specify the <code>nameContains</code> field,
1102
+ * returns information about the <code>$LATEST</code> version of all
1103
+ * intents. </p>
1104
+ * </li>
1105
+ * </ul>
1106
+ * <p> The operation requires permission for the
1107
+ * <code>lex:GetIntents</code> action. </p>
1108
+ */
1109
+ public getIntents(args: GetIntentsCommandInput, options?: __HttpHandlerOptions): Promise<GetIntentsCommandOutput>;
1110
+ public getIntents(args: GetIntentsCommandInput, cb: (err: any, data?: GetIntentsCommandOutput) => void): void;
1111
+ public getIntents(
1112
+ args: GetIntentsCommandInput,
1113
+ options: __HttpHandlerOptions,
1114
+ cb: (err: any, data?: GetIntentsCommandOutput) => void
1115
+ ): void;
1116
+ public getIntents(
1117
+ args: GetIntentsCommandInput,
1118
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIntentsCommandOutput) => void),
1119
+ cb?: (err: any, data?: GetIntentsCommandOutput) => void
1120
+ ): Promise<GetIntentsCommandOutput> | void {
1121
+ const command = new GetIntentsCommand(args);
1122
+ if (typeof optionsOrCb === "function") {
1123
+ this.send(command, optionsOrCb);
1124
+ } else if (typeof cb === "function") {
1125
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1126
+ this.send(command, optionsOrCb || {}, cb);
1127
+ } else {
1128
+ return this.send(command, optionsOrCb);
1129
+ }
1130
+ }
1131
+
1132
+ /**
1133
+ * <p>Gets information about all of the versions of an intent.</p>
1134
+ * <p>The <code>GetIntentVersions</code> operation returns an
1135
+ * <code>IntentMetadata</code> object for each version of an intent. For
1136
+ * example, if an intent has three numbered versions, the
1137
+ * <code>GetIntentVersions</code> operation returns four
1138
+ * <code>IntentMetadata</code> objects in the response, one for each
1139
+ * numbered version and one for the <code>$LATEST</code> version. </p>
1140
+ * <p>The <code>GetIntentVersions</code> operation always returns at
1141
+ * least one version, the <code>$LATEST</code> version.</p>
1142
+ * <p>This operation requires permissions for the
1143
+ * <code>lex:GetIntentVersions</code> action.</p>
1144
+ */
1145
+ public getIntentVersions(
1146
+ args: GetIntentVersionsCommandInput,
1147
+ options?: __HttpHandlerOptions
1148
+ ): Promise<GetIntentVersionsCommandOutput>;
1149
+ public getIntentVersions(
1150
+ args: GetIntentVersionsCommandInput,
1151
+ cb: (err: any, data?: GetIntentVersionsCommandOutput) => void
1152
+ ): void;
1153
+ public getIntentVersions(
1154
+ args: GetIntentVersionsCommandInput,
1155
+ options: __HttpHandlerOptions,
1156
+ cb: (err: any, data?: GetIntentVersionsCommandOutput) => void
1157
+ ): void;
1158
+ public getIntentVersions(
1159
+ args: GetIntentVersionsCommandInput,
1160
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetIntentVersionsCommandOutput) => void),
1161
+ cb?: (err: any, data?: GetIntentVersionsCommandOutput) => void
1162
+ ): Promise<GetIntentVersionsCommandOutput> | void {
1163
+ const command = new GetIntentVersionsCommand(args);
1164
+ if (typeof optionsOrCb === "function") {
1165
+ this.send(command, optionsOrCb);
1166
+ } else if (typeof cb === "function") {
1167
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1168
+ this.send(command, optionsOrCb || {}, cb);
1169
+ } else {
1170
+ return this.send(command, optionsOrCb);
1171
+ }
1172
+ }
1173
+
1174
+ /**
1175
+ * <p>Provides details about an ongoing or complete migration from an
1176
+ * Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration
1177
+ * alerts and warnings related to the migration.</p>
1178
+ */
1179
+ public getMigration(
1180
+ args: GetMigrationCommandInput,
1181
+ options?: __HttpHandlerOptions
1182
+ ): Promise<GetMigrationCommandOutput>;
1183
+ public getMigration(args: GetMigrationCommandInput, cb: (err: any, data?: GetMigrationCommandOutput) => void): void;
1184
+ public getMigration(
1185
+ args: GetMigrationCommandInput,
1186
+ options: __HttpHandlerOptions,
1187
+ cb: (err: any, data?: GetMigrationCommandOutput) => void
1188
+ ): void;
1189
+ public getMigration(
1190
+ args: GetMigrationCommandInput,
1191
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMigrationCommandOutput) => void),
1192
+ cb?: (err: any, data?: GetMigrationCommandOutput) => void
1193
+ ): Promise<GetMigrationCommandOutput> | void {
1194
+ const command = new GetMigrationCommand(args);
1195
+ if (typeof optionsOrCb === "function") {
1196
+ this.send(command, optionsOrCb);
1197
+ } else if (typeof cb === "function") {
1198
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1199
+ this.send(command, optionsOrCb || {}, cb);
1200
+ } else {
1201
+ return this.send(command, optionsOrCb);
1202
+ }
1203
+ }
1204
+
1205
+ /**
1206
+ * <p>Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.</p>
1207
+ */
1208
+ public getMigrations(
1209
+ args: GetMigrationsCommandInput,
1210
+ options?: __HttpHandlerOptions
1211
+ ): Promise<GetMigrationsCommandOutput>;
1212
+ public getMigrations(
1213
+ args: GetMigrationsCommandInput,
1214
+ cb: (err: any, data?: GetMigrationsCommandOutput) => void
1215
+ ): void;
1216
+ public getMigrations(
1217
+ args: GetMigrationsCommandInput,
1218
+ options: __HttpHandlerOptions,
1219
+ cb: (err: any, data?: GetMigrationsCommandOutput) => void
1220
+ ): void;
1221
+ public getMigrations(
1222
+ args: GetMigrationsCommandInput,
1223
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMigrationsCommandOutput) => void),
1224
+ cb?: (err: any, data?: GetMigrationsCommandOutput) => void
1225
+ ): Promise<GetMigrationsCommandOutput> | void {
1226
+ const command = new GetMigrationsCommand(args);
1227
+ if (typeof optionsOrCb === "function") {
1228
+ this.send(command, optionsOrCb);
1229
+ } else if (typeof cb === "function") {
1230
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1231
+ this.send(command, optionsOrCb || {}, cb);
1232
+ } else {
1233
+ return this.send(command, optionsOrCb);
1234
+ }
1235
+ }
1236
+
1237
+ /**
1238
+ * <p>Returns information about a specific version of a slot type. In
1239
+ * addition to specifying the slot type name, you must specify the slot type
1240
+ * version.</p>
1241
+ * <p>This operation requires permissions for the
1242
+ * <code>lex:GetSlotType</code> action.</p>
1243
+ */
1244
+ public getSlotType(args: GetSlotTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetSlotTypeCommandOutput>;
1245
+ public getSlotType(args: GetSlotTypeCommandInput, cb: (err: any, data?: GetSlotTypeCommandOutput) => void): void;
1246
+ public getSlotType(
1247
+ args: GetSlotTypeCommandInput,
1248
+ options: __HttpHandlerOptions,
1249
+ cb: (err: any, data?: GetSlotTypeCommandOutput) => void
1250
+ ): void;
1251
+ public getSlotType(
1252
+ args: GetSlotTypeCommandInput,
1253
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSlotTypeCommandOutput) => void),
1254
+ cb?: (err: any, data?: GetSlotTypeCommandOutput) => void
1255
+ ): Promise<GetSlotTypeCommandOutput> | void {
1256
+ const command = new GetSlotTypeCommand(args);
1257
+ if (typeof optionsOrCb === "function") {
1258
+ this.send(command, optionsOrCb);
1259
+ } else if (typeof cb === "function") {
1260
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1261
+ this.send(command, optionsOrCb || {}, cb);
1262
+ } else {
1263
+ return this.send(command, optionsOrCb);
1264
+ }
1265
+ }
1266
+
1267
+ /**
1268
+ * <p>Returns slot type information as follows: </p>
1269
+ * <ul>
1270
+ * <li>
1271
+ * <p>If you specify the <code>nameContains</code> field, returns the
1272
+ * <code>$LATEST</code> version of all slot types that contain the
1273
+ * specified string.</p>
1274
+ * </li>
1275
+ * <li>
1276
+ * <p> If you don't specify the <code>nameContains</code> field,
1277
+ * returns information about the <code>$LATEST</code> version of all slot
1278
+ * types. </p>
1279
+ * </li>
1280
+ * </ul>
1281
+ * <p> The operation requires permission for the
1282
+ * <code>lex:GetSlotTypes</code> action. </p>
1283
+ */
1284
+ public getSlotTypes(
1285
+ args: GetSlotTypesCommandInput,
1286
+ options?: __HttpHandlerOptions
1287
+ ): Promise<GetSlotTypesCommandOutput>;
1288
+ public getSlotTypes(args: GetSlotTypesCommandInput, cb: (err: any, data?: GetSlotTypesCommandOutput) => void): void;
1289
+ public getSlotTypes(
1290
+ args: GetSlotTypesCommandInput,
1291
+ options: __HttpHandlerOptions,
1292
+ cb: (err: any, data?: GetSlotTypesCommandOutput) => void
1293
+ ): void;
1294
+ public getSlotTypes(
1295
+ args: GetSlotTypesCommandInput,
1296
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSlotTypesCommandOutput) => void),
1297
+ cb?: (err: any, data?: GetSlotTypesCommandOutput) => void
1298
+ ): Promise<GetSlotTypesCommandOutput> | void {
1299
+ const command = new GetSlotTypesCommand(args);
1300
+ if (typeof optionsOrCb === "function") {
1301
+ this.send(command, optionsOrCb);
1302
+ } else if (typeof cb === "function") {
1303
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1304
+ this.send(command, optionsOrCb || {}, cb);
1305
+ } else {
1306
+ return this.send(command, optionsOrCb);
1307
+ }
1308
+ }
1309
+
1310
+ /**
1311
+ * <p>Gets information about all versions of a slot type.</p>
1312
+ * <p>The <code>GetSlotTypeVersions</code> operation returns a
1313
+ * <code>SlotTypeMetadata</code> object for each version of a slot type.
1314
+ * For example, if a slot type has three numbered versions, the
1315
+ * <code>GetSlotTypeVersions</code> operation returns four
1316
+ * <code>SlotTypeMetadata</code> objects in the response, one for each
1317
+ * numbered version and one for the <code>$LATEST</code> version. </p>
1318
+ * <p>The <code>GetSlotTypeVersions</code> operation always returns at
1319
+ * least one version, the <code>$LATEST</code> version.</p>
1320
+ * <p>This operation requires permissions for the
1321
+ * <code>lex:GetSlotTypeVersions</code> action.</p>
1322
+ */
1323
+ public getSlotTypeVersions(
1324
+ args: GetSlotTypeVersionsCommandInput,
1325
+ options?: __HttpHandlerOptions
1326
+ ): Promise<GetSlotTypeVersionsCommandOutput>;
1327
+ public getSlotTypeVersions(
1328
+ args: GetSlotTypeVersionsCommandInput,
1329
+ cb: (err: any, data?: GetSlotTypeVersionsCommandOutput) => void
1330
+ ): void;
1331
+ public getSlotTypeVersions(
1332
+ args: GetSlotTypeVersionsCommandInput,
1333
+ options: __HttpHandlerOptions,
1334
+ cb: (err: any, data?: GetSlotTypeVersionsCommandOutput) => void
1335
+ ): void;
1336
+ public getSlotTypeVersions(
1337
+ args: GetSlotTypeVersionsCommandInput,
1338
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSlotTypeVersionsCommandOutput) => void),
1339
+ cb?: (err: any, data?: GetSlotTypeVersionsCommandOutput) => void
1340
+ ): Promise<GetSlotTypeVersionsCommandOutput> | void {
1341
+ const command = new GetSlotTypeVersionsCommand(args);
1342
+ if (typeof optionsOrCb === "function") {
1343
+ this.send(command, optionsOrCb);
1344
+ } else if (typeof cb === "function") {
1345
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1346
+ this.send(command, optionsOrCb || {}, cb);
1347
+ } else {
1348
+ return this.send(command, optionsOrCb);
1349
+ }
1350
+ }
1351
+
1352
+ /**
1353
+ * <p>Use the <code>GetUtterancesView</code> operation to get information
1354
+ * about the utterances that your users have made to your bot. You can use
1355
+ * this list to tune the utterances that your bot responds to.</p>
1356
+ * <p>For example, say that you have created a bot to order flowers.
1357
+ * After your users have used your bot for a while, use the
1358
+ * <code>GetUtterancesView</code> operation to see the requests that they
1359
+ * have made and whether they have been successful. You might find that the
1360
+ * utterance "I want flowers" is not being recognized. You could add this
1361
+ * utterance to the <code>OrderFlowers</code> intent so that your bot
1362
+ * recognizes that utterance.</p>
1363
+ * <p>After you publish a new version of a bot, you can get information
1364
+ * about the old version and the new so that you can compare the performance
1365
+ * across the two versions. </p>
1366
+ * <p>Utterance statistics are generated once a day. Data is available
1367
+ * for the last 15 days. You can request information for up to 5 versions of
1368
+ * your bot in each request. Amazon Lex returns the most frequent utterances
1369
+ * received by the bot in the last 15 days. The response contains information
1370
+ * about a maximum of 100 utterances for each version.</p>
1371
+ * <p>If you set <code>childDirected</code> field to true when you
1372
+ * created your bot, if you are using slot obfuscation with one or more
1373
+ * slots, or if you opted out of participating in improving Amazon Lex, utterances
1374
+ * are not available.</p>
1375
+ * <p>This operation requires permissions for the
1376
+ * <code>lex:GetUtterancesView</code> action.</p>
1377
+ */
1378
+ public getUtterancesView(
1379
+ args: GetUtterancesViewCommandInput,
1380
+ options?: __HttpHandlerOptions
1381
+ ): Promise<GetUtterancesViewCommandOutput>;
1382
+ public getUtterancesView(
1383
+ args: GetUtterancesViewCommandInput,
1384
+ cb: (err: any, data?: GetUtterancesViewCommandOutput) => void
1385
+ ): void;
1386
+ public getUtterancesView(
1387
+ args: GetUtterancesViewCommandInput,
1388
+ options: __HttpHandlerOptions,
1389
+ cb: (err: any, data?: GetUtterancesViewCommandOutput) => void
1390
+ ): void;
1391
+ public getUtterancesView(
1392
+ args: GetUtterancesViewCommandInput,
1393
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetUtterancesViewCommandOutput) => void),
1394
+ cb?: (err: any, data?: GetUtterancesViewCommandOutput) => void
1395
+ ): Promise<GetUtterancesViewCommandOutput> | void {
1396
+ const command = new GetUtterancesViewCommand(args);
1397
+ if (typeof optionsOrCb === "function") {
1398
+ this.send(command, optionsOrCb);
1399
+ } else if (typeof cb === "function") {
1400
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1401
+ this.send(command, optionsOrCb || {}, cb);
1402
+ } else {
1403
+ return this.send(command, optionsOrCb);
1404
+ }
1405
+ }
1406
+
1407
+ /**
1408
+ * <p>Gets a list of tags associated with the specified resource. Only bots,
1409
+ * bot aliases, and bot channels can have tags associated with them.</p>
1410
+ */
1411
+ public listTagsForResource(
1412
+ args: ListTagsForResourceCommandInput,
1413
+ options?: __HttpHandlerOptions
1414
+ ): Promise<ListTagsForResourceCommandOutput>;
1415
+ public listTagsForResource(
1416
+ args: ListTagsForResourceCommandInput,
1417
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1418
+ ): void;
1419
+ public listTagsForResource(
1420
+ args: ListTagsForResourceCommandInput,
1421
+ options: __HttpHandlerOptions,
1422
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
1423
+ ): void;
1424
+ public listTagsForResource(
1425
+ args: ListTagsForResourceCommandInput,
1426
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
1427
+ cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
1428
+ ): Promise<ListTagsForResourceCommandOutput> | void {
1429
+ const command = new ListTagsForResourceCommand(args);
1430
+ if (typeof optionsOrCb === "function") {
1431
+ this.send(command, optionsOrCb);
1432
+ } else if (typeof cb === "function") {
1433
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1434
+ this.send(command, optionsOrCb || {}, cb);
1435
+ } else {
1436
+ return this.send(command, optionsOrCb);
1437
+ }
1438
+ }
1439
+
1440
+ /**
1441
+ * <p>Creates an Amazon Lex conversational bot or replaces an existing bot.
1442
+ * When you create or update a bot you are only required to specify a name, a
1443
+ * locale, and whether the bot is directed toward children under age 13. You
1444
+ * can use this to add intents later, or to remove intents from an existing
1445
+ * bot. When you create a bot with the minimum information, the bot is
1446
+ * created or updated but Amazon Lex returns the <code></code> response
1447
+ * <code>FAILED</code>. You can build the bot after you add one or more
1448
+ * intents. For more information about Amazon Lex bots, see <a>how-it-works</a>. </p>
1449
+ * <p>If you specify the name of an existing bot, the fields in the
1450
+ * request replace the existing values in the <code>$LATEST</code> version of
1451
+ * the bot. Amazon Lex removes any fields that you don't provide values for in the
1452
+ * request, except for the <code>idleTTLInSeconds</code> and
1453
+ * <code>privacySettings</code> fields, which are set to their default
1454
+ * values. If you don't specify values for required fields, Amazon Lex throws an
1455
+ * exception.</p>
1456
+ *
1457
+ * <p>This operation requires permissions for the <code>lex:PutBot</code>
1458
+ * action. For more information, see <a>security-iam</a>.</p>
1459
+ */
1460
+ public putBot(args: PutBotCommandInput, options?: __HttpHandlerOptions): Promise<PutBotCommandOutput>;
1461
+ public putBot(args: PutBotCommandInput, cb: (err: any, data?: PutBotCommandOutput) => void): void;
1462
+ public putBot(
1463
+ args: PutBotCommandInput,
1464
+ options: __HttpHandlerOptions,
1465
+ cb: (err: any, data?: PutBotCommandOutput) => void
1466
+ ): void;
1467
+ public putBot(
1468
+ args: PutBotCommandInput,
1469
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutBotCommandOutput) => void),
1470
+ cb?: (err: any, data?: PutBotCommandOutput) => void
1471
+ ): Promise<PutBotCommandOutput> | void {
1472
+ const command = new PutBotCommand(args);
1473
+ if (typeof optionsOrCb === "function") {
1474
+ this.send(command, optionsOrCb);
1475
+ } else if (typeof cb === "function") {
1476
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1477
+ this.send(command, optionsOrCb || {}, cb);
1478
+ } else {
1479
+ return this.send(command, optionsOrCb);
1480
+ }
1481
+ }
1482
+
1483
+ /**
1484
+ * <p>Creates an alias for the specified version of the bot or replaces
1485
+ * an alias for the specified bot. To change the version of the bot that the
1486
+ * alias points to, replace the alias. For more information about aliases,
1487
+ * see <a>versioning-aliases</a>.</p>
1488
+ * <p>This operation requires permissions for the
1489
+ * <code>lex:PutBotAlias</code> action. </p>
1490
+ */
1491
+ public putBotAlias(args: PutBotAliasCommandInput, options?: __HttpHandlerOptions): Promise<PutBotAliasCommandOutput>;
1492
+ public putBotAlias(args: PutBotAliasCommandInput, cb: (err: any, data?: PutBotAliasCommandOutput) => void): void;
1493
+ public putBotAlias(
1494
+ args: PutBotAliasCommandInput,
1495
+ options: __HttpHandlerOptions,
1496
+ cb: (err: any, data?: PutBotAliasCommandOutput) => void
1497
+ ): void;
1498
+ public putBotAlias(
1499
+ args: PutBotAliasCommandInput,
1500
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutBotAliasCommandOutput) => void),
1501
+ cb?: (err: any, data?: PutBotAliasCommandOutput) => void
1502
+ ): Promise<PutBotAliasCommandOutput> | void {
1503
+ const command = new PutBotAliasCommand(args);
1504
+ if (typeof optionsOrCb === "function") {
1505
+ this.send(command, optionsOrCb);
1506
+ } else if (typeof cb === "function") {
1507
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1508
+ this.send(command, optionsOrCb || {}, cb);
1509
+ } else {
1510
+ return this.send(command, optionsOrCb);
1511
+ }
1512
+ }
1513
+
1514
+ /**
1515
+ * <p>Creates an intent or replaces an existing intent.</p>
1516
+ * <p>To define the interaction between the user and your bot, you use
1517
+ * one or more intents. For a pizza ordering bot, for example, you would
1518
+ * create an <code>OrderPizza</code> intent. </p>
1519
+ * <p>To create an intent or replace an existing intent, you must provide
1520
+ * the following:</p>
1521
+ * <ul>
1522
+ * <li>
1523
+ * <p>Intent name. For example, <code>OrderPizza</code>.</p>
1524
+ * </li>
1525
+ * <li>
1526
+ * <p>Sample utterances. For example, "Can I order a pizza, please."
1527
+ * and "I want to order a pizza."</p>
1528
+ * </li>
1529
+ * <li>
1530
+ * <p>Information to be gathered. You specify slot types for the
1531
+ * information that your bot will request from the user. You can specify
1532
+ * standard slot types, such as a date or a time, or custom slot types
1533
+ * such as the size and crust of a pizza.</p>
1534
+ * </li>
1535
+ * <li>
1536
+ * <p>How the intent will be fulfilled. You can provide a Lambda
1537
+ * function or configure the intent to return the intent information to
1538
+ * the client application. If you use a Lambda function, when all of the
1539
+ * intent information is available, Amazon Lex invokes your Lambda function.
1540
+ * If you configure your intent to return the intent information to the
1541
+ * client application. </p>
1542
+ * </li>
1543
+ * </ul>
1544
+ * <p>You can specify other optional information in the request, such
1545
+ * as:</p>
1546
+ *
1547
+ * <ul>
1548
+ * <li>
1549
+ * <p>A confirmation prompt to ask the user to confirm an intent. For
1550
+ * example, "Shall I order your pizza?"</p>
1551
+ * </li>
1552
+ * <li>
1553
+ * <p>A conclusion statement to send to the user after the intent has
1554
+ * been fulfilled. For example, "I placed your pizza order."</p>
1555
+ * </li>
1556
+ * <li>
1557
+ * <p>A follow-up prompt that asks the user for additional activity.
1558
+ * For example, asking "Do you want to order a drink with your
1559
+ * pizza?"</p>
1560
+ * </li>
1561
+ * </ul>
1562
+ * <p>If you specify an existing intent name to update the intent, Amazon Lex
1563
+ * replaces the values in the <code>$LATEST</code> version of the intent with
1564
+ * the values in the request. Amazon Lex removes fields that you don't provide in
1565
+ * the request. If you don't specify the required fields, Amazon Lex throws an
1566
+ * exception. When you update the <code>$LATEST</code> version of an intent,
1567
+ * the <code>status</code> field of any bot that uses the
1568
+ * <code>$LATEST</code> version of the intent is set to
1569
+ * <code>NOT_BUILT</code>.</p>
1570
+ * <p>For more information, see <a>how-it-works</a>.</p>
1571
+ * <p>This operation requires permissions for the
1572
+ * <code>lex:PutIntent</code> action.</p>
1573
+ */
1574
+ public putIntent(args: PutIntentCommandInput, options?: __HttpHandlerOptions): Promise<PutIntentCommandOutput>;
1575
+ public putIntent(args: PutIntentCommandInput, cb: (err: any, data?: PutIntentCommandOutput) => void): void;
1576
+ public putIntent(
1577
+ args: PutIntentCommandInput,
1578
+ options: __HttpHandlerOptions,
1579
+ cb: (err: any, data?: PutIntentCommandOutput) => void
1580
+ ): void;
1581
+ public putIntent(
1582
+ args: PutIntentCommandInput,
1583
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutIntentCommandOutput) => void),
1584
+ cb?: (err: any, data?: PutIntentCommandOutput) => void
1585
+ ): Promise<PutIntentCommandOutput> | void {
1586
+ const command = new PutIntentCommand(args);
1587
+ if (typeof optionsOrCb === "function") {
1588
+ this.send(command, optionsOrCb);
1589
+ } else if (typeof cb === "function") {
1590
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1591
+ this.send(command, optionsOrCb || {}, cb);
1592
+ } else {
1593
+ return this.send(command, optionsOrCb);
1594
+ }
1595
+ }
1596
+
1597
+ /**
1598
+ * <p>Creates a custom slot type or replaces an existing custom slot
1599
+ * type.</p>
1600
+ * <p>To create a custom slot type, specify a name for the slot type and
1601
+ * a set of enumeration values, which are the values that a slot of this type
1602
+ * can assume. For more information, see <a>how-it-works</a>.</p>
1603
+ * <p>If you specify the name of an existing slot type, the fields in the
1604
+ * request replace the existing values in the <code>$LATEST</code> version of
1605
+ * the slot type. Amazon Lex removes the fields that you don't provide in the
1606
+ * request. If you don't specify required fields, Amazon Lex throws an exception.
1607
+ * When you update the <code>$LATEST</code> version of a slot type, if a bot
1608
+ * uses the <code>$LATEST</code> version of an intent that contains the slot
1609
+ * type, the bot's <code>status</code> field is set to
1610
+ * <code>NOT_BUILT</code>.</p>
1611
+ *
1612
+ * <p>This operation requires permissions for the
1613
+ * <code>lex:PutSlotType</code> action.</p>
1614
+ */
1615
+ public putSlotType(args: PutSlotTypeCommandInput, options?: __HttpHandlerOptions): Promise<PutSlotTypeCommandOutput>;
1616
+ public putSlotType(args: PutSlotTypeCommandInput, cb: (err: any, data?: PutSlotTypeCommandOutput) => void): void;
1617
+ public putSlotType(
1618
+ args: PutSlotTypeCommandInput,
1619
+ options: __HttpHandlerOptions,
1620
+ cb: (err: any, data?: PutSlotTypeCommandOutput) => void
1621
+ ): void;
1622
+ public putSlotType(
1623
+ args: PutSlotTypeCommandInput,
1624
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutSlotTypeCommandOutput) => void),
1625
+ cb?: (err: any, data?: PutSlotTypeCommandOutput) => void
1626
+ ): Promise<PutSlotTypeCommandOutput> | void {
1627
+ const command = new PutSlotTypeCommand(args);
1628
+ if (typeof optionsOrCb === "function") {
1629
+ this.send(command, optionsOrCb);
1630
+ } else if (typeof cb === "function") {
1631
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1632
+ this.send(command, optionsOrCb || {}, cb);
1633
+ } else {
1634
+ return this.send(command, optionsOrCb);
1635
+ }
1636
+ }
1637
+
1638
+ /**
1639
+ * <p>Starts a job to import a resource to Amazon Lex.</p>
1640
+ */
1641
+ public startImport(args: StartImportCommandInput, options?: __HttpHandlerOptions): Promise<StartImportCommandOutput>;
1642
+ public startImport(args: StartImportCommandInput, cb: (err: any, data?: StartImportCommandOutput) => void): void;
1643
+ public startImport(
1644
+ args: StartImportCommandInput,
1645
+ options: __HttpHandlerOptions,
1646
+ cb: (err: any, data?: StartImportCommandOutput) => void
1647
+ ): void;
1648
+ public startImport(
1649
+ args: StartImportCommandInput,
1650
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartImportCommandOutput) => void),
1651
+ cb?: (err: any, data?: StartImportCommandOutput) => void
1652
+ ): Promise<StartImportCommandOutput> | void {
1653
+ const command = new StartImportCommand(args);
1654
+ if (typeof optionsOrCb === "function") {
1655
+ this.send(command, optionsOrCb);
1656
+ } else if (typeof cb === "function") {
1657
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1658
+ this.send(command, optionsOrCb || {}, cb);
1659
+ } else {
1660
+ return this.send(command, optionsOrCb);
1661
+ }
1662
+ }
1663
+
1664
+ /**
1665
+ * <p>Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when
1666
+ * you want to take advantage of the new features of Amazon Lex V2.</p>
1667
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/lex/latest/dg/migrate.html">Migrating a bot</a> in the <i>Amazon Lex
1668
+ * developer guide</i>.</p>
1669
+ */
1670
+ public startMigration(
1671
+ args: StartMigrationCommandInput,
1672
+ options?: __HttpHandlerOptions
1673
+ ): Promise<StartMigrationCommandOutput>;
1674
+ public startMigration(
1675
+ args: StartMigrationCommandInput,
1676
+ cb: (err: any, data?: StartMigrationCommandOutput) => void
1677
+ ): void;
1678
+ public startMigration(
1679
+ args: StartMigrationCommandInput,
1680
+ options: __HttpHandlerOptions,
1681
+ cb: (err: any, data?: StartMigrationCommandOutput) => void
1682
+ ): void;
1683
+ public startMigration(
1684
+ args: StartMigrationCommandInput,
1685
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartMigrationCommandOutput) => void),
1686
+ cb?: (err: any, data?: StartMigrationCommandOutput) => void
1687
+ ): Promise<StartMigrationCommandOutput> | void {
1688
+ const command = new StartMigrationCommand(args);
1689
+ if (typeof optionsOrCb === "function") {
1690
+ this.send(command, optionsOrCb);
1691
+ } else if (typeof cb === "function") {
1692
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1693
+ this.send(command, optionsOrCb || {}, cb);
1694
+ } else {
1695
+ return this.send(command, optionsOrCb);
1696
+ }
1697
+ }
1698
+
1699
+ /**
1700
+ * <p>Adds the specified tags to the specified resource. If a tag key
1701
+ * already exists, the existing value is replaced with the new value.</p>
1702
+ */
1703
+ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1704
+ public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1705
+ public tagResource(
1706
+ args: TagResourceCommandInput,
1707
+ options: __HttpHandlerOptions,
1708
+ cb: (err: any, data?: TagResourceCommandOutput) => void
1709
+ ): void;
1710
+ public tagResource(
1711
+ args: TagResourceCommandInput,
1712
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1713
+ cb?: (err: any, data?: TagResourceCommandOutput) => void
1714
+ ): Promise<TagResourceCommandOutput> | void {
1715
+ const command = new TagResourceCommand(args);
1716
+ if (typeof optionsOrCb === "function") {
1717
+ this.send(command, optionsOrCb);
1718
+ } else if (typeof cb === "function") {
1719
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1720
+ this.send(command, optionsOrCb || {}, cb);
1721
+ } else {
1722
+ return this.send(command, optionsOrCb);
1723
+ }
1724
+ }
1725
+
1726
+ /**
1727
+ * <p>Removes tags from a bot, bot alias or bot channel.</p>
1728
+ */
1729
+ public untagResource(
1730
+ args: UntagResourceCommandInput,
1731
+ options?: __HttpHandlerOptions
1732
+ ): Promise<UntagResourceCommandOutput>;
1733
+ public untagResource(
1734
+ args: UntagResourceCommandInput,
1735
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
1736
+ ): void;
1737
+ public untagResource(
1738
+ args: UntagResourceCommandInput,
1739
+ options: __HttpHandlerOptions,
1740
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
1741
+ ): void;
1742
+ public untagResource(
1743
+ args: UntagResourceCommandInput,
1744
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1745
+ cb?: (err: any, data?: UntagResourceCommandOutput) => void
1746
+ ): Promise<UntagResourceCommandOutput> | void {
1747
+ const command = new UntagResourceCommand(args);
1748
+ if (typeof optionsOrCb === "function") {
1749
+ this.send(command, optionsOrCb);
1750
+ } else if (typeof cb === "function") {
1751
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1752
+ this.send(command, optionsOrCb || {}, cb);
1753
+ } else {
1754
+ return this.send(command, optionsOrCb);
1755
+ }
1756
+ }
1757
+ }