@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,112 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { GetIntentsRequest, GetIntentsResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetIntentsCommand,
9
- serializeAws_restJson1GetIntentsCommand,
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 GetIntentsCommandInput extends GetIntentsRequest {}
25
- export interface GetIntentsCommandOutput extends GetIntentsResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns intent information as follows: </p>
29
- * <ul>
30
- * <li>
31
- * <p>If you specify the <code>nameContains</code> field, returns the
32
- * <code>$LATEST</code> version of all intents that contain the
33
- * specified string.</p>
34
- * </li>
35
- * <li>
36
- * <p> If you don't specify the <code>nameContains</code> field,
37
- * returns information about the <code>$LATEST</code> version of all
38
- * intents. </p>
39
- * </li>
40
- * </ul>
41
- * <p> The operation requires permission for the
42
- * <code>lex:GetIntents</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, GetIntentsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
47
- * // const { LexModelBuildingServiceClient, GetIntentsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
48
- * const client = new LexModelBuildingServiceClient(config);
49
- * const command = new GetIntentsCommand(input);
50
- * const response = await client.send(command);
51
- * ```
52
- *
53
- * @see {@link GetIntentsCommandInput} for command's `input` shape.
54
- * @see {@link GetIntentsCommandOutput} for command's `response` shape.
55
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
56
- *
57
- */
58
- export class GetIntentsCommand extends $Command<
59
- GetIntentsCommandInput,
60
- GetIntentsCommandOutput,
61
- LexModelBuildingServiceClientResolvedConfig
62
- > {
63
- // Start section: command_properties
64
- // End section: command_properties
65
-
66
- constructor(readonly input: GetIntentsCommandInput) {
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<GetIntentsCommandInput, GetIntentsCommandOutput> {
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 = "GetIntentsCommand";
87
- const handlerExecutionContext: HandlerExecutionContext = {
88
- logger,
89
- clientName,
90
- commandName,
91
- inputFilterSensitiveLog: GetIntentsRequest.filterSensitiveLog,
92
- outputFilterSensitiveLog: GetIntentsResponse.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: GetIntentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
103
- return serializeAws_restJson1GetIntentsCommand(input, context);
104
- }
105
-
106
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetIntentsCommandOutput> {
107
- return deserializeAws_restJson1GetIntentsCommand(output, context);
108
- }
109
-
110
- // Start section: command_body_extra
111
- // End section: command_body_extra
112
- }
@@ -1,100 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { GetMigrationRequest, GetMigrationResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetMigrationCommand,
9
- serializeAws_restJson1GetMigrationCommand,
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 GetMigrationCommandInput extends GetMigrationRequest {}
25
- export interface GetMigrationCommandOutput extends GetMigrationResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Provides details about an ongoing or complete migration from an
29
- * Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration
30
- * alerts and warnings related to the migration.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { LexModelBuildingServiceClient, GetMigrationCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
35
- * // const { LexModelBuildingServiceClient, GetMigrationCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
36
- * const client = new LexModelBuildingServiceClient(config);
37
- * const command = new GetMigrationCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link GetMigrationCommandInput} for command's `input` shape.
42
- * @see {@link GetMigrationCommandOutput} for command's `response` shape.
43
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class GetMigrationCommand extends $Command<
47
- GetMigrationCommandInput,
48
- GetMigrationCommandOutput,
49
- LexModelBuildingServiceClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: GetMigrationCommandInput) {
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<GetMigrationCommandInput, GetMigrationCommandOutput> {
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 = "GetMigrationCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: GetMigrationRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: GetMigrationResponse.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: GetMigrationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1GetMigrationCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMigrationCommandOutput> {
95
- return deserializeAws_restJson1GetMigrationCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,98 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { GetMigrationsRequest, GetMigrationsResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetMigrationsCommand,
9
- serializeAws_restJson1GetMigrationsCommand,
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 GetMigrationsCommandInput extends GetMigrationsRequest {}
25
- export interface GetMigrationsCommandOutput extends GetMigrationsResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Gets a list of migrations between Amazon Lex V1 and Amazon Lex V2.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { LexModelBuildingServiceClient, GetMigrationsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
33
- * // const { LexModelBuildingServiceClient, GetMigrationsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
34
- * const client = new LexModelBuildingServiceClient(config);
35
- * const command = new GetMigrationsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link GetMigrationsCommandInput} for command's `input` shape.
40
- * @see {@link GetMigrationsCommandOutput} for command's `response` shape.
41
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class GetMigrationsCommand extends $Command<
45
- GetMigrationsCommandInput,
46
- GetMigrationsCommandOutput,
47
- LexModelBuildingServiceClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: GetMigrationsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: LexModelBuildingServiceClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<GetMigrationsCommandInput, GetMigrationsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "LexModelBuildingServiceClient";
72
- const commandName = "GetMigrationsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: GetMigrationsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: GetMigrationsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: GetMigrationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1GetMigrationsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMigrationsCommandOutput> {
93
- return deserializeAws_restJson1GetMigrationsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,102 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { GetSlotTypeRequest, GetSlotTypeResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetSlotTypeCommand,
9
- serializeAws_restJson1GetSlotTypeCommand,
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 GetSlotTypeCommandInput extends GetSlotTypeRequest {}
25
- export interface GetSlotTypeCommandOutput extends GetSlotTypeResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns information about a specific version of a slot type. In
29
- * addition to specifying the slot type name, you must specify the slot type
30
- * version.</p>
31
- * <p>This operation requires permissions for the
32
- * <code>lex:GetSlotType</code> action.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { LexModelBuildingServiceClient, GetSlotTypeCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
37
- * // const { LexModelBuildingServiceClient, GetSlotTypeCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
38
- * const client = new LexModelBuildingServiceClient(config);
39
- * const command = new GetSlotTypeCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link GetSlotTypeCommandInput} for command's `input` shape.
44
- * @see {@link GetSlotTypeCommandOutput} for command's `response` shape.
45
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class GetSlotTypeCommand extends $Command<
49
- GetSlotTypeCommandInput,
50
- GetSlotTypeCommandOutput,
51
- LexModelBuildingServiceClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: GetSlotTypeCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: LexModelBuildingServiceClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<GetSlotTypeCommandInput, GetSlotTypeCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "LexModelBuildingServiceClient";
76
- const commandName = "GetSlotTypeCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: GetSlotTypeRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: GetSlotTypeResponse.filterSensitiveLog,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: GetSlotTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_restJson1GetSlotTypeCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetSlotTypeCommandOutput> {
97
- return deserializeAws_restJson1GetSlotTypeCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,108 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { GetSlotTypeVersionsRequest, GetSlotTypeVersionsResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetSlotTypeVersionsCommand,
9
- serializeAws_restJson1GetSlotTypeVersionsCommand,
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 GetSlotTypeVersionsCommandInput extends GetSlotTypeVersionsRequest {}
25
- export interface GetSlotTypeVersionsCommandOutput extends GetSlotTypeVersionsResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Gets information about all versions of a slot type.</p>
29
- * <p>The <code>GetSlotTypeVersions</code> operation returns a
30
- * <code>SlotTypeMetadata</code> object for each version of a slot type.
31
- * For example, if a slot type has three numbered versions, the
32
- * <code>GetSlotTypeVersions</code> operation returns four
33
- * <code>SlotTypeMetadata</code> objects in the response, one for each
34
- * numbered version and one for the <code>$LATEST</code> version. </p>
35
- * <p>The <code>GetSlotTypeVersions</code> operation always returns at
36
- * least one version, the <code>$LATEST</code> version.</p>
37
- * <p>This operation requires permissions for the
38
- * <code>lex:GetSlotTypeVersions</code> action.</p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { LexModelBuildingServiceClient, GetSlotTypeVersionsCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
43
- * // const { LexModelBuildingServiceClient, GetSlotTypeVersionsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
44
- * const client = new LexModelBuildingServiceClient(config);
45
- * const command = new GetSlotTypeVersionsCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link GetSlotTypeVersionsCommandInput} for command's `input` shape.
50
- * @see {@link GetSlotTypeVersionsCommandOutput} for command's `response` shape.
51
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class GetSlotTypeVersionsCommand extends $Command<
55
- GetSlotTypeVersionsCommandInput,
56
- GetSlotTypeVersionsCommandOutput,
57
- LexModelBuildingServiceClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: GetSlotTypeVersionsCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: LexModelBuildingServiceClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<GetSlotTypeVersionsCommandInput, GetSlotTypeVersionsCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "LexModelBuildingServiceClient";
82
- const commandName = "GetSlotTypeVersionsCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: GetSlotTypeVersionsRequest.filterSensitiveLog,
88
- outputFilterSensitiveLog: GetSlotTypeVersionsResponse.filterSensitiveLog,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(input: GetSlotTypeVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
99
- return serializeAws_restJson1GetSlotTypeVersionsCommand(input, context);
100
- }
101
-
102
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetSlotTypeVersionsCommandOutput> {
103
- return deserializeAws_restJson1GetSlotTypeVersionsCommand(output, context);
104
- }
105
-
106
- // Start section: command_body_extra
107
- // End section: command_body_extra
108
- }
@@ -1,112 +0,0 @@
1
- import {
2
- LexModelBuildingServiceClientResolvedConfig,
3
- ServiceInputTypes,
4
- ServiceOutputTypes,
5
- } from "../LexModelBuildingServiceClient";
6
- import { GetSlotTypesRequest, GetSlotTypesResponse } from "../models/models_0";
7
- import {
8
- deserializeAws_restJson1GetSlotTypesCommand,
9
- serializeAws_restJson1GetSlotTypesCommand,
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 GetSlotTypesCommandInput extends GetSlotTypesRequest {}
25
- export interface GetSlotTypesCommandOutput extends GetSlotTypesResponse, __MetadataBearer {}
26
-
27
- /**
28
- * <p>Returns slot type information as follows: </p>
29
- * <ul>
30
- * <li>
31
- * <p>If you specify the <code>nameContains</code> field, returns the
32
- * <code>$LATEST</code> version of all slot types that contain the
33
- * specified string.</p>
34
- * </li>
35
- * <li>
36
- * <p> If you don't specify the <code>nameContains</code> field,
37
- * returns information about the <code>$LATEST</code> version of all slot
38
- * types. </p>
39
- * </li>
40
- * </ul>
41
- * <p> The operation requires permission for the
42
- * <code>lex:GetSlotTypes</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, GetSlotTypesCommand } from "@aws-sdk/client-lex-model-building-service"; // ES Modules import
47
- * // const { LexModelBuildingServiceClient, GetSlotTypesCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
48
- * const client = new LexModelBuildingServiceClient(config);
49
- * const command = new GetSlotTypesCommand(input);
50
- * const response = await client.send(command);
51
- * ```
52
- *
53
- * @see {@link GetSlotTypesCommandInput} for command's `input` shape.
54
- * @see {@link GetSlotTypesCommandOutput} for command's `response` shape.
55
- * @see {@link LexModelBuildingServiceClientResolvedConfig | config} for command's `input` shape.
56
- *
57
- */
58
- export class GetSlotTypesCommand extends $Command<
59
- GetSlotTypesCommandInput,
60
- GetSlotTypesCommandOutput,
61
- LexModelBuildingServiceClientResolvedConfig
62
- > {
63
- // Start section: command_properties
64
- // End section: command_properties
65
-
66
- constructor(readonly input: GetSlotTypesCommandInput) {
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<GetSlotTypesCommandInput, GetSlotTypesCommandOutput> {
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 = "GetSlotTypesCommand";
87
- const handlerExecutionContext: HandlerExecutionContext = {
88
- logger,
89
- clientName,
90
- commandName,
91
- inputFilterSensitiveLog: GetSlotTypesRequest.filterSensitiveLog,
92
- outputFilterSensitiveLog: GetSlotTypesResponse.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: GetSlotTypesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
103
- return serializeAws_restJson1GetSlotTypesCommand(input, context);
104
- }
105
-
106
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetSlotTypesCommandOutput> {
107
- return deserializeAws_restJson1GetSlotTypesCommand(output, context);
108
- }
109
-
110
- // Start section: command_body_extra
111
- // End section: command_body_extra
112
- }