@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
@@ -0,0 +1,395 @@
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ resolveEndpointsConfig,
7
+ resolveRegionConfig,
8
+ } from "@aws-sdk/config-resolver";
9
+ import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
+ import {
11
+ getHostHeaderPlugin,
12
+ HostHeaderInputConfig,
13
+ HostHeaderResolvedConfig,
14
+ resolveHostHeaderConfig,
15
+ } from "@aws-sdk/middleware-host-header";
16
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
+ import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
+ import {
19
+ AwsAuthInputConfig,
20
+ AwsAuthResolvedConfig,
21
+ getAwsAuthPlugin,
22
+ resolveAwsAuthConfig,
23
+ } from "@aws-sdk/middleware-signing";
24
+ import {
25
+ getUserAgentPlugin,
26
+ resolveUserAgentConfig,
27
+ UserAgentInputConfig,
28
+ UserAgentResolvedConfig,
29
+ } from "@aws-sdk/middleware-user-agent";
30
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
+ import {
32
+ Client as __Client,
33
+ SmithyConfiguration as __SmithyConfiguration,
34
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
+ } from "@aws-sdk/smithy-client";
36
+ import {
37
+ Credentials as __Credentials,
38
+ Decoder as __Decoder,
39
+ Encoder as __Encoder,
40
+ Hash as __Hash,
41
+ HashConstructor as __HashConstructor,
42
+ HttpHandlerOptions as __HttpHandlerOptions,
43
+ Logger as __Logger,
44
+ Provider as __Provider,
45
+ Provider,
46
+ RegionInfoProvider,
47
+ StreamCollector as __StreamCollector,
48
+ UrlParser as __UrlParser,
49
+ UserAgent as __UserAgent,
50
+ } from "@aws-sdk/types";
51
+
52
+ import { CreateBotVersionCommandInput, CreateBotVersionCommandOutput } from "./commands/CreateBotVersionCommand";
53
+ import {
54
+ CreateIntentVersionCommandInput,
55
+ CreateIntentVersionCommandOutput,
56
+ } from "./commands/CreateIntentVersionCommand";
57
+ import {
58
+ CreateSlotTypeVersionCommandInput,
59
+ CreateSlotTypeVersionCommandOutput,
60
+ } from "./commands/CreateSlotTypeVersionCommand";
61
+ import { DeleteBotAliasCommandInput, DeleteBotAliasCommandOutput } from "./commands/DeleteBotAliasCommand";
62
+ import {
63
+ DeleteBotChannelAssociationCommandInput,
64
+ DeleteBotChannelAssociationCommandOutput,
65
+ } from "./commands/DeleteBotChannelAssociationCommand";
66
+ import { DeleteBotCommandInput, DeleteBotCommandOutput } from "./commands/DeleteBotCommand";
67
+ import { DeleteBotVersionCommandInput, DeleteBotVersionCommandOutput } from "./commands/DeleteBotVersionCommand";
68
+ import { DeleteIntentCommandInput, DeleteIntentCommandOutput } from "./commands/DeleteIntentCommand";
69
+ import {
70
+ DeleteIntentVersionCommandInput,
71
+ DeleteIntentVersionCommandOutput,
72
+ } from "./commands/DeleteIntentVersionCommand";
73
+ import { DeleteSlotTypeCommandInput, DeleteSlotTypeCommandOutput } from "./commands/DeleteSlotTypeCommand";
74
+ import {
75
+ DeleteSlotTypeVersionCommandInput,
76
+ DeleteSlotTypeVersionCommandOutput,
77
+ } from "./commands/DeleteSlotTypeVersionCommand";
78
+ import { DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput } from "./commands/DeleteUtterancesCommand";
79
+ import { GetBotAliasCommandInput, GetBotAliasCommandOutput } from "./commands/GetBotAliasCommand";
80
+ import { GetBotAliasesCommandInput, GetBotAliasesCommandOutput } from "./commands/GetBotAliasesCommand";
81
+ import {
82
+ GetBotChannelAssociationCommandInput,
83
+ GetBotChannelAssociationCommandOutput,
84
+ } from "./commands/GetBotChannelAssociationCommand";
85
+ import {
86
+ GetBotChannelAssociationsCommandInput,
87
+ GetBotChannelAssociationsCommandOutput,
88
+ } from "./commands/GetBotChannelAssociationsCommand";
89
+ import { GetBotCommandInput, GetBotCommandOutput } from "./commands/GetBotCommand";
90
+ import { GetBotsCommandInput, GetBotsCommandOutput } from "./commands/GetBotsCommand";
91
+ import { GetBotVersionsCommandInput, GetBotVersionsCommandOutput } from "./commands/GetBotVersionsCommand";
92
+ import { GetBuiltinIntentCommandInput, GetBuiltinIntentCommandOutput } from "./commands/GetBuiltinIntentCommand";
93
+ import { GetBuiltinIntentsCommandInput, GetBuiltinIntentsCommandOutput } from "./commands/GetBuiltinIntentsCommand";
94
+ import {
95
+ GetBuiltinSlotTypesCommandInput,
96
+ GetBuiltinSlotTypesCommandOutput,
97
+ } from "./commands/GetBuiltinSlotTypesCommand";
98
+ import { GetExportCommandInput, GetExportCommandOutput } from "./commands/GetExportCommand";
99
+ import { GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImportCommand";
100
+ import { GetIntentCommandInput, GetIntentCommandOutput } from "./commands/GetIntentCommand";
101
+ import { GetIntentsCommandInput, GetIntentsCommandOutput } from "./commands/GetIntentsCommand";
102
+ import { GetIntentVersionsCommandInput, GetIntentVersionsCommandOutput } from "./commands/GetIntentVersionsCommand";
103
+ import { GetMigrationCommandInput, GetMigrationCommandOutput } from "./commands/GetMigrationCommand";
104
+ import { GetMigrationsCommandInput, GetMigrationsCommandOutput } from "./commands/GetMigrationsCommand";
105
+ import { GetSlotTypeCommandInput, GetSlotTypeCommandOutput } from "./commands/GetSlotTypeCommand";
106
+ import { GetSlotTypesCommandInput, GetSlotTypesCommandOutput } from "./commands/GetSlotTypesCommand";
107
+ import {
108
+ GetSlotTypeVersionsCommandInput,
109
+ GetSlotTypeVersionsCommandOutput,
110
+ } from "./commands/GetSlotTypeVersionsCommand";
111
+ import { GetUtterancesViewCommandInput, GetUtterancesViewCommandOutput } from "./commands/GetUtterancesViewCommand";
112
+ import {
113
+ ListTagsForResourceCommandInput,
114
+ ListTagsForResourceCommandOutput,
115
+ } from "./commands/ListTagsForResourceCommand";
116
+ import { PutBotAliasCommandInput, PutBotAliasCommandOutput } from "./commands/PutBotAliasCommand";
117
+ import { PutBotCommandInput, PutBotCommandOutput } from "./commands/PutBotCommand";
118
+ import { PutIntentCommandInput, PutIntentCommandOutput } from "./commands/PutIntentCommand";
119
+ import { PutSlotTypeCommandInput, PutSlotTypeCommandOutput } from "./commands/PutSlotTypeCommand";
120
+ import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
121
+ import { StartMigrationCommandInput, StartMigrationCommandOutput } from "./commands/StartMigrationCommand";
122
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
123
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
124
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
125
+
126
+ export type ServiceInputTypes =
127
+ | CreateBotVersionCommandInput
128
+ | CreateIntentVersionCommandInput
129
+ | CreateSlotTypeVersionCommandInput
130
+ | DeleteBotAliasCommandInput
131
+ | DeleteBotChannelAssociationCommandInput
132
+ | DeleteBotCommandInput
133
+ | DeleteBotVersionCommandInput
134
+ | DeleteIntentCommandInput
135
+ | DeleteIntentVersionCommandInput
136
+ | DeleteSlotTypeCommandInput
137
+ | DeleteSlotTypeVersionCommandInput
138
+ | DeleteUtterancesCommandInput
139
+ | GetBotAliasCommandInput
140
+ | GetBotAliasesCommandInput
141
+ | GetBotChannelAssociationCommandInput
142
+ | GetBotChannelAssociationsCommandInput
143
+ | GetBotCommandInput
144
+ | GetBotVersionsCommandInput
145
+ | GetBotsCommandInput
146
+ | GetBuiltinIntentCommandInput
147
+ | GetBuiltinIntentsCommandInput
148
+ | GetBuiltinSlotTypesCommandInput
149
+ | GetExportCommandInput
150
+ | GetImportCommandInput
151
+ | GetIntentCommandInput
152
+ | GetIntentVersionsCommandInput
153
+ | GetIntentsCommandInput
154
+ | GetMigrationCommandInput
155
+ | GetMigrationsCommandInput
156
+ | GetSlotTypeCommandInput
157
+ | GetSlotTypeVersionsCommandInput
158
+ | GetSlotTypesCommandInput
159
+ | GetUtterancesViewCommandInput
160
+ | ListTagsForResourceCommandInput
161
+ | PutBotAliasCommandInput
162
+ | PutBotCommandInput
163
+ | PutIntentCommandInput
164
+ | PutSlotTypeCommandInput
165
+ | StartImportCommandInput
166
+ | StartMigrationCommandInput
167
+ | TagResourceCommandInput
168
+ | UntagResourceCommandInput;
169
+
170
+ export type ServiceOutputTypes =
171
+ | CreateBotVersionCommandOutput
172
+ | CreateIntentVersionCommandOutput
173
+ | CreateSlotTypeVersionCommandOutput
174
+ | DeleteBotAliasCommandOutput
175
+ | DeleteBotChannelAssociationCommandOutput
176
+ | DeleteBotCommandOutput
177
+ | DeleteBotVersionCommandOutput
178
+ | DeleteIntentCommandOutput
179
+ | DeleteIntentVersionCommandOutput
180
+ | DeleteSlotTypeCommandOutput
181
+ | DeleteSlotTypeVersionCommandOutput
182
+ | DeleteUtterancesCommandOutput
183
+ | GetBotAliasCommandOutput
184
+ | GetBotAliasesCommandOutput
185
+ | GetBotChannelAssociationCommandOutput
186
+ | GetBotChannelAssociationsCommandOutput
187
+ | GetBotCommandOutput
188
+ | GetBotVersionsCommandOutput
189
+ | GetBotsCommandOutput
190
+ | GetBuiltinIntentCommandOutput
191
+ | GetBuiltinIntentsCommandOutput
192
+ | GetBuiltinSlotTypesCommandOutput
193
+ | GetExportCommandOutput
194
+ | GetImportCommandOutput
195
+ | GetIntentCommandOutput
196
+ | GetIntentVersionsCommandOutput
197
+ | GetIntentsCommandOutput
198
+ | GetMigrationCommandOutput
199
+ | GetMigrationsCommandOutput
200
+ | GetSlotTypeCommandOutput
201
+ | GetSlotTypeVersionsCommandOutput
202
+ | GetSlotTypesCommandOutput
203
+ | GetUtterancesViewCommandOutput
204
+ | ListTagsForResourceCommandOutput
205
+ | PutBotAliasCommandOutput
206
+ | PutBotCommandOutput
207
+ | PutIntentCommandOutput
208
+ | PutSlotTypeCommandOutput
209
+ | StartImportCommandOutput
210
+ | StartMigrationCommandOutput
211
+ | TagResourceCommandOutput
212
+ | UntagResourceCommandOutput;
213
+
214
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
215
+ /**
216
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
217
+ */
218
+ requestHandler?: __HttpHandler;
219
+
220
+ /**
221
+ * A constructor for a class implementing the {@link __Hash} interface
222
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
223
+ * @internal
224
+ */
225
+ sha256?: __HashConstructor;
226
+
227
+ /**
228
+ * The function that will be used to convert strings into HTTP endpoints.
229
+ * @internal
230
+ */
231
+ urlParser?: __UrlParser;
232
+
233
+ /**
234
+ * A function that can calculate the length of a request body.
235
+ * @internal
236
+ */
237
+ bodyLengthChecker?: (body: any) => number | undefined;
238
+
239
+ /**
240
+ * A function that converts a stream into an array of bytes.
241
+ * @internal
242
+ */
243
+ streamCollector?: __StreamCollector;
244
+
245
+ /**
246
+ * The function that will be used to convert a base64-encoded string to a byte array.
247
+ * @internal
248
+ */
249
+ base64Decoder?: __Decoder;
250
+
251
+ /**
252
+ * The function that will be used to convert binary data to a base64-encoded string.
253
+ * @internal
254
+ */
255
+ base64Encoder?: __Encoder;
256
+
257
+ /**
258
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
259
+ * @internal
260
+ */
261
+ utf8Decoder?: __Decoder;
262
+
263
+ /**
264
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
265
+ * @internal
266
+ */
267
+ utf8Encoder?: __Encoder;
268
+
269
+ /**
270
+ * The runtime environment.
271
+ * @internal
272
+ */
273
+ runtime?: string;
274
+
275
+ /**
276
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
277
+ * trait of an operation.
278
+ */
279
+ disableHostPrefix?: boolean;
280
+
281
+ /**
282
+ * Value for how many times a request will be made at most in case of retry.
283
+ */
284
+ maxAttempts?: number | __Provider<number>;
285
+
286
+ /**
287
+ * Specifies which retry algorithm to use.
288
+ */
289
+ retryMode?: string | __Provider<string>;
290
+
291
+ /**
292
+ * Optional logger for logging debug/info/warn/error.
293
+ */
294
+ logger?: __Logger;
295
+
296
+ /**
297
+ * Unique service identifier.
298
+ * @internal
299
+ */
300
+ serviceId?: string;
301
+
302
+ /**
303
+ * The AWS region to which this client will send requests
304
+ */
305
+ region?: string | __Provider<string>;
306
+
307
+ /**
308
+ * Default credentials provider; Not available in browser runtime.
309
+ * @internal
310
+ */
311
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
312
+
313
+ /**
314
+ * Fetch related hostname, signing name or signing region with given region.
315
+ * @internal
316
+ */
317
+ regionInfoProvider?: RegionInfoProvider;
318
+
319
+ /**
320
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
321
+ * @internal
322
+ */
323
+ defaultUserAgentProvider?: Provider<__UserAgent>;
324
+ }
325
+
326
+ type LexModelBuildingServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
327
+ ClientDefaults &
328
+ RegionInputConfig &
329
+ EndpointsInputConfig &
330
+ RetryInputConfig &
331
+ HostHeaderInputConfig &
332
+ AwsAuthInputConfig &
333
+ UserAgentInputConfig;
334
+ /**
335
+ * The configuration interface of LexModelBuildingServiceClient class constructor that set the region, credentials and other options.
336
+ */
337
+ export interface LexModelBuildingServiceClientConfig extends LexModelBuildingServiceClientConfigType {}
338
+
339
+ type LexModelBuildingServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
340
+ Required<ClientDefaults> &
341
+ RegionResolvedConfig &
342
+ EndpointsResolvedConfig &
343
+ RetryResolvedConfig &
344
+ HostHeaderResolvedConfig &
345
+ AwsAuthResolvedConfig &
346
+ UserAgentResolvedConfig;
347
+ /**
348
+ * The resolved configuration interface of LexModelBuildingServiceClient class. This is resolved and normalized from the {@link LexModelBuildingServiceClientConfig | constructor configuration interface}.
349
+ */
350
+ export interface LexModelBuildingServiceClientResolvedConfig extends LexModelBuildingServiceClientResolvedConfigType {}
351
+
352
+ /**
353
+ * <fullname>Amazon Lex Build-Time Actions</fullname>
354
+ * <p> Amazon Lex is an AWS service for building conversational voice and text
355
+ * interfaces. Use these actions to create, update, and delete conversational
356
+ * bots for new and existing client applications. </p>
357
+ */
358
+ export class LexModelBuildingServiceClient extends __Client<
359
+ __HttpHandlerOptions,
360
+ ServiceInputTypes,
361
+ ServiceOutputTypes,
362
+ LexModelBuildingServiceClientResolvedConfig
363
+ > {
364
+ /**
365
+ * The resolved configuration of LexModelBuildingServiceClient class. This is resolved and normalized from the {@link LexModelBuildingServiceClientConfig | constructor configuration interface}.
366
+ */
367
+ readonly config: LexModelBuildingServiceClientResolvedConfig;
368
+
369
+ constructor(configuration: LexModelBuildingServiceClientConfig) {
370
+ const _config_0 = __getRuntimeConfig(configuration);
371
+ const _config_1 = resolveRegionConfig(_config_0);
372
+ const _config_2 = resolveEndpointsConfig(_config_1);
373
+ const _config_3 = resolveRetryConfig(_config_2);
374
+ const _config_4 = resolveHostHeaderConfig(_config_3);
375
+ const _config_5 = resolveAwsAuthConfig(_config_4);
376
+ const _config_6 = resolveUserAgentConfig(_config_5);
377
+ super(_config_6);
378
+ this.config = _config_6;
379
+ this.middlewareStack.use(getRetryPlugin(this.config));
380
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
381
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
382
+ this.middlewareStack.use(getLoggerPlugin(this.config));
383
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
384
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
385
+ }
386
+
387
+ /**
388
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
389
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
390
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
391
+ */
392
+ destroy(): void {
393
+ super.destroy();
394
+ }
395
+ }
@@ -0,0 +1,111 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import {
15
+ LexModelBuildingServiceClientResolvedConfig,
16
+ ServiceInputTypes,
17
+ ServiceOutputTypes,
18
+ } from "../LexModelBuildingServiceClient";
19
+ import { CreateBotVersionRequest, CreateBotVersionResponse } from "../models/models_0";
20
+ import {
21
+ deserializeAws_restJson1CreateBotVersionCommand,
22
+ serializeAws_restJson1CreateBotVersionCommand,
23
+ } from "../protocols/Aws_restJson1";
24
+
25
+ export interface CreateBotVersionCommandInput extends CreateBotVersionRequest {}
26
+ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse, __MetadataBearer {}
27
+
28
+ /**
29
+ * <p>Creates a new version of the bot based on the <code>$LATEST</code>
30
+ * version. If the <code>$LATEST</code> version of this resource hasn't
31
+ * changed since you created the last version, Amazon Lex doesn't create a new
32
+ * version. It returns the last created version.</p>
33
+ * <note>
34
+ * <p>You can update only the <code>$LATEST</code> version of the bot.
35
+ * You can't update the numbered versions that you create with the
36
+ * <code>CreateBotVersion</code> operation.</p>
37
+ * </note>
38
+ * <p> When you create the first version of a bot, Amazon Lex sets the version
39
+ * to 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
40
+ * <p> This operation requires permission for the
41
+ * <code>lex:CreateBotVersion</code> action. </p>
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { LexModelBuildingServiceClient, CreateBotVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
46
+ * // const { LexModelBuildingServiceClient, CreateBotVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
47
+ * const client = new LexModelBuildingServiceClient(config);
48
+ * const command = new CreateBotVersionCommand(input);
49
+ * const response = await client.send(command);
50
+ * ```
51
+ *
52
+ * @see {@link CreateBotVersionCommandInput} for command's `input` shape.
53
+ * @see {@link CreateBotVersionCommandOutput} for command's `response` shape.
54
+ * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
55
+ *
56
+ */
57
+ export class CreateBotVersionCommand extends $Command<
58
+ CreateBotVersionCommandInput,
59
+ CreateBotVersionCommandOutput,
60
+ LexModelBuildingServiceClientResolvedConfig
61
+ > {
62
+ // Start section: command_properties
63
+ // End section: command_properties
64
+
65
+ constructor(readonly input: CreateBotVersionCommandInput) {
66
+ // Start section: command_constructor
67
+ super();
68
+ // End section: command_constructor
69
+ }
70
+
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(
75
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
76
+ configuration: LexModelBuildingServiceClientResolvedConfig,
77
+ options?: __HttpHandlerOptions
78
+ ): Handler<CreateBotVersionCommandInput, CreateBotVersionCommandOutput> {
79
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
80
+
81
+ const stack = clientStack.concat(this.middlewareStack);
82
+
83
+ const { logger } = configuration;
84
+ const clientName = "LexModelBuildingServiceClient";
85
+ const commandName = "CreateBotVersionCommand";
86
+ const handlerExecutionContext: HandlerExecutionContext = {
87
+ logger,
88
+ clientName,
89
+ commandName,
90
+ inputFilterSensitiveLog: CreateBotVersionRequest.filterSensitiveLog,
91
+ outputFilterSensitiveLog: CreateBotVersionResponse.filterSensitiveLog,
92
+ };
93
+ const { requestHandler } = configuration;
94
+ return stack.resolve(
95
+ (request: FinalizeHandlerArguments<any>) =>
96
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
97
+ handlerExecutionContext
98
+ );
99
+ }
100
+
101
+ private serialize(input: CreateBotVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
102
+ return serializeAws_restJson1CreateBotVersionCommand(input, context);
103
+ }
104
+
105
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateBotVersionCommandOutput> {
106
+ return deserializeAws_restJson1CreateBotVersionCommand(output, context);
107
+ }
108
+
109
+ // Start section: command_body_extra
110
+ // End section: command_body_extra
111
+ }
@@ -0,0 +1,112 @@
1
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import {
5
+ FinalizeHandlerArguments,
6
+ Handler,
7
+ HandlerExecutionContext,
8
+ HttpHandlerOptions as __HttpHandlerOptions,
9
+ MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
11
+ SerdeContext as __SerdeContext,
12
+ } from "@aws-sdk/types";
13
+
14
+ import {
15
+ LexModelBuildingServiceClientResolvedConfig,
16
+ ServiceInputTypes,
17
+ ServiceOutputTypes,
18
+ } from "../LexModelBuildingServiceClient";
19
+ import { CreateIntentVersionRequest, CreateIntentVersionResponse } from "../models/models_0";
20
+ import {
21
+ deserializeAws_restJson1CreateIntentVersionCommand,
22
+ serializeAws_restJson1CreateIntentVersionCommand,
23
+ } from "../protocols/Aws_restJson1";
24
+
25
+ export interface CreateIntentVersionCommandInput extends CreateIntentVersionRequest {}
26
+ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionResponse, __MetadataBearer {}
27
+
28
+ /**
29
+ * <p>Creates a new version of an intent based on the
30
+ * <code>$LATEST</code> version of the intent. If the <code>$LATEST</code>
31
+ * version of this intent hasn't changed since you last updated it, Amazon Lex
32
+ * doesn't create a new version. It returns the last version you
33
+ * created.</p>
34
+ * <note>
35
+ * <p>You can update only the <code>$LATEST</code> version of the
36
+ * intent. You can't update the numbered versions that you create with the
37
+ * <code>CreateIntentVersion</code> operation.</p>
38
+ * </note>
39
+ * <p> When you create a version of an intent, Amazon Lex sets the version to
40
+ * 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
41
+ * <p>This operation requires permissions to perform the
42
+ * <code>lex:CreateIntentVersion</code> action. </p>
43
+ * @example
44
+ * Use a bare-bones client and the command you need to make an API call.
45
+ * ```javascript
46
+ * import { LexModelBuildingServiceClient, CreateIntentVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
47
+ * // const { LexModelBuildingServiceClient, CreateIntentVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
48
+ * const client = new LexModelBuildingServiceClient(config);
49
+ * const command = new CreateIntentVersionCommand(input);
50
+ * const response = await client.send(command);
51
+ * ```
52
+ *
53
+ * @see {@link CreateIntentVersionCommandInput} for command's `input` shape.
54
+ * @see {@link CreateIntentVersionCommandOutput} for command's `response` shape.
55
+ * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
56
+ *
57
+ */
58
+ export class CreateIntentVersionCommand extends $Command<
59
+ CreateIntentVersionCommandInput,
60
+ CreateIntentVersionCommandOutput,
61
+ LexModelBuildingServiceClientResolvedConfig
62
+ > {
63
+ // Start section: command_properties
64
+ // End section: command_properties
65
+
66
+ constructor(readonly input: CreateIntentVersionCommandInput) {
67
+ // Start section: command_constructor
68
+ super();
69
+ // End section: command_constructor
70
+ }
71
+
72
+ /**
73
+ * @internal
74
+ */
75
+ resolveMiddleware(
76
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
77
+ configuration: LexModelBuildingServiceClientResolvedConfig,
78
+ options?: __HttpHandlerOptions
79
+ ): Handler<CreateIntentVersionCommandInput, CreateIntentVersionCommandOutput> {
80
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
81
+
82
+ const stack = clientStack.concat(this.middlewareStack);
83
+
84
+ const { logger } = configuration;
85
+ const clientName = "LexModelBuildingServiceClient";
86
+ const commandName = "CreateIntentVersionCommand";
87
+ const handlerExecutionContext: HandlerExecutionContext = {
88
+ logger,
89
+ clientName,
90
+ commandName,
91
+ inputFilterSensitiveLog: CreateIntentVersionRequest.filterSensitiveLog,
92
+ outputFilterSensitiveLog: CreateIntentVersionResponse.filterSensitiveLog,
93
+ };
94
+ const { requestHandler } = configuration;
95
+ return stack.resolve(
96
+ (request: FinalizeHandlerArguments<any>) =>
97
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
98
+ handlerExecutionContext
99
+ );
100
+ }
101
+
102
+ private serialize(input: CreateIntentVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
103
+ return serializeAws_restJson1CreateIntentVersionCommand(input, context);
104
+ }
105
+
106
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateIntentVersionCommandOutput> {
107
+ return deserializeAws_restJson1CreateIntentVersionCommand(output, context);
108
+ }
109
+
110
+ // Start section: command_body_extra
111
+ // End section: command_body_extra
112
+ }