@aws-sdk/client-lex-model-building-service 3.34.0 → 3.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/LexModelBuildingService.js +4 -11
  3. package/{dist/cjs → dist-cjs}/LexModelBuildingServiceClient.js +8 -20
  4. package/dist-cjs/commands/CreateBotVersionCommand.js +36 -0
  5. package/dist-cjs/commands/CreateIntentVersionCommand.js +36 -0
  6. package/dist-cjs/commands/CreateSlotTypeVersionCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteBotAliasCommand.js +36 -0
  8. package/{dist/cjs → dist-cjs}/commands/DeleteBotChannelAssociationCommand.js +2 -30
  9. package/dist-cjs/commands/DeleteBotCommand.js +36 -0
  10. package/{dist/cjs → dist-cjs}/commands/DeleteBotVersionCommand.js +2 -30
  11. package/dist-cjs/commands/DeleteIntentCommand.js +36 -0
  12. package/{dist/cjs → dist-cjs}/commands/DeleteIntentVersionCommand.js +2 -30
  13. package/dist-cjs/commands/DeleteSlotTypeCommand.js +36 -0
  14. package/{dist/cjs → dist-cjs}/commands/DeleteSlotTypeVersionCommand.js +2 -30
  15. package/dist-cjs/commands/DeleteUtterancesCommand.js +36 -0
  16. package/{dist/cjs → dist-cjs}/commands/GetBotAliasCommand.js +2 -30
  17. package/{dist/cjs → dist-cjs}/commands/GetBotAliasesCommand.js +2 -29
  18. package/{dist/cjs → dist-cjs}/commands/GetBotChannelAssociationCommand.js +2 -30
  19. package/{dist/cjs → dist-cjs}/commands/GetBotChannelAssociationsCommand.js +2 -31
  20. package/{dist/cjs → dist-cjs}/commands/GetBotCommand.js +2 -30
  21. package/dist-cjs/commands/GetBotVersionsCommand.js +36 -0
  22. package/dist-cjs/commands/GetBotsCommand.js +36 -0
  23. package/{dist/cjs → dist-cjs}/commands/GetBuiltinIntentCommand.js +2 -29
  24. package/{dist/cjs → dist-cjs}/commands/GetBuiltinIntentsCommand.js +2 -30
  25. package/{dist/cjs → dist-cjs}/commands/GetBuiltinSlotTypesCommand.js +2 -33
  26. package/{dist/cjs → dist-cjs}/commands/GetExportCommand.js +2 -28
  27. package/{dist/cjs → dist-cjs}/commands/GetImportCommand.js +2 -28
  28. package/{dist/cjs → dist-cjs}/commands/GetIntentCommand.js +2 -30
  29. package/dist-cjs/commands/GetIntentVersionsCommand.js +36 -0
  30. package/dist-cjs/commands/GetIntentsCommand.js +36 -0
  31. package/{dist/cjs → dist-cjs}/commands/GetMigrationCommand.js +2 -29
  32. package/{dist/cjs → dist-cjs}/commands/GetMigrationsCommand.js +2 -27
  33. package/{dist/cjs → dist-cjs}/commands/GetSlotTypeCommand.js +2 -31
  34. package/dist-cjs/commands/GetSlotTypeVersionsCommand.js +36 -0
  35. package/dist-cjs/commands/GetSlotTypesCommand.js +36 -0
  36. package/dist-cjs/commands/GetUtterancesViewCommand.js +36 -0
  37. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  38. package/{dist/cjs → dist-cjs}/commands/PutBotAliasCommand.js +2 -32
  39. package/dist-cjs/commands/PutBotCommand.js +36 -0
  40. package/dist-cjs/commands/PutIntentCommand.js +36 -0
  41. package/dist-cjs/commands/PutSlotTypeCommand.js +36 -0
  42. package/{dist/cjs → dist-cjs}/commands/StartImportCommand.js +2 -27
  43. package/{dist/cjs → dist-cjs}/commands/StartMigrationCommand.js +2 -30
  44. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
  45. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  46. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  47. package/{dist/cjs → dist-cjs}/index.js +0 -1
  48. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  49. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -352
  50. package/{dist/cjs → dist-cjs}/pagination/GetBotAliasesPaginator.js +1 -12
  51. package/{dist/cjs → dist-cjs}/pagination/GetBotChannelAssociationsPaginator.js +1 -12
  52. package/{dist/cjs → dist-cjs}/pagination/GetBotVersionsPaginator.js +1 -12
  53. package/{dist/cjs → dist-cjs}/pagination/GetBotsPaginator.js +1 -12
  54. package/{dist/cjs → dist-cjs}/pagination/GetBuiltinIntentsPaginator.js +1 -12
  55. package/{dist/cjs → dist-cjs}/pagination/GetBuiltinSlotTypesPaginator.js +1 -12
  56. package/{dist/cjs → dist-cjs}/pagination/GetIntentVersionsPaginator.js +1 -12
  57. package/{dist/cjs → dist-cjs}/pagination/GetIntentsPaginator.js +1 -12
  58. package/{dist/cjs → dist-cjs}/pagination/GetMigrationsPaginator.js +1 -12
  59. package/{dist/cjs → dist-cjs}/pagination/GetSlotTypeVersionsPaginator.js +1 -12
  60. package/{dist/cjs → dist-cjs}/pagination/GetSlotTypesPaginator.js +1 -12
  61. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  62. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +9 -15
  63. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  64. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  65. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  66. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  67. package/{dist/es → dist-es}/LexModelBuildingService.js +4 -5
  68. package/{dist/es → dist-es}/LexModelBuildingServiceClient.js +1 -2
  69. package/{dist/es → dist-es}/commands/CreateBotVersionCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/CreateIntentVersionCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/CreateSlotTypeVersionCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/DeleteBotAliasCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/DeleteBotChannelAssociationCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/DeleteBotCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/DeleteBotVersionCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/DeleteIntentCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/DeleteIntentVersionCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/DeleteSlotTypeCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/DeleteSlotTypeVersionCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/DeleteUtterancesCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/GetBotAliasCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/GetBotAliasesCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/GetBotChannelAssociationCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/GetBotChannelAssociationsCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/GetBotCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/GetBotVersionsCommand.js +2 -3
  87. package/{dist/es → dist-es}/commands/GetBotsCommand.js +2 -3
  88. package/{dist/es → dist-es}/commands/GetBuiltinIntentCommand.js +2 -3
  89. package/{dist/es → dist-es}/commands/GetBuiltinIntentsCommand.js +2 -3
  90. package/{dist/es → dist-es}/commands/GetBuiltinSlotTypesCommand.js +2 -3
  91. package/{dist/es → dist-es}/commands/GetExportCommand.js +2 -3
  92. package/{dist/es → dist-es}/commands/GetImportCommand.js +2 -3
  93. package/{dist/es → dist-es}/commands/GetIntentCommand.js +2 -3
  94. package/{dist/es → dist-es}/commands/GetIntentVersionsCommand.js +2 -3
  95. package/{dist/es → dist-es}/commands/GetIntentsCommand.js +2 -3
  96. package/{dist/es → dist-es}/commands/GetMigrationCommand.js +2 -3
  97. package/{dist/es → dist-es}/commands/GetMigrationsCommand.js +2 -3
  98. package/{dist/es → dist-es}/commands/GetSlotTypeCommand.js +2 -3
  99. package/{dist/es → dist-es}/commands/GetSlotTypeVersionsCommand.js +2 -3
  100. package/{dist/es → dist-es}/commands/GetSlotTypesCommand.js +2 -3
  101. package/{dist/es → dist-es}/commands/GetUtterancesViewCommand.js +2 -3
  102. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  103. package/{dist/es → dist-es}/commands/PutBotAliasCommand.js +2 -3
  104. package/{dist/es → dist-es}/commands/PutBotCommand.js +2 -3
  105. package/{dist/es → dist-es}/commands/PutIntentCommand.js +2 -3
  106. package/{dist/es → dist-es}/commands/PutSlotTypeCommand.js +2 -3
  107. package/{dist/es → dist-es}/commands/StartImportCommand.js +2 -3
  108. package/{dist/es → dist-es}/commands/StartMigrationCommand.js +2 -3
  109. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  110. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  111. package/{dist/es → dist-es}/endpoints.js +1 -2
  112. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  113. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  114. package/{dist/es → dist-es}/models/models_0.js +0 -1
  115. package/{dist/es → dist-es}/pagination/GetBotAliasesPaginator.js +1 -2
  116. package/{dist/es → dist-es}/pagination/GetBotChannelAssociationsPaginator.js +1 -2
  117. package/{dist/es → dist-es}/pagination/GetBotVersionsPaginator.js +1 -2
  118. package/{dist/es → dist-es}/pagination/GetBotsPaginator.js +1 -2
  119. package/{dist/es → dist-es}/pagination/GetBuiltinIntentsPaginator.js +1 -2
  120. package/{dist/es → dist-es}/pagination/GetBuiltinSlotTypesPaginator.js +1 -2
  121. package/{dist/es → dist-es}/pagination/GetIntentVersionsPaginator.js +1 -2
  122. package/{dist/es → dist-es}/pagination/GetIntentsPaginator.js +1 -2
  123. package/{dist/es → dist-es}/pagination/GetMigrationsPaginator.js +1 -2
  124. package/{dist/es → dist-es}/pagination/GetSlotTypeVersionsPaginator.js +1 -2
  125. package/{dist/es → dist-es}/pagination/GetSlotTypesPaginator.js +1 -2
  126. package/dist-es/pagination/Interfaces.js +1 -0
  127. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  128. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  129. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  130. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  131. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  132. package/{dist/types → dist-types}/LexModelBuildingService.d.ts +5 -5
  133. package/{dist/types → dist-types}/LexModelBuildingServiceClient.d.ts +11 -11
  134. package/{dist/types → dist-types}/commands/CreateBotVersionCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/CreateIntentVersionCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/CreateSlotTypeVersionCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/DeleteBotAliasCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/DeleteBotChannelAssociationCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/DeleteBotCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/DeleteBotVersionCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/DeleteIntentCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/DeleteIntentVersionCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/DeleteSlotTypeCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/DeleteSlotTypeVersionCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/DeleteUtterancesCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/GetBotAliasCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/GetBotAliasesCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/GetBotChannelAssociationCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/GetBotChannelAssociationsCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/GetBotCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/GetBotVersionsCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/GetBotsCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/commands/GetBuiltinIntentCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/commands/GetBuiltinIntentsCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/commands/GetBuiltinSlotTypesCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/commands/GetExportCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/commands/GetImportCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/commands/GetIntentCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/commands/GetIntentVersionsCommand.d.ts +2 -2
  160. package/{dist/types → dist-types}/commands/GetIntentsCommand.d.ts +2 -2
  161. package/{dist/types → dist-types}/commands/GetMigrationCommand.d.ts +2 -2
  162. package/{dist/types → dist-types}/commands/GetMigrationsCommand.d.ts +2 -2
  163. package/{dist/types → dist-types}/commands/GetSlotTypeCommand.d.ts +2 -2
  164. package/{dist/types → dist-types}/commands/GetSlotTypeVersionsCommand.d.ts +2 -2
  165. package/{dist/types → dist-types}/commands/GetSlotTypesCommand.d.ts +2 -2
  166. package/{dist/types → dist-types}/commands/GetUtterancesViewCommand.d.ts +2 -2
  167. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  168. package/{dist/types → dist-types}/commands/PutBotAliasCommand.d.ts +2 -2
  169. package/{dist/types → dist-types}/commands/PutBotCommand.d.ts +2 -2
  170. package/{dist/types → dist-types}/commands/PutIntentCommand.d.ts +2 -2
  171. package/{dist/types → dist-types}/commands/PutSlotTypeCommand.d.ts +2 -2
  172. package/{dist/types → dist-types}/commands/StartImportCommand.d.ts +2 -2
  173. package/{dist/types → dist-types}/commands/StartMigrationCommand.d.ts +2 -2
  174. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  175. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  177. package/{index.ts → dist-types/index.d.ts} +0 -0
  178. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  179. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  180. package/{dist/types → dist-types}/pagination/GetBotAliasesPaginator.d.ts +1 -1
  181. package/{dist/types → dist-types}/pagination/GetBotChannelAssociationsPaginator.d.ts +1 -1
  182. package/{dist/types → dist-types}/pagination/GetBotVersionsPaginator.d.ts +1 -1
  183. package/{dist/types → dist-types}/pagination/GetBotsPaginator.d.ts +1 -1
  184. package/{dist/types → dist-types}/pagination/GetBuiltinIntentsPaginator.d.ts +1 -1
  185. package/{dist/types → dist-types}/pagination/GetBuiltinSlotTypesPaginator.d.ts +1 -1
  186. package/{dist/types → dist-types}/pagination/GetIntentVersionsPaginator.d.ts +1 -1
  187. package/{dist/types → dist-types}/pagination/GetIntentsPaginator.d.ts +1 -1
  188. package/{dist/types → dist-types}/pagination/GetMigrationsPaginator.d.ts +1 -1
  189. package/{dist/types → dist-types}/pagination/GetSlotTypeVersionsPaginator.d.ts +1 -1
  190. package/{dist/types → dist-types}/pagination/GetSlotTypesPaginator.d.ts +1 -1
  191. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  192. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +5 -5
  193. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +3 -0
  194. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  195. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  196. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  197. package/dist-types/ts3.4/LexModelBuildingService.d.ts +215 -0
  198. package/{dist/types → dist-types}/ts3.4/LexModelBuildingServiceClient.d.ts +35 -103
  199. package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/CreateIntentVersionCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +17 -0
  205. package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +17 -0
  207. package/dist-types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +17 -0
  208. package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +17 -0
  209. package/dist-types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +17 -0
  210. package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +17 -0
  211. package/dist-types/ts3.4/commands/GetBotAliasCommand.d.ts +17 -0
  212. package/dist-types/ts3.4/commands/GetBotAliasesCommand.d.ts +17 -0
  213. package/dist-types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +17 -0
  214. package/dist-types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +17 -0
  215. package/dist-types/ts3.4/commands/GetBotCommand.d.ts +17 -0
  216. package/dist-types/ts3.4/commands/GetBotVersionsCommand.d.ts +17 -0
  217. package/dist-types/ts3.4/commands/GetBotsCommand.d.ts +17 -0
  218. package/dist-types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +17 -0
  219. package/dist-types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +17 -0
  220. package/dist-types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +17 -0
  221. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +17 -0
  222. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +17 -0
  223. package/dist-types/ts3.4/commands/GetIntentCommand.d.ts +17 -0
  224. package/dist-types/ts3.4/commands/GetIntentVersionsCommand.d.ts +17 -0
  225. package/dist-types/ts3.4/commands/GetIntentsCommand.d.ts +17 -0
  226. package/dist-types/ts3.4/commands/GetMigrationCommand.d.ts +17 -0
  227. package/dist-types/ts3.4/commands/GetMigrationsCommand.d.ts +17 -0
  228. package/dist-types/ts3.4/commands/GetSlotTypeCommand.d.ts +17 -0
  229. package/dist-types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +17 -0
  230. package/dist-types/ts3.4/commands/GetSlotTypesCommand.d.ts +17 -0
  231. package/dist-types/ts3.4/commands/GetUtterancesViewCommand.d.ts +17 -0
  232. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  233. package/dist-types/ts3.4/commands/PutBotAliasCommand.d.ts +17 -0
  234. package/dist-types/ts3.4/commands/PutBotCommand.d.ts +17 -0
  235. package/dist-types/ts3.4/commands/PutIntentCommand.d.ts +17 -0
  236. package/dist-types/ts3.4/commands/PutSlotTypeCommand.d.ts +17 -0
  237. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +17 -0
  238. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +17 -0
  239. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  240. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  241. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  242. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  243. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  244. package/dist-types/ts3.4/models/models_0.d.ts +1884 -0
  245. package/{dist/types → dist-types}/ts3.4/pagination/GetBotAliasesPaginator.d.ts +1 -1
  246. package/{dist/types → dist-types}/ts3.4/pagination/GetBotChannelAssociationsPaginator.d.ts +1 -1
  247. package/{dist/types → dist-types}/ts3.4/pagination/GetBotVersionsPaginator.d.ts +1 -1
  248. package/{dist/types → dist-types}/ts3.4/pagination/GetBotsPaginator.d.ts +1 -1
  249. package/{dist/types → dist-types}/ts3.4/pagination/GetBuiltinIntentsPaginator.d.ts +1 -1
  250. package/{dist/types → dist-types}/ts3.4/pagination/GetBuiltinSlotTypesPaginator.d.ts +1 -1
  251. package/{dist/types → dist-types}/ts3.4/pagination/GetIntentVersionsPaginator.d.ts +1 -1
  252. package/{dist/types → dist-types}/ts3.4/pagination/GetIntentsPaginator.d.ts +1 -1
  253. package/{dist/types → dist-types}/ts3.4/pagination/GetMigrationsPaginator.d.ts +1 -1
  254. package/{dist/types → dist-types}/ts3.4/pagination/GetSlotTypeVersionsPaginator.d.ts +1 -1
  255. package/{dist/types → dist-types}/ts3.4/pagination/GetSlotTypesPaginator.d.ts +1 -1
  256. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  257. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +5 -5
  258. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +2 -3
  259. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  260. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  261. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  262. package/package.json +45 -42
  263. package/LexModelBuildingService.ts +0 -1756
  264. package/LexModelBuildingServiceClient.ts +0 -394
  265. package/commands/CreateBotVersionCommand.ts +0 -110
  266. package/commands/CreateIntentVersionCommand.ts +0 -111
  267. package/commands/CreateSlotTypeVersionCommand.ts +0 -113
  268. package/commands/DeleteBotAliasCommand.ts +0 -106
  269. package/commands/DeleteBotChannelAssociationCommand.ts +0 -104
  270. package/commands/DeleteBotCommand.ts +0 -114
  271. package/commands/DeleteBotVersionCommand.ts +0 -101
  272. package/commands/DeleteIntentCommand.ts +0 -115
  273. package/commands/DeleteIntentVersionCommand.ts +0 -101
  274. package/commands/DeleteSlotTypeCommand.ts +0 -114
  275. package/commands/DeleteSlotTypeVersionCommand.ts +0 -101
  276. package/commands/DeleteUtterancesCommand.ts +0 -109
  277. package/commands/GetBotAliasCommand.ts +0 -101
  278. package/commands/GetBotAliasesCommand.ts +0 -100
  279. package/commands/GetBotChannelAssociationCommand.ts +0 -101
  280. package/commands/GetBotChannelAssociationsCommand.ts +0 -105
  281. package/commands/GetBotCommand.ts +0 -98
  282. package/commands/GetBotVersionsCommand.ts +0 -108
  283. package/commands/GetBotsCommand.ts +0 -112
  284. package/commands/GetBuiltinIntentCommand.ts +0 -100
  285. package/commands/GetBuiltinIntentsCommand.ts +0 -101
  286. package/commands/GetBuiltinSlotTypesCommand.ts +0 -104
  287. package/commands/GetExportCommand.ts +0 -99
  288. package/commands/GetImportCommand.ts +0 -99
  289. package/commands/GetIntentCommand.ts +0 -101
  290. package/commands/GetIntentVersionsCommand.ts +0 -108
  291. package/commands/GetIntentsCommand.ts +0 -112
  292. package/commands/GetMigrationCommand.ts +0 -100
  293. package/commands/GetMigrationsCommand.ts +0 -98
  294. package/commands/GetSlotTypeCommand.ts +0 -102
  295. package/commands/GetSlotTypeVersionsCommand.ts +0 -108
  296. package/commands/GetSlotTypesCommand.ts +0 -112
  297. package/commands/GetUtterancesViewCommand.ts +0 -121
  298. package/commands/ListTagsForResourceCommand.ts +0 -99
  299. package/commands/PutBotAliasCommand.ts +0 -103
  300. package/commands/PutBotCommand.ts +0 -112
  301. package/commands/PutIntentCommand.ts +0 -155
  302. package/commands/PutSlotTypeCommand.ts +0 -113
  303. package/commands/StartImportCommand.ts +0 -98
  304. package/commands/StartMigrationCommand.ts +0 -101
  305. package/commands/TagResourceCommand.ts +0 -99
  306. package/commands/UntagResourceCommand.ts +0 -98
  307. package/dist/cjs/LexModelBuildingService.js.map +0 -1
  308. package/dist/cjs/LexModelBuildingServiceClient.js.map +0 -1
  309. package/dist/cjs/commands/CreateBotVersionCommand.js +0 -73
  310. package/dist/cjs/commands/CreateBotVersionCommand.js.map +0 -1
  311. package/dist/cjs/commands/CreateIntentVersionCommand.js +0 -74
  312. package/dist/cjs/commands/CreateIntentVersionCommand.js.map +0 -1
  313. package/dist/cjs/commands/CreateSlotTypeVersionCommand.js +0 -76
  314. package/dist/cjs/commands/CreateSlotTypeVersionCommand.js.map +0 -1
  315. package/dist/cjs/commands/DeleteBotAliasCommand.js +0 -69
  316. package/dist/cjs/commands/DeleteBotAliasCommand.js.map +0 -1
  317. package/dist/cjs/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
  318. package/dist/cjs/commands/DeleteBotCommand.js +0 -77
  319. package/dist/cjs/commands/DeleteBotCommand.js.map +0 -1
  320. package/dist/cjs/commands/DeleteBotVersionCommand.js.map +0 -1
  321. package/dist/cjs/commands/DeleteIntentCommand.js +0 -78
  322. package/dist/cjs/commands/DeleteIntentCommand.js.map +0 -1
  323. package/dist/cjs/commands/DeleteIntentVersionCommand.js.map +0 -1
  324. package/dist/cjs/commands/DeleteSlotTypeCommand.js +0 -77
  325. package/dist/cjs/commands/DeleteSlotTypeCommand.js.map +0 -1
  326. package/dist/cjs/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
  327. package/dist/cjs/commands/DeleteUtterancesCommand.js +0 -72
  328. package/dist/cjs/commands/DeleteUtterancesCommand.js.map +0 -1
  329. package/dist/cjs/commands/GetBotAliasCommand.js.map +0 -1
  330. package/dist/cjs/commands/GetBotAliasesCommand.js.map +0 -1
  331. package/dist/cjs/commands/GetBotChannelAssociationCommand.js.map +0 -1
  332. package/dist/cjs/commands/GetBotChannelAssociationsCommand.js.map +0 -1
  333. package/dist/cjs/commands/GetBotCommand.js.map +0 -1
  334. package/dist/cjs/commands/GetBotVersionsCommand.js +0 -71
  335. package/dist/cjs/commands/GetBotVersionsCommand.js.map +0 -1
  336. package/dist/cjs/commands/GetBotsCommand.js +0 -75
  337. package/dist/cjs/commands/GetBotsCommand.js.map +0 -1
  338. package/dist/cjs/commands/GetBuiltinIntentCommand.js.map +0 -1
  339. package/dist/cjs/commands/GetBuiltinIntentsCommand.js.map +0 -1
  340. package/dist/cjs/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
  341. package/dist/cjs/commands/GetExportCommand.js.map +0 -1
  342. package/dist/cjs/commands/GetImportCommand.js.map +0 -1
  343. package/dist/cjs/commands/GetIntentCommand.js.map +0 -1
  344. package/dist/cjs/commands/GetIntentVersionsCommand.js +0 -71
  345. package/dist/cjs/commands/GetIntentVersionsCommand.js.map +0 -1
  346. package/dist/cjs/commands/GetIntentsCommand.js +0 -75
  347. package/dist/cjs/commands/GetIntentsCommand.js.map +0 -1
  348. package/dist/cjs/commands/GetMigrationCommand.js.map +0 -1
  349. package/dist/cjs/commands/GetMigrationsCommand.js.map +0 -1
  350. package/dist/cjs/commands/GetSlotTypeCommand.js.map +0 -1
  351. package/dist/cjs/commands/GetSlotTypeVersionsCommand.js +0 -71
  352. package/dist/cjs/commands/GetSlotTypeVersionsCommand.js.map +0 -1
  353. package/dist/cjs/commands/GetSlotTypesCommand.js +0 -75
  354. package/dist/cjs/commands/GetSlotTypesCommand.js.map +0 -1
  355. package/dist/cjs/commands/GetUtterancesViewCommand.js +0 -84
  356. package/dist/cjs/commands/GetUtterancesViewCommand.js.map +0 -1
  357. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  358. package/dist/cjs/commands/PutBotAliasCommand.js.map +0 -1
  359. package/dist/cjs/commands/PutBotCommand.js +0 -78
  360. package/dist/cjs/commands/PutBotCommand.js.map +0 -1
  361. package/dist/cjs/commands/PutIntentCommand.js +0 -118
  362. package/dist/cjs/commands/PutIntentCommand.js.map +0 -1
  363. package/dist/cjs/commands/PutSlotTypeCommand.js +0 -76
  364. package/dist/cjs/commands/PutSlotTypeCommand.js.map +0 -1
  365. package/dist/cjs/commands/StartImportCommand.js.map +0 -1
  366. package/dist/cjs/commands/StartMigrationCommand.js.map +0 -1
  367. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  368. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  369. package/dist/cjs/endpoints.js.map +0 -1
  370. package/dist/cjs/index.js.map +0 -1
  371. package/dist/cjs/models/index.js.map +0 -1
  372. package/dist/cjs/models/models_0.js.map +0 -1
  373. package/dist/cjs/package.json +0 -91
  374. package/dist/cjs/pagination/GetBotAliasesPaginator.js.map +0 -1
  375. package/dist/cjs/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
  376. package/dist/cjs/pagination/GetBotVersionsPaginator.js.map +0 -1
  377. package/dist/cjs/pagination/GetBotsPaginator.js.map +0 -1
  378. package/dist/cjs/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
  379. package/dist/cjs/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
  380. package/dist/cjs/pagination/GetIntentVersionsPaginator.js.map +0 -1
  381. package/dist/cjs/pagination/GetIntentsPaginator.js.map +0 -1
  382. package/dist/cjs/pagination/GetMigrationsPaginator.js.map +0 -1
  383. package/dist/cjs/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
  384. package/dist/cjs/pagination/GetSlotTypesPaginator.js.map +0 -1
  385. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  386. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  387. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  388. package/dist/cjs/runtimeConfig.js.map +0 -1
  389. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  390. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  391. package/dist/es/LexModelBuildingService.js.map +0 -1
  392. package/dist/es/LexModelBuildingServiceClient.js.map +0 -1
  393. package/dist/es/commands/CreateBotVersionCommand.js.map +0 -1
  394. package/dist/es/commands/CreateIntentVersionCommand.js.map +0 -1
  395. package/dist/es/commands/CreateSlotTypeVersionCommand.js.map +0 -1
  396. package/dist/es/commands/DeleteBotAliasCommand.js.map +0 -1
  397. package/dist/es/commands/DeleteBotChannelAssociationCommand.js.map +0 -1
  398. package/dist/es/commands/DeleteBotCommand.js.map +0 -1
  399. package/dist/es/commands/DeleteBotVersionCommand.js.map +0 -1
  400. package/dist/es/commands/DeleteIntentCommand.js.map +0 -1
  401. package/dist/es/commands/DeleteIntentVersionCommand.js.map +0 -1
  402. package/dist/es/commands/DeleteSlotTypeCommand.js.map +0 -1
  403. package/dist/es/commands/DeleteSlotTypeVersionCommand.js.map +0 -1
  404. package/dist/es/commands/DeleteUtterancesCommand.js.map +0 -1
  405. package/dist/es/commands/GetBotAliasCommand.js.map +0 -1
  406. package/dist/es/commands/GetBotAliasesCommand.js.map +0 -1
  407. package/dist/es/commands/GetBotChannelAssociationCommand.js.map +0 -1
  408. package/dist/es/commands/GetBotChannelAssociationsCommand.js.map +0 -1
  409. package/dist/es/commands/GetBotCommand.js.map +0 -1
  410. package/dist/es/commands/GetBotVersionsCommand.js.map +0 -1
  411. package/dist/es/commands/GetBotsCommand.js.map +0 -1
  412. package/dist/es/commands/GetBuiltinIntentCommand.js.map +0 -1
  413. package/dist/es/commands/GetBuiltinIntentsCommand.js.map +0 -1
  414. package/dist/es/commands/GetBuiltinSlotTypesCommand.js.map +0 -1
  415. package/dist/es/commands/GetExportCommand.js.map +0 -1
  416. package/dist/es/commands/GetImportCommand.js.map +0 -1
  417. package/dist/es/commands/GetIntentCommand.js.map +0 -1
  418. package/dist/es/commands/GetIntentVersionsCommand.js.map +0 -1
  419. package/dist/es/commands/GetIntentsCommand.js.map +0 -1
  420. package/dist/es/commands/GetMigrationCommand.js.map +0 -1
  421. package/dist/es/commands/GetMigrationsCommand.js.map +0 -1
  422. package/dist/es/commands/GetSlotTypeCommand.js.map +0 -1
  423. package/dist/es/commands/GetSlotTypeVersionsCommand.js.map +0 -1
  424. package/dist/es/commands/GetSlotTypesCommand.js.map +0 -1
  425. package/dist/es/commands/GetUtterancesViewCommand.js.map +0 -1
  426. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  427. package/dist/es/commands/PutBotAliasCommand.js.map +0 -1
  428. package/dist/es/commands/PutBotCommand.js.map +0 -1
  429. package/dist/es/commands/PutIntentCommand.js.map +0 -1
  430. package/dist/es/commands/PutSlotTypeCommand.js.map +0 -1
  431. package/dist/es/commands/StartImportCommand.js.map +0 -1
  432. package/dist/es/commands/StartMigrationCommand.js.map +0 -1
  433. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  434. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  435. package/dist/es/endpoints.js.map +0 -1
  436. package/dist/es/index.js +0 -58
  437. package/dist/es/index.js.map +0 -1
  438. package/dist/es/models/index.js +0 -2
  439. package/dist/es/models/index.js.map +0 -1
  440. package/dist/es/models/models_0.js.map +0 -1
  441. package/dist/es/package.json +0 -91
  442. package/dist/es/pagination/GetBotAliasesPaginator.js.map +0 -1
  443. package/dist/es/pagination/GetBotChannelAssociationsPaginator.js.map +0 -1
  444. package/dist/es/pagination/GetBotVersionsPaginator.js.map +0 -1
  445. package/dist/es/pagination/GetBotsPaginator.js.map +0 -1
  446. package/dist/es/pagination/GetBuiltinIntentsPaginator.js.map +0 -1
  447. package/dist/es/pagination/GetBuiltinSlotTypesPaginator.js.map +0 -1
  448. package/dist/es/pagination/GetIntentVersionsPaginator.js.map +0 -1
  449. package/dist/es/pagination/GetIntentsPaginator.js.map +0 -1
  450. package/dist/es/pagination/GetMigrationsPaginator.js.map +0 -1
  451. package/dist/es/pagination/GetSlotTypeVersionsPaginator.js.map +0 -1
  452. package/dist/es/pagination/GetSlotTypesPaginator.js.map +0 -1
  453. package/dist/es/pagination/Interfaces.js +0 -2
  454. package/dist/es/pagination/Interfaces.js.map +0 -1
  455. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  456. package/dist/es/runtimeConfig.browser.js.map +0 -1
  457. package/dist/es/runtimeConfig.js.map +0 -1
  458. package/dist/es/runtimeConfig.native.js.map +0 -1
  459. package/dist/es/runtimeConfig.shared.js.map +0 -1
  460. package/dist/types/ts3.4/LexModelBuildingService.d.ts +0 -655
  461. package/dist/types/ts3.4/commands/CreateBotVersionCommand.d.ts +0 -47
  462. package/dist/types/ts3.4/commands/CreateIntentVersionCommand.d.ts +0 -48
  463. package/dist/types/ts3.4/commands/CreateSlotTypeVersionCommand.d.ts +0 -50
  464. package/dist/types/ts3.4/commands/DeleteBotAliasCommand.d.ts +0 -43
  465. package/dist/types/ts3.4/commands/DeleteBotChannelAssociationCommand.d.ts +0 -38
  466. package/dist/types/ts3.4/commands/DeleteBotCommand.d.ts +0 -51
  467. package/dist/types/ts3.4/commands/DeleteBotVersionCommand.d.ts +0 -38
  468. package/dist/types/ts3.4/commands/DeleteIntentCommand.d.ts +0 -52
  469. package/dist/types/ts3.4/commands/DeleteIntentVersionCommand.d.ts +0 -38
  470. package/dist/types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +0 -51
  471. package/dist/types/ts3.4/commands/DeleteSlotTypeVersionCommand.d.ts +0 -38
  472. package/dist/types/ts3.4/commands/DeleteUtterancesCommand.d.ts +0 -46
  473. package/dist/types/ts3.4/commands/GetBotAliasCommand.d.ts +0 -38
  474. package/dist/types/ts3.4/commands/GetBotAliasesCommand.d.ts +0 -37
  475. package/dist/types/ts3.4/commands/GetBotChannelAssociationCommand.d.ts +0 -38
  476. package/dist/types/ts3.4/commands/GetBotChannelAssociationsCommand.d.ts +0 -39
  477. package/dist/types/ts3.4/commands/GetBotCommand.d.ts +0 -38
  478. package/dist/types/ts3.4/commands/GetBotVersionsCommand.d.ts +0 -45
  479. package/dist/types/ts3.4/commands/GetBotsCommand.d.ts +0 -49
  480. package/dist/types/ts3.4/commands/GetBuiltinIntentCommand.d.ts +0 -37
  481. package/dist/types/ts3.4/commands/GetBuiltinIntentsCommand.d.ts +0 -38
  482. package/dist/types/ts3.4/commands/GetBuiltinSlotTypesCommand.d.ts +0 -41
  483. package/dist/types/ts3.4/commands/GetExportCommand.d.ts +0 -36
  484. package/dist/types/ts3.4/commands/GetImportCommand.d.ts +0 -36
  485. package/dist/types/ts3.4/commands/GetIntentCommand.d.ts +0 -38
  486. package/dist/types/ts3.4/commands/GetIntentVersionsCommand.d.ts +0 -45
  487. package/dist/types/ts3.4/commands/GetIntentsCommand.d.ts +0 -49
  488. package/dist/types/ts3.4/commands/GetMigrationCommand.d.ts +0 -37
  489. package/dist/types/ts3.4/commands/GetMigrationsCommand.d.ts +0 -35
  490. package/dist/types/ts3.4/commands/GetSlotTypeCommand.d.ts +0 -39
  491. package/dist/types/ts3.4/commands/GetSlotTypeVersionsCommand.d.ts +0 -45
  492. package/dist/types/ts3.4/commands/GetSlotTypesCommand.d.ts +0 -49
  493. package/dist/types/ts3.4/commands/GetUtterancesViewCommand.d.ts +0 -58
  494. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  495. package/dist/types/ts3.4/commands/PutBotAliasCommand.d.ts +0 -40
  496. package/dist/types/ts3.4/commands/PutBotCommand.d.ts +0 -52
  497. package/dist/types/ts3.4/commands/PutIntentCommand.d.ts +0 -92
  498. package/dist/types/ts3.4/commands/PutSlotTypeCommand.d.ts +0 -50
  499. package/dist/types/ts3.4/commands/StartImportCommand.d.ts +0 -35
  500. package/dist/types/ts3.4/commands/StartMigrationCommand.d.ts +0 -38
  501. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
  502. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  503. package/dist/types/ts3.4/models/models_0.d.ts +0 -4362
  504. package/endpoints.ts +0 -72
  505. package/jest.config.js +0 -4
  506. package/models/models_0.ts +0 -5241
  507. package/pagination/GetBotAliasesPaginator.ts +0 -58
  508. package/pagination/GetBotChannelAssociationsPaginator.ts +0 -58
  509. package/pagination/GetBotVersionsPaginator.ts +0 -58
  510. package/pagination/GetBotsPaginator.ts +0 -54
  511. package/pagination/GetBuiltinIntentsPaginator.ts +0 -58
  512. package/pagination/GetBuiltinSlotTypesPaginator.ts +0 -58
  513. package/pagination/GetIntentVersionsPaginator.ts +0 -58
  514. package/pagination/GetIntentsPaginator.ts +0 -54
  515. package/pagination/GetMigrationsPaginator.ts +0 -58
  516. package/pagination/GetSlotTypeVersionsPaginator.ts +0 -58
  517. package/pagination/GetSlotTypesPaginator.ts +0 -58
  518. package/pagination/Interfaces.ts +0 -7
  519. package/protocols/Aws_restJson1.ts +0 -7154
  520. package/runtimeConfig.browser.ts +0 -40
  521. package/runtimeConfig.native.ts +0 -16
  522. package/runtimeConfig.shared.ts +0 -16
  523. package/runtimeConfig.ts +0 -45
  524. package/tsconfig.es.json +0 -10
  525. package/tsconfig.json +0 -31
  526. package/tsconfig.types.json +0 -8
