@aws-sdk/client-frauddetector 3.477.0 → 3.481.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 (361) hide show
  1. package/dist-cjs/commands/BatchCreateVariableCommand.js +18 -41
  2. package/dist-cjs/commands/BatchGetVariableCommand.js +18 -41
  3. package/dist-cjs/commands/CancelBatchImportJobCommand.js +18 -41
  4. package/dist-cjs/commands/CancelBatchPredictionJobCommand.js +18 -41
  5. package/dist-cjs/commands/CreateBatchImportJobCommand.js +18 -41
  6. package/dist-cjs/commands/CreateBatchPredictionJobCommand.js +18 -41
  7. package/dist-cjs/commands/CreateDetectorVersionCommand.js +18 -41
  8. package/dist-cjs/commands/CreateListCommand.js +18 -41
  9. package/dist-cjs/commands/CreateModelCommand.js +18 -41
  10. package/dist-cjs/commands/CreateModelVersionCommand.js +18 -41
  11. package/dist-cjs/commands/CreateRuleCommand.js +18 -41
  12. package/dist-cjs/commands/CreateVariableCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteBatchImportJobCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteBatchPredictionJobCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteDetectorCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteDetectorVersionCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteEntityTypeCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteEventCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteEventTypeCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteEventsByEventTypeCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteExternalModelCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteLabelCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteListCommand.js +18 -41
  24. package/dist-cjs/commands/DeleteModelCommand.js +18 -41
  25. package/dist-cjs/commands/DeleteModelVersionCommand.js +18 -41
  26. package/dist-cjs/commands/DeleteOutcomeCommand.js +18 -41
  27. package/dist-cjs/commands/DeleteRuleCommand.js +18 -41
  28. package/dist-cjs/commands/DeleteVariableCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeDetectorCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeModelVersionsCommand.js +18 -41
  31. package/dist-cjs/commands/GetBatchImportJobsCommand.js +18 -41
  32. package/dist-cjs/commands/GetBatchPredictionJobsCommand.js +18 -41
  33. package/dist-cjs/commands/GetDeleteEventsByEventTypeStatusCommand.js +18 -41
  34. package/dist-cjs/commands/GetDetectorVersionCommand.js +18 -41
  35. package/dist-cjs/commands/GetDetectorsCommand.js +18 -41
  36. package/dist-cjs/commands/GetEntityTypesCommand.js +18 -41
  37. package/dist-cjs/commands/GetEventCommand.js +18 -41
  38. package/dist-cjs/commands/GetEventPredictionCommand.js +18 -41
  39. package/dist-cjs/commands/GetEventPredictionMetadataCommand.js +18 -41
  40. package/dist-cjs/commands/GetEventTypesCommand.js +18 -41
  41. package/dist-cjs/commands/GetExternalModelsCommand.js +18 -41
  42. package/dist-cjs/commands/GetKMSEncryptionKeyCommand.js +18 -41
  43. package/dist-cjs/commands/GetLabelsCommand.js +18 -41
  44. package/dist-cjs/commands/GetListElementsCommand.js +18 -41
  45. package/dist-cjs/commands/GetListsMetadataCommand.js +18 -41
  46. package/dist-cjs/commands/GetModelVersionCommand.js +18 -41
  47. package/dist-cjs/commands/GetModelsCommand.js +18 -41
  48. package/dist-cjs/commands/GetOutcomesCommand.js +18 -41
  49. package/dist-cjs/commands/GetRulesCommand.js +18 -41
  50. package/dist-cjs/commands/GetVariablesCommand.js +18 -41
  51. package/dist-cjs/commands/ListEventPredictionsCommand.js +18 -41
  52. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  53. package/dist-cjs/commands/PutDetectorCommand.js +18 -41
  54. package/dist-cjs/commands/PutEntityTypeCommand.js +18 -41
  55. package/dist-cjs/commands/PutEventTypeCommand.js +18 -41
  56. package/dist-cjs/commands/PutExternalModelCommand.js +18 -41
  57. package/dist-cjs/commands/PutKMSEncryptionKeyCommand.js +18 -41
  58. package/dist-cjs/commands/PutLabelCommand.js +18 -41
  59. package/dist-cjs/commands/PutOutcomeCommand.js +18 -41
  60. package/dist-cjs/commands/SendEventCommand.js +18 -41
  61. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  62. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  63. package/dist-cjs/commands/UpdateDetectorVersionCommand.js +18 -41
  64. package/dist-cjs/commands/UpdateDetectorVersionMetadataCommand.js +18 -41
  65. package/dist-cjs/commands/UpdateDetectorVersionStatusCommand.js +18 -41
  66. package/dist-cjs/commands/UpdateEventLabelCommand.js +18 -41
  67. package/dist-cjs/commands/UpdateListCommand.js +18 -41
  68. package/dist-cjs/commands/UpdateModelCommand.js +18 -41
  69. package/dist-cjs/commands/UpdateModelVersionCommand.js +18 -41
  70. package/dist-cjs/commands/UpdateModelVersionStatusCommand.js +18 -41
  71. package/dist-cjs/commands/UpdateRuleMetadataCommand.js +18 -41
  72. package/dist-cjs/commands/UpdateRuleVersionCommand.js +18 -41
  73. package/dist-cjs/commands/UpdateVariableCommand.js +18 -41
  74. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  75. package/dist-cjs/pagination/DescribeModelVersionsPaginator.js +2 -24
  76. package/dist-cjs/pagination/GetBatchImportJobsPaginator.js +2 -24
  77. package/dist-cjs/pagination/GetBatchPredictionJobsPaginator.js +2 -24
  78. package/dist-cjs/pagination/GetDetectorsPaginator.js +2 -24
  79. package/dist-cjs/pagination/GetEntityTypesPaginator.js +2 -24
  80. package/dist-cjs/pagination/GetEventTypesPaginator.js +2 -24
  81. package/dist-cjs/pagination/GetExternalModelsPaginator.js +2 -24
  82. package/dist-cjs/pagination/GetLabelsPaginator.js +2 -24
  83. package/dist-cjs/pagination/GetListElementsPaginator.js +2 -24
  84. package/dist-cjs/pagination/GetListsMetadataPaginator.js +2 -24
  85. package/dist-cjs/pagination/GetModelsPaginator.js +2 -24
  86. package/dist-cjs/pagination/GetOutcomesPaginator.js +2 -24
  87. package/dist-cjs/pagination/GetRulesPaginator.js +2 -24
  88. package/dist-cjs/pagination/GetVariablesPaginator.js +2 -24
  89. package/dist-cjs/pagination/ListEventPredictionsPaginator.js +2 -24
  90. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
  91. package/dist-es/commands/BatchCreateVariableCommand.js +18 -41
  92. package/dist-es/commands/BatchGetVariableCommand.js +18 -41
  93. package/dist-es/commands/CancelBatchImportJobCommand.js +18 -41
  94. package/dist-es/commands/CancelBatchPredictionJobCommand.js +18 -41
  95. package/dist-es/commands/CreateBatchImportJobCommand.js +18 -41
  96. package/dist-es/commands/CreateBatchPredictionJobCommand.js +18 -41
  97. package/dist-es/commands/CreateDetectorVersionCommand.js +18 -41
  98. package/dist-es/commands/CreateListCommand.js +18 -41
  99. package/dist-es/commands/CreateModelCommand.js +18 -41
  100. package/dist-es/commands/CreateModelVersionCommand.js +18 -41
  101. package/dist-es/commands/CreateRuleCommand.js +18 -41
  102. package/dist-es/commands/CreateVariableCommand.js +18 -41
  103. package/dist-es/commands/DeleteBatchImportJobCommand.js +18 -41
  104. package/dist-es/commands/DeleteBatchPredictionJobCommand.js +18 -41
  105. package/dist-es/commands/DeleteDetectorCommand.js +18 -41
  106. package/dist-es/commands/DeleteDetectorVersionCommand.js +18 -41
  107. package/dist-es/commands/DeleteEntityTypeCommand.js +18 -41
  108. package/dist-es/commands/DeleteEventCommand.js +18 -41
  109. package/dist-es/commands/DeleteEventTypeCommand.js +18 -41
  110. package/dist-es/commands/DeleteEventsByEventTypeCommand.js +18 -41
  111. package/dist-es/commands/DeleteExternalModelCommand.js +18 -41
  112. package/dist-es/commands/DeleteLabelCommand.js +18 -41
  113. package/dist-es/commands/DeleteListCommand.js +18 -41
  114. package/dist-es/commands/DeleteModelCommand.js +18 -41
  115. package/dist-es/commands/DeleteModelVersionCommand.js +18 -41
  116. package/dist-es/commands/DeleteOutcomeCommand.js +18 -41
  117. package/dist-es/commands/DeleteRuleCommand.js +18 -41
  118. package/dist-es/commands/DeleteVariableCommand.js +18 -41
  119. package/dist-es/commands/DescribeDetectorCommand.js +18 -41
  120. package/dist-es/commands/DescribeModelVersionsCommand.js +18 -41
  121. package/dist-es/commands/GetBatchImportJobsCommand.js +18 -41
  122. package/dist-es/commands/GetBatchPredictionJobsCommand.js +18 -41
  123. package/dist-es/commands/GetDeleteEventsByEventTypeStatusCommand.js +18 -41
  124. package/dist-es/commands/GetDetectorVersionCommand.js +18 -41
  125. package/dist-es/commands/GetDetectorsCommand.js +18 -41
  126. package/dist-es/commands/GetEntityTypesCommand.js +18 -41
  127. package/dist-es/commands/GetEventCommand.js +18 -41
  128. package/dist-es/commands/GetEventPredictionCommand.js +18 -41
  129. package/dist-es/commands/GetEventPredictionMetadataCommand.js +18 -41
  130. package/dist-es/commands/GetEventTypesCommand.js +18 -41
  131. package/dist-es/commands/GetExternalModelsCommand.js +18 -41
  132. package/dist-es/commands/GetKMSEncryptionKeyCommand.js +18 -41
  133. package/dist-es/commands/GetLabelsCommand.js +18 -41
  134. package/dist-es/commands/GetListElementsCommand.js +18 -41
  135. package/dist-es/commands/GetListsMetadataCommand.js +18 -41
  136. package/dist-es/commands/GetModelVersionCommand.js +18 -41
  137. package/dist-es/commands/GetModelsCommand.js +18 -41
  138. package/dist-es/commands/GetOutcomesCommand.js +18 -41
  139. package/dist-es/commands/GetRulesCommand.js +18 -41
  140. package/dist-es/commands/GetVariablesCommand.js +18 -41
  141. package/dist-es/commands/ListEventPredictionsCommand.js +18 -41
  142. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  143. package/dist-es/commands/PutDetectorCommand.js +18 -41
  144. package/dist-es/commands/PutEntityTypeCommand.js +18 -41
  145. package/dist-es/commands/PutEventTypeCommand.js +18 -41
  146. package/dist-es/commands/PutExternalModelCommand.js +18 -41
  147. package/dist-es/commands/PutKMSEncryptionKeyCommand.js +18 -41
  148. package/dist-es/commands/PutLabelCommand.js +18 -41
  149. package/dist-es/commands/PutOutcomeCommand.js +18 -41
  150. package/dist-es/commands/SendEventCommand.js +18 -41
  151. package/dist-es/commands/TagResourceCommand.js +18 -41
  152. package/dist-es/commands/UntagResourceCommand.js +18 -41
  153. package/dist-es/commands/UpdateDetectorVersionCommand.js +18 -41
  154. package/dist-es/commands/UpdateDetectorVersionMetadataCommand.js +18 -41
  155. package/dist-es/commands/UpdateDetectorVersionStatusCommand.js +18 -41
  156. package/dist-es/commands/UpdateEventLabelCommand.js +18 -41
  157. package/dist-es/commands/UpdateListCommand.js +18 -41
  158. package/dist-es/commands/UpdateModelCommand.js +18 -41
  159. package/dist-es/commands/UpdateModelVersionCommand.js +18 -41
  160. package/dist-es/commands/UpdateModelVersionStatusCommand.js +18 -41
  161. package/dist-es/commands/UpdateRuleMetadataCommand.js +18 -41
  162. package/dist-es/commands/UpdateRuleVersionCommand.js +18 -41
  163. package/dist-es/commands/UpdateVariableCommand.js +18 -41
  164. package/dist-es/endpoint/EndpointParameters.js +6 -0
  165. package/dist-es/pagination/DescribeModelVersionsPaginator.js +2 -23
  166. package/dist-es/pagination/GetBatchImportJobsPaginator.js +2 -23
  167. package/dist-es/pagination/GetBatchPredictionJobsPaginator.js +2 -23
  168. package/dist-es/pagination/GetDetectorsPaginator.js +2 -23
  169. package/dist-es/pagination/GetEntityTypesPaginator.js +2 -23
  170. package/dist-es/pagination/GetEventTypesPaginator.js +2 -23
  171. package/dist-es/pagination/GetExternalModelsPaginator.js +2 -23
  172. package/dist-es/pagination/GetLabelsPaginator.js +2 -23
  173. package/dist-es/pagination/GetListElementsPaginator.js +2 -23
  174. package/dist-es/pagination/GetListsMetadataPaginator.js +2 -23
  175. package/dist-es/pagination/GetModelsPaginator.js +2 -23
  176. package/dist-es/pagination/GetOutcomesPaginator.js +2 -23
  177. package/dist-es/pagination/GetRulesPaginator.js +2 -23
  178. package/dist-es/pagination/GetVariablesPaginator.js +2 -23
  179. package/dist-es/pagination/ListEventPredictionsPaginator.js +2 -23
  180. package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
  181. package/dist-types/commands/BatchCreateVariableCommand.d.ts +6 -21
  182. package/dist-types/commands/BatchGetVariableCommand.d.ts +6 -21
  183. package/dist-types/commands/CancelBatchImportJobCommand.d.ts +6 -21
  184. package/dist-types/commands/CancelBatchPredictionJobCommand.d.ts +6 -21
  185. package/dist-types/commands/CreateBatchImportJobCommand.d.ts +6 -21
  186. package/dist-types/commands/CreateBatchPredictionJobCommand.d.ts +6 -21
  187. package/dist-types/commands/CreateDetectorVersionCommand.d.ts +6 -21
  188. package/dist-types/commands/CreateListCommand.d.ts +6 -21
  189. package/dist-types/commands/CreateModelCommand.d.ts +6 -21
  190. package/dist-types/commands/CreateModelVersionCommand.d.ts +6 -21
  191. package/dist-types/commands/CreateRuleCommand.d.ts +6 -21
  192. package/dist-types/commands/CreateVariableCommand.d.ts +6 -21
  193. package/dist-types/commands/DeleteBatchImportJobCommand.d.ts +6 -21
  194. package/dist-types/commands/DeleteBatchPredictionJobCommand.d.ts +6 -21
  195. package/dist-types/commands/DeleteDetectorCommand.d.ts +6 -21
  196. package/dist-types/commands/DeleteDetectorVersionCommand.d.ts +6 -21
  197. package/dist-types/commands/DeleteEntityTypeCommand.d.ts +6 -21
  198. package/dist-types/commands/DeleteEventCommand.d.ts +6 -21
  199. package/dist-types/commands/DeleteEventTypeCommand.d.ts +6 -21
  200. package/dist-types/commands/DeleteEventsByEventTypeCommand.d.ts +6 -21
  201. package/dist-types/commands/DeleteExternalModelCommand.d.ts +6 -21
  202. package/dist-types/commands/DeleteLabelCommand.d.ts +6 -21
  203. package/dist-types/commands/DeleteListCommand.d.ts +6 -21
  204. package/dist-types/commands/DeleteModelCommand.d.ts +6 -21
  205. package/dist-types/commands/DeleteModelVersionCommand.d.ts +6 -21
  206. package/dist-types/commands/DeleteOutcomeCommand.d.ts +6 -21
  207. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -21
  208. package/dist-types/commands/DeleteVariableCommand.d.ts +6 -21
  209. package/dist-types/commands/DescribeDetectorCommand.d.ts +6 -21
  210. package/dist-types/commands/DescribeModelVersionsCommand.d.ts +6 -21
  211. package/dist-types/commands/GetBatchImportJobsCommand.d.ts +6 -21
  212. package/dist-types/commands/GetBatchPredictionJobsCommand.d.ts +6 -21
  213. package/dist-types/commands/GetDeleteEventsByEventTypeStatusCommand.d.ts +6 -21
  214. package/dist-types/commands/GetDetectorVersionCommand.d.ts +6 -21
  215. package/dist-types/commands/GetDetectorsCommand.d.ts +6 -21
  216. package/dist-types/commands/GetEntityTypesCommand.d.ts +6 -21
  217. package/dist-types/commands/GetEventCommand.d.ts +6 -21
  218. package/dist-types/commands/GetEventPredictionCommand.d.ts +6 -21
  219. package/dist-types/commands/GetEventPredictionMetadataCommand.d.ts +6 -21
  220. package/dist-types/commands/GetEventTypesCommand.d.ts +6 -21
  221. package/dist-types/commands/GetExternalModelsCommand.d.ts +6 -21
  222. package/dist-types/commands/GetKMSEncryptionKeyCommand.d.ts +6 -21
  223. package/dist-types/commands/GetLabelsCommand.d.ts +6 -21
  224. package/dist-types/commands/GetListElementsCommand.d.ts +6 -21
  225. package/dist-types/commands/GetListsMetadataCommand.d.ts +6 -21
  226. package/dist-types/commands/GetModelVersionCommand.d.ts +6 -21
  227. package/dist-types/commands/GetModelsCommand.d.ts +6 -21
  228. package/dist-types/commands/GetOutcomesCommand.d.ts +6 -21
  229. package/dist-types/commands/GetRulesCommand.d.ts +6 -21
  230. package/dist-types/commands/GetVariablesCommand.d.ts +6 -21
  231. package/dist-types/commands/ListEventPredictionsCommand.d.ts +6 -21
  232. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  233. package/dist-types/commands/PutDetectorCommand.d.ts +6 -21
  234. package/dist-types/commands/PutEntityTypeCommand.d.ts +6 -21
  235. package/dist-types/commands/PutEventTypeCommand.d.ts +6 -21
  236. package/dist-types/commands/PutExternalModelCommand.d.ts +6 -21
  237. package/dist-types/commands/PutKMSEncryptionKeyCommand.d.ts +6 -21
  238. package/dist-types/commands/PutLabelCommand.d.ts +6 -21
  239. package/dist-types/commands/PutOutcomeCommand.d.ts +6 -21
  240. package/dist-types/commands/SendEventCommand.d.ts +6 -21
  241. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  242. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  243. package/dist-types/commands/UpdateDetectorVersionCommand.d.ts +6 -21
  244. package/dist-types/commands/UpdateDetectorVersionMetadataCommand.d.ts +6 -21
  245. package/dist-types/commands/UpdateDetectorVersionStatusCommand.d.ts +6 -21
  246. package/dist-types/commands/UpdateEventLabelCommand.d.ts +6 -21
  247. package/dist-types/commands/UpdateListCommand.d.ts +6 -21
  248. package/dist-types/commands/UpdateModelCommand.d.ts +6 -21
  249. package/dist-types/commands/UpdateModelVersionCommand.d.ts +6 -21
  250. package/dist-types/commands/UpdateModelVersionStatusCommand.d.ts +6 -21
  251. package/dist-types/commands/UpdateRuleMetadataCommand.d.ts +6 -21
  252. package/dist-types/commands/UpdateRuleVersionCommand.d.ts +6 -21
  253. package/dist-types/commands/UpdateVariableCommand.d.ts +6 -21
  254. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  255. package/dist-types/pagination/DescribeModelVersionsPaginator.d.ts +1 -1
  256. package/dist-types/pagination/GetBatchImportJobsPaginator.d.ts +1 -1
  257. package/dist-types/pagination/GetBatchPredictionJobsPaginator.d.ts +1 -1
  258. package/dist-types/pagination/GetDetectorsPaginator.d.ts +1 -1
  259. package/dist-types/pagination/GetEntityTypesPaginator.d.ts +1 -1
  260. package/dist-types/pagination/GetEventTypesPaginator.d.ts +1 -1
  261. package/dist-types/pagination/GetExternalModelsPaginator.d.ts +1 -1
  262. package/dist-types/pagination/GetLabelsPaginator.d.ts +1 -1
  263. package/dist-types/pagination/GetListElementsPaginator.d.ts +1 -1
  264. package/dist-types/pagination/GetListsMetadataPaginator.d.ts +1 -1
  265. package/dist-types/pagination/GetModelsPaginator.d.ts +1 -1
  266. package/dist-types/pagination/GetOutcomesPaginator.d.ts +1 -1
  267. package/dist-types/pagination/GetRulesPaginator.d.ts +1 -1
  268. package/dist-types/pagination/GetVariablesPaginator.d.ts +1 -1
  269. package/dist-types/pagination/ListEventPredictionsPaginator.d.ts +1 -1
  270. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  271. package/dist-types/ts3.4/commands/BatchCreateVariableCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/BatchGetVariableCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/CancelBatchImportJobCommand.d.ts +12 -24
  274. package/dist-types/ts3.4/commands/CancelBatchPredictionJobCommand.d.ts +12 -24
  275. package/dist-types/ts3.4/commands/CreateBatchImportJobCommand.d.ts +12 -24
  276. package/dist-types/ts3.4/commands/CreateBatchPredictionJobCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/CreateDetectorVersionCommand.d.ts +12 -24
  278. package/dist-types/ts3.4/commands/CreateListCommand.d.ts +14 -23
  279. package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/CreateModelVersionCommand.d.ts +14 -23
  281. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +14 -23
  282. package/dist-types/ts3.4/commands/CreateVariableCommand.d.ts +14 -23
  283. package/dist-types/ts3.4/commands/DeleteBatchImportJobCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/DeleteBatchPredictionJobCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/DeleteDetectorCommand.d.ts +14 -23
  286. package/dist-types/ts3.4/commands/DeleteDetectorVersionCommand.d.ts +12 -24
  287. package/dist-types/ts3.4/commands/DeleteEntityTypeCommand.d.ts +14 -23
  288. package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/DeleteEventTypeCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/DeleteEventsByEventTypeCommand.d.ts +12 -24
  291. package/dist-types/ts3.4/commands/DeleteExternalModelCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/DeleteLabelCommand.d.ts +14 -23
  293. package/dist-types/ts3.4/commands/DeleteListCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +14 -23
  295. package/dist-types/ts3.4/commands/DeleteModelVersionCommand.d.ts +14 -23
  296. package/dist-types/ts3.4/commands/DeleteOutcomeCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +14 -23
  298. package/dist-types/ts3.4/commands/DeleteVariableCommand.d.ts +14 -23
  299. package/dist-types/ts3.4/commands/DescribeDetectorCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/DescribeModelVersionsCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/GetBatchImportJobsCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/GetBatchPredictionJobsCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/GetDeleteEventsByEventTypeStatusCommand.d.ts +12 -24
  304. package/dist-types/ts3.4/commands/GetDetectorVersionCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/GetDetectorsCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/GetEntityTypesCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/GetEventCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/GetEventPredictionCommand.d.ts +14 -23
  309. package/dist-types/ts3.4/commands/GetEventPredictionMetadataCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/GetEventTypesCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/GetExternalModelsCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/GetKMSEncryptionKeyCommand.d.ts +14 -23
  313. package/dist-types/ts3.4/commands/GetLabelsCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/commands/GetListElementsCommand.d.ts +14 -23
  315. package/dist-types/ts3.4/commands/GetListsMetadataCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/GetModelVersionCommand.d.ts +14 -23
  317. package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/GetOutcomesCommand.d.ts +14 -23
  319. package/dist-types/ts3.4/commands/GetRulesCommand.d.ts +14 -23
  320. package/dist-types/ts3.4/commands/GetVariablesCommand.d.ts +14 -23
  321. package/dist-types/ts3.4/commands/ListEventPredictionsCommand.d.ts +12 -24
  322. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  323. package/dist-types/ts3.4/commands/PutDetectorCommand.d.ts +14 -23
  324. package/dist-types/ts3.4/commands/PutEntityTypeCommand.d.ts +14 -23
  325. package/dist-types/ts3.4/commands/PutEventTypeCommand.d.ts +14 -23
  326. package/dist-types/ts3.4/commands/PutExternalModelCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/PutKMSEncryptionKeyCommand.d.ts +14 -23
  328. package/dist-types/ts3.4/commands/PutLabelCommand.d.ts +14 -23
  329. package/dist-types/ts3.4/commands/PutOutcomeCommand.d.ts +14 -23
  330. package/dist-types/ts3.4/commands/SendEventCommand.d.ts +14 -23
  331. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  332. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  333. package/dist-types/ts3.4/commands/UpdateDetectorVersionCommand.d.ts +12 -24
  334. package/dist-types/ts3.4/commands/UpdateDetectorVersionMetadataCommand.d.ts +12 -24
  335. package/dist-types/ts3.4/commands/UpdateDetectorVersionStatusCommand.d.ts +12 -24
  336. package/dist-types/ts3.4/commands/UpdateEventLabelCommand.d.ts +14 -23
  337. package/dist-types/ts3.4/commands/UpdateListCommand.d.ts +14 -23
  338. package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +14 -23
  339. package/dist-types/ts3.4/commands/UpdateModelVersionCommand.d.ts +14 -23
  340. package/dist-types/ts3.4/commands/UpdateModelVersionStatusCommand.d.ts +12 -24
  341. package/dist-types/ts3.4/commands/UpdateRuleMetadataCommand.d.ts +14 -23
  342. package/dist-types/ts3.4/commands/UpdateRuleVersionCommand.d.ts +14 -23
  343. package/dist-types/ts3.4/commands/UpdateVariableCommand.d.ts +14 -23
  344. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  345. package/dist-types/ts3.4/pagination/DescribeModelVersionsPaginator.d.ts +3 -3
  346. package/dist-types/ts3.4/pagination/GetBatchImportJobsPaginator.d.ts +3 -3
  347. package/dist-types/ts3.4/pagination/GetBatchPredictionJobsPaginator.d.ts +3 -3
  348. package/dist-types/ts3.4/pagination/GetDetectorsPaginator.d.ts +3 -3
  349. package/dist-types/ts3.4/pagination/GetEntityTypesPaginator.d.ts +3 -3
  350. package/dist-types/ts3.4/pagination/GetEventTypesPaginator.d.ts +3 -3
  351. package/dist-types/ts3.4/pagination/GetExternalModelsPaginator.d.ts +3 -3
  352. package/dist-types/ts3.4/pagination/GetLabelsPaginator.d.ts +3 -3
  353. package/dist-types/ts3.4/pagination/GetListElementsPaginator.d.ts +3 -3
  354. package/dist-types/ts3.4/pagination/GetListsMetadataPaginator.d.ts +3 -3
  355. package/dist-types/ts3.4/pagination/GetModelsPaginator.d.ts +3 -3
  356. package/dist-types/ts3.4/pagination/GetOutcomesPaginator.d.ts +3 -3
  357. package/dist-types/ts3.4/pagination/GetRulesPaginator.d.ts +3 -3
  358. package/dist-types/ts3.4/pagination/GetVariablesPaginator.d.ts +3 -3
  359. package/dist-types/ts3.4/pagination/ListEventPredictionsPaginator.d.ts +3 -3
  360. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
  361. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateVariableCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateVariableCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "FraudDetectorClient";
29
- const commandName = "UpdateVariableCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSHawksNestServiceFacade",
38
- operation: "UpdateVariable",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateVariableCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateVariableCommand)(output, context);
49
- }
10
+ class UpdateVariableCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSHawksNestServiceFacade", "UpdateVariable", {})
22
+ .n("FraudDetectorClient", "UpdateVariableCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateVariableCommand)
25
+ .de(Aws_json1_1_1.de_UpdateVariableCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateVariableCommand = UpdateVariableCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeModelVersions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const DescribeModelVersionsCommand_1 = require("../commands/DescribeModelVersionsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new DescribeModelVersionsCommand_1.DescribeModelVersionsCommand(input), ...args);
8
- };
9
- async function* paginateDescribeModelVersions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateDescribeModelVersions = paginateDescribeModelVersions;
7
+ exports.paginateDescribeModelVersions = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, DescribeModelVersionsCommand_1.DescribeModelVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBatchImportJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetBatchImportJobsCommand_1 = require("../commands/GetBatchImportJobsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBatchImportJobsCommand_1.GetBatchImportJobsCommand(input), ...args);
8
- };
9
- async function* paginateGetBatchImportJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetBatchImportJobs = paginateGetBatchImportJobs;
7
+ exports.paginateGetBatchImportJobs = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetBatchImportJobsCommand_1.GetBatchImportJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetBatchPredictionJobs = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetBatchPredictionJobsCommand_1 = require("../commands/GetBatchPredictionJobsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetBatchPredictionJobsCommand_1.GetBatchPredictionJobsCommand(input), ...args);
8
- };
9
- async function* paginateGetBatchPredictionJobs(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetBatchPredictionJobs = paginateGetBatchPredictionJobs;
7
+ exports.paginateGetBatchPredictionJobs = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetBatchPredictionJobsCommand_1.GetBatchPredictionJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetDetectors = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetDetectorsCommand_1 = require("../commands/GetDetectorsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetDetectorsCommand_1.GetDetectorsCommand(input), ...args);
8
- };
9
- async function* paginateGetDetectors(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetDetectors = paginateGetDetectors;
7
+ exports.paginateGetDetectors = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetDetectorsCommand_1.GetDetectorsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetEntityTypes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetEntityTypesCommand_1 = require("../commands/GetEntityTypesCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetEntityTypesCommand_1.GetEntityTypesCommand(input), ...args);
8
- };
9
- async function* paginateGetEntityTypes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetEntityTypes = paginateGetEntityTypes;
7
+ exports.paginateGetEntityTypes = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetEntityTypesCommand_1.GetEntityTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetEventTypes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetEventTypesCommand_1 = require("../commands/GetEventTypesCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetEventTypesCommand_1.GetEventTypesCommand(input), ...args);
8
- };
9
- async function* paginateGetEventTypes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetEventTypes = paginateGetEventTypes;
7
+ exports.paginateGetEventTypes = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetEventTypesCommand_1.GetEventTypesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetExternalModels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetExternalModelsCommand_1 = require("../commands/GetExternalModelsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetExternalModelsCommand_1.GetExternalModelsCommand(input), ...args);
8
- };
9
- async function* paginateGetExternalModels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetExternalModels = paginateGetExternalModels;
7
+ exports.paginateGetExternalModels = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetExternalModelsCommand_1.GetExternalModelsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetLabels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetLabelsCommand_1 = require("../commands/GetLabelsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetLabelsCommand_1.GetLabelsCommand(input), ...args);
8
- };
9
- async function* paginateGetLabels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetLabels = paginateGetLabels;
7
+ exports.paginateGetLabels = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetLabelsCommand_1.GetLabelsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetListElements = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetListElementsCommand_1 = require("../commands/GetListElementsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetListElementsCommand_1.GetListElementsCommand(input), ...args);
8
- };
9
- async function* paginateGetListElements(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetListElements = paginateGetListElements;
7
+ exports.paginateGetListElements = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetListElementsCommand_1.GetListElementsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetListsMetadata = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetListsMetadataCommand_1 = require("../commands/GetListsMetadataCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetListsMetadataCommand_1.GetListsMetadataCommand(input), ...args);
8
- };
9
- async function* paginateGetListsMetadata(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetListsMetadata = paginateGetListsMetadata;
7
+ exports.paginateGetListsMetadata = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetListsMetadataCommand_1.GetListsMetadataCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetModels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetModelsCommand_1 = require("../commands/GetModelsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetModelsCommand_1.GetModelsCommand(input), ...args);
8
- };
9
- async function* paginateGetModels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetModels = paginateGetModels;
7
+ exports.paginateGetModels = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetModelsCommand_1.GetModelsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetOutcomes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetOutcomesCommand_1 = require("../commands/GetOutcomesCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetOutcomesCommand_1.GetOutcomesCommand(input), ...args);
8
- };
9
- async function* paginateGetOutcomes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetOutcomes = paginateGetOutcomes;
7
+ exports.paginateGetOutcomes = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetOutcomesCommand_1.GetOutcomesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetRules = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetRulesCommand_1 = require("../commands/GetRulesCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetRulesCommand_1.GetRulesCommand(input), ...args);
8
- };
9
- async function* paginateGetRules(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetRules = paginateGetRules;
7
+ exports.paginateGetRules = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetRulesCommand_1.GetRulesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetVariables = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetVariablesCommand_1 = require("../commands/GetVariablesCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetVariablesCommand_1.GetVariablesCommand(input), ...args);
8
- };
9
- async function* paginateGetVariables(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetVariables = paginateGetVariables;
7
+ exports.paginateGetVariables = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, GetVariablesCommand_1.GetVariablesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListEventPredictions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListEventPredictionsCommand_1 = require("../commands/ListEventPredictionsCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListEventPredictionsCommand_1.ListEventPredictionsCommand(input), ...args);
8
- };
9
- async function* paginateListEventPredictions(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListEventPredictions = paginateListEventPredictions;
7
+ exports.paginateListEventPredictions = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, ListEventPredictionsCommand_1.ListEventPredictionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTagsForResource = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
5
6
  const FraudDetectorClient_1 = require("../FraudDetectorClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
8
- };
9
- async function* paginateListTagsForResource(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListTagsForResource = paginateListTagsForResource;
7
+ exports.paginateListTagsForResource = (0, core_1.createPaginator)(FraudDetectorClient_1.FraudDetectorClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");