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