@@ -1,101 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { DeleteIntentVersionRequest } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1DeleteIntentVersionCommand,
9
- serializeAws_restJson1DeleteIntentVersionCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface DeleteIntentVersionCommandInput extends DeleteIntentVersionRequest {}
25
- export interface DeleteIntentVersionCommandOutput extends __MetadataBearer {}
26
-
27
- /**
28
- * <p>Deletes a specific version of an intent. To delete all versions of
29
- * a intent, use the <a>DeleteIntent</a> operation. </p>
30
- * <p>This operation requires permissions for the
31
- * <code>lex:DeleteIntentVersion</code> action.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { LexModelBuildingServiceClient, DeleteIntentVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
36
- * // const { LexModelBuildingServiceClient, DeleteIntentVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
37
- * const client = new LexModelBuildingServiceClient(config);
38
- * const command = new DeleteIntentVersionCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DeleteIntentVersionCommandInput} for command's `input` shape.
43
- * @see {@link DeleteIntentVersionCommandOutput} for command's `response` shape.
44
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class DeleteIntentVersionCommand extends $Command<
48
- DeleteIntentVersionCommandInput,
49
- DeleteIntentVersionCommandOutput,
50
- LexModelBuildingServiceClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: DeleteIntentVersionCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: LexModelBuildingServiceClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<DeleteIntentVersionCommandInput, DeleteIntentVersionCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "LexModelBuildingServiceClient";
75
- const commandName = "DeleteIntentVersionCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: DeleteIntentVersionRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: (output: any) => output,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: DeleteIntentVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1DeleteIntentVersionCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteIntentVersionCommandOutput> {
96
- return deserializeAws_restJson1DeleteIntentVersionCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,114 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { DeleteSlotTypeRequest } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1DeleteSlotTypeCommand,
9
- serializeAws_restJson1DeleteSlotTypeCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface DeleteSlotTypeCommandInput extends DeleteSlotTypeRequest {}
25
- export interface DeleteSlotTypeCommandOutput extends __MetadataBearer {}
26
-
27
- /**
28
- * <p>Deletes all versions of the slot type, including the
29
- * <code>$LATEST</code> version. To delete a specific version of the slot
30
- * type, use the <a>DeleteSlotTypeVersion</a> operation.</p>
31
- * <p> You can delete a version of a slot type only if it is not
32
- * referenced. To delete a slot type that is referred to in one or more
33
- * intents, you must remove those references first. </p>
34
- * <note>
35
- * <p> If you get the <code>ResourceInUseException</code> exception,
36
- * the exception provides an example reference that shows the intent where
37
- * the slot type is referenced. To remove the reference to the slot type,
38
- * either update the intent or delete it. If you get the same exception
39
- * when you attempt to delete the slot type again, repeat until the slot
40
- * type has no references and the <code>DeleteSlotType</code> call is
41
- * successful. </p>
42
- * </note>
43
- * <p>This operation requires permission for the
44
- * <code>lex:DeleteSlotType</code> action.</p>
45
- * @example
46
- * Use a bare-bones client and the command you need to make an API call.
47
- * ```javascript
48
- * import { LexModelBuildingServiceClient, DeleteSlotTypeCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
49
- * // const { LexModelBuildingServiceClient, DeleteSlotTypeCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
50
- * const client = new LexModelBuildingServiceClient(config);
51
- * const command = new DeleteSlotTypeCommand(input);
52
- * const response = await client.send(command);
53
- * ```
54
- *
55
- * @see {@link DeleteSlotTypeCommandInput} for command's `input` shape.
56
- * @see {@link DeleteSlotTypeCommandOutput} for command's `response` shape.
57
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
58
- *
59
- */
60
- export class DeleteSlotTypeCommand extends $Command<
61
- DeleteSlotTypeCommandInput,
62
- DeleteSlotTypeCommandOutput,
63
- LexModelBuildingServiceClientResolvedConfig
64
- > {
65
- // Start section: command_properties
66
- // End section: command_properties
67
-
68
- constructor(readonly input: DeleteSlotTypeCommandInput) {
69
- // Start section: command_constructor
70
- super();
71
- // End section: command_constructor
72
- }
73
-
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(
78
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
79
- configuration: LexModelBuildingServiceClientResolvedConfig,
80
- options?: __HttpHandlerOptions
81
- ): Handler<DeleteSlotTypeCommandInput, DeleteSlotTypeCommandOutput> {
82
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
83
-
84
- const stack = clientStack.concat(this.middlewareStack);
85
-
86
- const { logger } = configuration;
87
- const clientName = "LexModelBuildingServiceClient";
88
- const commandName = "DeleteSlotTypeCommand";
89
- const handlerExecutionContext: HandlerExecutionContext = {
90
- logger,
91
- clientName,
92
- commandName,
93
- inputFilterSensitiveLog: DeleteSlotTypeRequest.filterSensitiveLog,
94
- outputFilterSensitiveLog: (output: any) => output,
95
- };
96
- const { requestHandler } = configuration;
97
- return stack.resolve(
98
- (request: FinalizeHandlerArguments<any>) =>
99
- requestHandler.handle(request.request as __HttpRequest, options || {}),
100
- handlerExecutionContext
101
- );
102
- }
103
-
104
- private serialize(input: DeleteSlotTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
105
- return serializeAws_restJson1DeleteSlotTypeCommand(input, context);
106
- }
107
-
108
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSlotTypeCommandOutput> {
109
- return deserializeAws_restJson1DeleteSlotTypeCommand(output, context);
110
- }
111
-
112
- // Start section: command_body_extra
113
- // End section: command_body_extra
114
- }
@@ -1,101 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { DeleteSlotTypeVersionRequest } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1DeleteSlotTypeVersionCommand,
9
- serializeAws_restJson1DeleteSlotTypeVersionCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface DeleteSlotTypeVersionCommandInput extends DeleteSlotTypeVersionRequest {}
25
- export interface DeleteSlotTypeVersionCommandOutput extends __MetadataBearer {}
26
-
27
- /**
28
- * <p>Deletes a specific version of a slot type. To delete all versions
29
- * of a slot type, use the <a>DeleteSlotType</a> operation. </p>
30
- * <p>This operation requires permissions for the
31
- * <code>lex:DeleteSlotTypeVersion</code> action.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { LexModelBuildingServiceClient, DeleteSlotTypeVersionCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
36
- * // const { LexModelBuildingServiceClient, DeleteSlotTypeVersionCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
37
- * const client = new LexModelBuildingServiceClient(config);
38
- * const command = new DeleteSlotTypeVersionCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DeleteSlotTypeVersionCommandInput} for command's `input` shape.
43
- * @see {@link DeleteSlotTypeVersionCommandOutput} for command's `response` shape.
44
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class DeleteSlotTypeVersionCommand extends $Command<
48
- DeleteSlotTypeVersionCommandInput,
49
- DeleteSlotTypeVersionCommandOutput,
50
- LexModelBuildingServiceClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: DeleteSlotTypeVersionCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: LexModelBuildingServiceClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<DeleteSlotTypeVersionCommandInput, DeleteSlotTypeVersionCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "LexModelBuildingServiceClient";
75
- const commandName = "DeleteSlotTypeVersionCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: DeleteSlotTypeVersionRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: (output: any) => output,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: DeleteSlotTypeVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1DeleteSlotTypeVersionCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSlotTypeVersionCommandOutput> {
96
- return deserializeAws_restJson1DeleteSlotTypeVersionCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,109 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { DeleteUtterancesRequest } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1DeleteUtterancesCommand,
9
- serializeAws_restJson1DeleteUtterancesCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface DeleteUtterancesCommandInput extends DeleteUtterancesRequest {}
25
- export interface DeleteUtterancesCommandOutput extends __MetadataBearer {}
26
-
27
- /**
28
- * <p>Deletes stored utterances.</p>
29
- * <p>Amazon Lex stores the utterances that users send to your bot. Utterances
30
- * are stored for 15 days for use with the <a>GetUtterancesView</a> operation, and then stored indefinitely for use in improving the
31
- * ability of your bot to respond to user input.</p>
32
- * <p>Use the <code>DeleteUtterances</code> operation to manually delete
33
- * stored utterances for a specific user. When you use the
34
- * <code>DeleteUtterances</code> operation, utterances stored for improving
35
- * your bot's ability to respond to user input are deleted immediately.
36
- * Utterances stored for use with the <code>GetUtterancesView</code>
37
- * operation are deleted after 15 days.</p>
38
- * <p>This operation requires permissions for the
39
- * <code>lex:DeleteUtterances</code> action.</p>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { LexModelBuildingServiceClient, DeleteUtterancesCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
44
- * // const { LexModelBuildingServiceClient, DeleteUtterancesCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
45
- * const client = new LexModelBuildingServiceClient(config);
46
- * const command = new DeleteUtterancesCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link DeleteUtterancesCommandInput} for command's `input` shape.
51
- * @see {@link DeleteUtterancesCommandOutput} for command's `response` shape.
52
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
- export class DeleteUtterancesCommand extends $Command<
56
- DeleteUtterancesCommandInput,
57
- DeleteUtterancesCommandOutput,
58
- LexModelBuildingServiceClientResolvedConfig
59
- > {
60
- // Start section: command_properties
61
- // End section: command_properties
62
-
63
- constructor(readonly input: DeleteUtterancesCommandInput) {
64
- // Start section: command_constructor
65
- super();
66
- // End section: command_constructor
67
- }
68
-
69
- /**
70
- * @internal
71
- */
72
- resolveMiddleware(
73
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
74
- configuration: LexModelBuildingServiceClientResolvedConfig,
75
- options?: __HttpHandlerOptions
76
- ): Handler<DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput> {
77
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
78
-
79
- const stack = clientStack.concat(this.middlewareStack);
80
-
81
- const { logger } = configuration;
82
- const clientName = "LexModelBuildingServiceClient";
83
- const commandName = "DeleteUtterancesCommand";
84
- const handlerExecutionContext: HandlerExecutionContext = {
85
- logger,
86
- clientName,
87
- commandName,
88
- inputFilterSensitiveLog: DeleteUtterancesRequest.filterSensitiveLog,
89
- outputFilterSensitiveLog: (output: any) => output,
90
- };
91
- const { requestHandler } = configuration;
92
- return stack.resolve(
93
- (request: FinalizeHandlerArguments<any>) =>
94
- requestHandler.handle(request.request as __HttpRequest, options || {}),
95
- handlerExecutionContext
96
- );
97
- }
98
-
99
- private serialize(input: DeleteUtterancesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
100
- return serializeAws_restJson1DeleteUtterancesCommand(input, context);
101
- }
102
-
103
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteUtterancesCommandOutput> {
104
- return deserializeAws_restJson1DeleteUtterancesCommand(output, context);
105
- }
106
-
107
- // Start section: command_body_extra
108
- // End section: command_body_extra
109
- }
@@ -1,101 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { GetBotAliasRequest, GetBotAliasResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetBotAliasCommand,
9
- serializeAws_restJson1GetBotAliasCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface GetBotAliasCommandInput extends GetBotAliasRequest {}
25
- export interface GetBotAliasCommandOutput extends GetBotAliasResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns information about an Amazon Lex bot alias. For more information
29
- * about aliases, see <a>versioning-aliases</a>.</p>
30
- * <p>This operation requires permissions for the
31
- * <code>lex:GetBotAlias</code> action.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { LexModelBuildingServiceClient, GetBotAliasCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
36
- * // const { LexModelBuildingServiceClient, GetBotAliasCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
37
- * const client = new LexModelBuildingServiceClient(config);
38
- * const command = new GetBotAliasCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link GetBotAliasCommandInput} for command's `input` shape.
43
- * @see {@link GetBotAliasCommandOutput} for command's `response` shape.
44
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class GetBotAliasCommand extends $Command<
48
- GetBotAliasCommandInput,
49
- GetBotAliasCommandOutput,
50
- LexModelBuildingServiceClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: GetBotAliasCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: LexModelBuildingServiceClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<GetBotAliasCommandInput, GetBotAliasCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "LexModelBuildingServiceClient";
75
- const commandName = "GetBotAliasCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: GetBotAliasRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: GetBotAliasResponse.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: GetBotAliasCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1GetBotAliasCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBotAliasCommandOutput> {
96
- return deserializeAws_restJson1GetBotAliasCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,100 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { GetBotAliasesRequest, GetBotAliasesResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetBotAliasesCommand,
9
- serializeAws_restJson1GetBotAliasesCommand,
10
- } from "../protocols/Aws_restJson1";
11
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
12
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
13
- import { Command as $Command } from "@aws-sdk/smithy-client";
14
- import {
15
- FinalizeHandlerArguments,
16
- Handler,
17
- HandlerExecutionContext,
18
- MiddlewareStack,
19
- HttpHandlerOptions as __HttpHandlerOptions,
20
- MetadataBearer as __MetadataBearer,
21
- SerdeContext as __SerdeContext,
22
- } from "@aws-sdk/types";
23
-
24
- export interface GetBotAliasesCommandInput extends GetBotAliasesRequest {}
25
- export interface GetBotAliasesCommandOutput extends GetBotAliasesResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns a list of aliases for a specified Amazon Lex bot.</p>
29
- * <p>This operation requires permissions for the
30
- * <code>lex:GetBotAliases</code> action.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { LexModelBuildingServiceClient, GetBotAliasesCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
35
- * // const { LexModelBuildingServiceClient, GetBotAliasesCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
36
- * const client = new LexModelBuildingServiceClient(config);
37
- * const command = new GetBotAliasesCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link GetBotAliasesCommandInput} for command's `input` shape.
42
- * @see {@link GetBotAliasesCommandOutput} for command's `response` shape.
43
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class GetBotAliasesCommand extends $Command<
47
- GetBotAliasesCommandInput,
48
- GetBotAliasesCommandOutput,
49
- LexModelBuildingServiceClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: GetBotAliasesCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: LexModelBuildingServiceClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<GetBotAliasesCommandInput, GetBotAliasesCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "LexModelBuildingServiceClient";
74
- const commandName = "GetBotAliasesCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: GetBotAliasesRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: GetBotAliasesResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: GetBotAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1GetBotAliasesCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetBotAliasesCommandOutput> {
95
- return deserializeAws_restJson1GetBotAliasesCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }