@aws-sdk/client-transfer 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 (400) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/Transfer.js +1 -13
  3. package/dist-cjs/TransferClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/CreateAccessCommand.js +2 -32
  5. package/{dist/cjs → dist-cjs}/commands/CreateServerCommand.js +2 -30
  6. package/{dist/cjs → dist-cjs}/commands/CreateUserCommand.js +2 -33
  7. package/{dist/cjs → dist-cjs}/commands/CreateWorkflowCommand.js +2 -30
  8. package/{dist/cjs → dist-cjs}/commands/DeleteAccessCommand.js +2 -28
  9. package/{dist/cjs → dist-cjs}/commands/DeleteServerCommand.js +2 -29
  10. package/{dist/cjs → dist-cjs}/commands/DeleteSshPublicKeyCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/DeleteUserCommand.js +2 -33
  12. package/{dist/cjs → dist-cjs}/commands/DeleteWorkflowCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/DescribeAccessCommand.js +2 -32
  14. package/{dist/cjs → dist-cjs}/commands/DescribeExecutionCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/commands/DescribeSecurityPolicyCommand.js +2 -30
  16. package/{dist/cjs → dist-cjs}/commands/DescribeServerCommand.js +2 -32
  17. package/{dist/cjs → dist-cjs}/commands/DescribeUserCommand.js +2 -31
  18. package/{dist/cjs → dist-cjs}/commands/DescribeWorkflowCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/ImportSshPublicKeyCommand.js +2 -32
  20. package/{dist/cjs → dist-cjs}/commands/ListAccessesCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/ListExecutionsCommand.js +2 -27
  22. package/{dist/cjs → dist-cjs}/commands/ListSecurityPoliciesCommand.js +2 -28
  23. package/{dist/cjs → dist-cjs}/commands/ListServersCommand.js +2 -28
  24. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
  25. package/{dist/cjs → dist-cjs}/commands/ListUsersCommand.js +2 -28
  26. package/{dist/cjs → dist-cjs}/commands/ListWorkflowsCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/SendWorkflowStepStateCommand.js +2 -31
  28. package/{dist/cjs → dist-cjs}/commands/StartServerCommand.js +2 -35
  29. package/dist-cjs/commands/StopServerCommand.js +36 -0
  30. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -30
  31. package/dist-cjs/commands/TestIdentityProviderCommand.js +36 -0
  32. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -30
  33. package/{dist/cjs → dist-cjs}/commands/UpdateAccessCommand.js +2 -28
  34. package/{dist/cjs → dist-cjs}/commands/UpdateServerCommand.js +2 -31
  35. package/{dist/cjs → dist-cjs}/commands/UpdateUserCommand.js +2 -32
  36. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  37. package/{dist/cjs → dist-cjs}/index.js +0 -1
  38. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  39. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -304
  40. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  41. package/{dist/cjs → dist-cjs}/pagination/ListAccessesPaginator.js +1 -12
  42. package/{dist/cjs → dist-cjs}/pagination/ListExecutionsPaginator.js +1 -12
  43. package/{dist/cjs → dist-cjs}/pagination/ListSecurityPoliciesPaginator.js +1 -12
  44. package/{dist/cjs → dist-cjs}/pagination/ListServersPaginator.js +1 -12
  45. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -12
  46. package/{dist/cjs → dist-cjs}/pagination/ListUsersPaginator.js +1 -12
  47. package/{dist/cjs → dist-cjs}/pagination/ListWorkflowsPaginator.js +1 -12
  48. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  49. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  50. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  51. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  52. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  53. package/{dist/es → dist-es}/Transfer.js +1 -2
  54. package/{dist/es → dist-es}/TransferClient.js +1 -2
  55. package/{dist/es → dist-es}/commands/CreateAccessCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/CreateServerCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/CreateUserCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/CreateWorkflowCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/DeleteAccessCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/DeleteServerCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/DeleteSshPublicKeyCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/DeleteUserCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/DeleteWorkflowCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/DescribeAccessCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/DescribeExecutionCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/DescribeSecurityPolicyCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/DescribeServerCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/DescribeUserCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/DescribeWorkflowCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/ImportSshPublicKeyCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/ListAccessesCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/ListExecutionsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/ListSecurityPoliciesCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/ListServersCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/ListUsersCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/ListWorkflowsCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/SendWorkflowStepStateCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/StartServerCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/StopServerCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/TestIdentityProviderCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/UpdateAccessCommand.js +2 -3
  85. package/{dist/es → dist-es}/commands/UpdateServerCommand.js +2 -3
  86. package/{dist/es → dist-es}/commands/UpdateUserCommand.js +2 -3
  87. package/{dist/es → dist-es}/endpoints.js +1 -2
  88. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  89. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  90. package/{dist/es → dist-es}/models/models_0.js +0 -1
  91. package/dist-es/pagination/Interfaces.js +1 -0
  92. package/{dist/es → dist-es}/pagination/ListAccessesPaginator.js +1 -2
  93. package/{dist/es → dist-es}/pagination/ListExecutionsPaginator.js +1 -2
  94. package/{dist/es → dist-es}/pagination/ListSecurityPoliciesPaginator.js +1 -2
  95. package/{dist/es → dist-es}/pagination/ListServersPaginator.js +1 -2
  96. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +1 -2
  97. package/{dist/es → dist-es}/pagination/ListUsersPaginator.js +1 -2
  98. package/{dist/es → dist-es}/pagination/ListWorkflowsPaginator.js +1 -2
  99. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  100. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  101. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  102. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  103. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  104. package/{dist/types → dist-types}/Transfer.d.ts +2 -2
  105. package/{dist/types → dist-types}/TransferClient.d.ts +8 -8
  106. package/{dist/types → dist-types}/commands/CreateAccessCommand.d.ts +3 -3
  107. package/{dist/types → dist-types}/commands/CreateServerCommand.d.ts +3 -3
  108. package/{dist/types → dist-types}/commands/CreateUserCommand.d.ts +3 -3
  109. package/{dist/types → dist-types}/commands/CreateWorkflowCommand.d.ts +3 -3
  110. package/{dist/types → dist-types}/commands/DeleteAccessCommand.d.ts +3 -3
  111. package/{dist/types → dist-types}/commands/DeleteServerCommand.d.ts +3 -3
  112. package/{dist/types → dist-types}/commands/DeleteSshPublicKeyCommand.d.ts +3 -3
  113. package/{dist/types → dist-types}/commands/DeleteUserCommand.d.ts +3 -3
  114. package/{dist/types → dist-types}/commands/DeleteWorkflowCommand.d.ts +3 -3
  115. package/{dist/types → dist-types}/commands/DescribeAccessCommand.d.ts +3 -3
  116. package/{dist/types → dist-types}/commands/DescribeExecutionCommand.d.ts +3 -3
  117. package/{dist/types → dist-types}/commands/DescribeSecurityPolicyCommand.d.ts +3 -3
  118. package/{dist/types → dist-types}/commands/DescribeServerCommand.d.ts +3 -3
  119. package/{dist/types → dist-types}/commands/DescribeUserCommand.d.ts +3 -3
  120. package/{dist/types → dist-types}/commands/DescribeWorkflowCommand.d.ts +3 -3
  121. package/{dist/types → dist-types}/commands/ImportSshPublicKeyCommand.d.ts +3 -3
  122. package/{dist/types → dist-types}/commands/ListAccessesCommand.d.ts +3 -3
  123. package/{dist/types → dist-types}/commands/ListExecutionsCommand.d.ts +3 -3
  124. package/{dist/types → dist-types}/commands/ListSecurityPoliciesCommand.d.ts +3 -3
  125. package/{dist/types → dist-types}/commands/ListServersCommand.d.ts +3 -3
  126. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
  127. package/{dist/types → dist-types}/commands/ListUsersCommand.d.ts +3 -3
  128. package/{dist/types → dist-types}/commands/ListWorkflowsCommand.d.ts +3 -3
  129. package/{dist/types → dist-types}/commands/SendWorkflowStepStateCommand.d.ts +3 -3
  130. package/{dist/types → dist-types}/commands/StartServerCommand.d.ts +3 -3
  131. package/{dist/types → dist-types}/commands/StopServerCommand.d.ts +3 -3
  132. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  133. package/{dist/types → dist-types}/commands/TestIdentityProviderCommand.d.ts +3 -3
  134. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  135. package/{dist/types → dist-types}/commands/UpdateAccessCommand.d.ts +3 -3
  136. package/{dist/types → dist-types}/commands/UpdateServerCommand.d.ts +3 -3
  137. package/{dist/types → dist-types}/commands/UpdateUserCommand.d.ts +3 -3
  138. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  139. package/{index.ts → dist-types/index.d.ts} +0 -0
  140. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  141. package/{dist/types → dist-types}/models/models_0.d.ts +37 -34
  142. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  143. package/{dist/types → dist-types}/pagination/ListAccessesPaginator.d.ts +1 -1
  144. package/{dist/types → dist-types}/pagination/ListExecutionsPaginator.d.ts +1 -1
  145. package/{dist/types → dist-types}/pagination/ListSecurityPoliciesPaginator.d.ts +1 -1
  146. package/{dist/types → dist-types}/pagination/ListServersPaginator.d.ts +1 -1
  147. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  148. package/{dist/types → dist-types}/pagination/ListUsersPaginator.d.ts +1 -1
  149. package/{dist/types → dist-types}/pagination/ListWorkflowsPaginator.d.ts +1 -1
  150. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  151. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  152. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  153. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  154. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  155. package/{dist/types → dist-types}/ts3.4/Transfer.d.ts +35 -241
  156. package/{dist/types → dist-types}/ts3.4/TransferClient.d.ts +32 -105
  157. package/dist-types/ts3.4/commands/CreateAccessCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/CreateServerCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/DeleteAccessCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/DeleteServerCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/DeleteSshPublicKeyCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/DescribeAccessCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/DescribeSecurityPolicyCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/DescribeServerCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +17 -0
  171. package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkflowCommand.d.ts +5 -23
  172. package/dist-types/ts3.4/commands/ImportSshPublicKeyCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/ListAccessesCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/ListServersCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +17 -0
  179. package/{dist/types → dist-types}/ts3.4/commands/ListWorkflowsCommand.d.ts +5 -23
  180. package/dist-types/ts3.4/commands/SendWorkflowStepStateCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/StartServerCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/StopServerCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/TestIdentityProviderCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/UpdateAccessCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/UpdateServerCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
  189. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  190. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  191. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  192. package/dist-types/ts3.4/models/models_0.d.ts +1344 -0
  193. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  194. package/{dist/types → dist-types}/ts3.4/pagination/ListAccessesPaginator.d.ts +1 -1
  195. package/{dist/types → dist-types}/ts3.4/pagination/ListExecutionsPaginator.d.ts +1 -1
  196. package/{dist/types → dist-types}/ts3.4/pagination/ListSecurityPoliciesPaginator.d.ts +1 -1
  197. package/{dist/types → dist-types}/ts3.4/pagination/ListServersPaginator.d.ts +1 -1
  198. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  199. package/{dist/types → dist-types}/ts3.4/pagination/ListUsersPaginator.d.ts +1 -1
  200. package/{dist/types → dist-types}/ts3.4/pagination/ListWorkflowsPaginator.d.ts +1 -1
  201. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  202. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  203. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  204. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  205. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  206. package/package.json +45 -42
  207. package/Transfer.ts +0 -1227
  208. package/TransferClient.ts +0 -354
  209. package/commands/CreateAccessCommand.ts +0 -99
  210. package/commands/CreateServerCommand.ts +0 -97
  211. package/commands/CreateUserCommand.ts +0 -100
  212. package/commands/CreateWorkflowCommand.ts +0 -97
  213. package/commands/DeleteAccessCommand.ts +0 -95
  214. package/commands/DeleteServerCommand.ts +0 -96
  215. package/commands/DeleteSshPublicKeyCommand.ts +0 -94
  216. package/commands/DeleteUserCommand.ts +0 -100
  217. package/commands/DeleteWorkflowCommand.ts +0 -94
  218. package/commands/DescribeAccessCommand.ts +0 -99
  219. package/commands/DescribeExecutionCommand.ts +0 -94
  220. package/commands/DescribeSecurityPolicyCommand.ts +0 -97
  221. package/commands/DescribeServerCommand.ts +0 -99
  222. package/commands/DescribeUserCommand.ts +0 -98
  223. package/commands/DescribeWorkflowCommand.ts +0 -94
  224. package/commands/ImportSshPublicKeyCommand.ts +0 -99
  225. package/commands/ListAccessesCommand.ts +0 -94
  226. package/commands/ListExecutionsCommand.ts +0 -94
  227. package/commands/ListSecurityPoliciesCommand.ts +0 -95
  228. package/commands/ListServersCommand.ts +0 -95
  229. package/commands/ListTagsForResourceCommand.ts +0 -95
  230. package/commands/ListUsersCommand.ts +0 -92
  231. package/commands/ListWorkflowsCommand.ts +0 -94
  232. package/commands/SendWorkflowStepStateCommand.ts +0 -98
  233. package/commands/StartServerCommand.ts +0 -102
  234. package/commands/StopServerCommand.ts +0 -108
  235. package/commands/TagResourceCommand.ts +0 -97
  236. package/commands/TestIdentityProviderCommand.ts +0 -132
  237. package/commands/UntagResourceCommand.ts +0 -97
  238. package/commands/UpdateAccessCommand.ts +0 -95
  239. package/commands/UpdateServerCommand.ts +0 -98
  240. package/commands/UpdateUserCommand.ts +0 -99
  241. package/dist/cjs/Transfer.js.map +0 -1
  242. package/dist/cjs/TransferClient.js +0 -52
  243. package/dist/cjs/TransferClient.js.map +0 -1
  244. package/dist/cjs/commands/CreateAccessCommand.js.map +0 -1
  245. package/dist/cjs/commands/CreateServerCommand.js.map +0 -1
  246. package/dist/cjs/commands/CreateUserCommand.js.map +0 -1
  247. package/dist/cjs/commands/CreateWorkflowCommand.js.map +0 -1
  248. package/dist/cjs/commands/DeleteAccessCommand.js.map +0 -1
  249. package/dist/cjs/commands/DeleteServerCommand.js.map +0 -1
  250. package/dist/cjs/commands/DeleteSshPublicKeyCommand.js.map +0 -1
  251. package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
  252. package/dist/cjs/commands/DeleteWorkflowCommand.js.map +0 -1
  253. package/dist/cjs/commands/DescribeAccessCommand.js.map +0 -1
  254. package/dist/cjs/commands/DescribeExecutionCommand.js.map +0 -1
  255. package/dist/cjs/commands/DescribeSecurityPolicyCommand.js.map +0 -1
  256. package/dist/cjs/commands/DescribeServerCommand.js.map +0 -1
  257. package/dist/cjs/commands/DescribeUserCommand.js.map +0 -1
  258. package/dist/cjs/commands/DescribeWorkflowCommand.js.map +0 -1
  259. package/dist/cjs/commands/ImportSshPublicKeyCommand.js.map +0 -1
  260. package/dist/cjs/commands/ListAccessesCommand.js.map +0 -1
  261. package/dist/cjs/commands/ListExecutionsCommand.js.map +0 -1
  262. package/dist/cjs/commands/ListSecurityPoliciesCommand.js.map +0 -1
  263. package/dist/cjs/commands/ListServersCommand.js.map +0 -1
  264. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  265. package/dist/cjs/commands/ListUsersCommand.js.map +0 -1
  266. package/dist/cjs/commands/ListWorkflowsCommand.js.map +0 -1
  267. package/dist/cjs/commands/SendWorkflowStepStateCommand.js.map +0 -1
  268. package/dist/cjs/commands/StartServerCommand.js.map +0 -1
  269. package/dist/cjs/commands/StopServerCommand.js +0 -75
  270. package/dist/cjs/commands/StopServerCommand.js.map +0 -1
  271. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  272. package/dist/cjs/commands/TestIdentityProviderCommand.js +0 -99
  273. package/dist/cjs/commands/TestIdentityProviderCommand.js.map +0 -1
  274. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  275. package/dist/cjs/commands/UpdateAccessCommand.js.map +0 -1
  276. package/dist/cjs/commands/UpdateServerCommand.js.map +0 -1
  277. package/dist/cjs/commands/UpdateUserCommand.js.map +0 -1
  278. package/dist/cjs/endpoints.js.map +0 -1
  279. package/dist/cjs/index.js.map +0 -1
  280. package/dist/cjs/models/index.js.map +0 -1
  281. package/dist/cjs/models/models_0.js.map +0 -1
  282. package/dist/cjs/package.json +0 -91
  283. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  284. package/dist/cjs/pagination/ListAccessesPaginator.js.map +0 -1
  285. package/dist/cjs/pagination/ListExecutionsPaginator.js.map +0 -1
  286. package/dist/cjs/pagination/ListSecurityPoliciesPaginator.js.map +0 -1
  287. package/dist/cjs/pagination/ListServersPaginator.js.map +0 -1
  288. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  289. package/dist/cjs/pagination/ListUsersPaginator.js.map +0 -1
  290. package/dist/cjs/pagination/ListWorkflowsPaginator.js.map +0 -1
  291. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  292. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  293. package/dist/cjs/runtimeConfig.js.map +0 -1
  294. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  295. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  296. package/dist/es/Transfer.js.map +0 -1
  297. package/dist/es/TransferClient.js.map +0 -1
  298. package/dist/es/commands/CreateAccessCommand.js.map +0 -1
  299. package/dist/es/commands/CreateServerCommand.js.map +0 -1
  300. package/dist/es/commands/CreateUserCommand.js.map +0 -1
  301. package/dist/es/commands/CreateWorkflowCommand.js.map +0 -1
  302. package/dist/es/commands/DeleteAccessCommand.js.map +0 -1
  303. package/dist/es/commands/DeleteServerCommand.js.map +0 -1
  304. package/dist/es/commands/DeleteSshPublicKeyCommand.js.map +0 -1
  305. package/dist/es/commands/DeleteUserCommand.js.map +0 -1
  306. package/dist/es/commands/DeleteWorkflowCommand.js.map +0 -1
  307. package/dist/es/commands/DescribeAccessCommand.js.map +0 -1
  308. package/dist/es/commands/DescribeExecutionCommand.js.map +0 -1
  309. package/dist/es/commands/DescribeSecurityPolicyCommand.js.map +0 -1
  310. package/dist/es/commands/DescribeServerCommand.js.map +0 -1
  311. package/dist/es/commands/DescribeUserCommand.js.map +0 -1
  312. package/dist/es/commands/DescribeWorkflowCommand.js.map +0 -1
  313. package/dist/es/commands/ImportSshPublicKeyCommand.js.map +0 -1
  314. package/dist/es/commands/ListAccessesCommand.js.map +0 -1
  315. package/dist/es/commands/ListExecutionsCommand.js.map +0 -1
  316. package/dist/es/commands/ListSecurityPoliciesCommand.js.map +0 -1
  317. package/dist/es/commands/ListServersCommand.js.map +0 -1
  318. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  319. package/dist/es/commands/ListUsersCommand.js.map +0 -1
  320. package/dist/es/commands/ListWorkflowsCommand.js.map +0 -1
  321. package/dist/es/commands/SendWorkflowStepStateCommand.js.map +0 -1
  322. package/dist/es/commands/StartServerCommand.js.map +0 -1
  323. package/dist/es/commands/StopServerCommand.js.map +0 -1
  324. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  325. package/dist/es/commands/TestIdentityProviderCommand.js.map +0 -1
  326. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  327. package/dist/es/commands/UpdateAccessCommand.js.map +0 -1
  328. package/dist/es/commands/UpdateServerCommand.js.map +0 -1
  329. package/dist/es/commands/UpdateUserCommand.js.map +0 -1
  330. package/dist/es/endpoints.js.map +0 -1
  331. package/dist/es/index.js +0 -44
  332. package/dist/es/index.js.map +0 -1
  333. package/dist/es/models/index.js +0 -2
  334. package/dist/es/models/index.js.map +0 -1
  335. package/dist/es/models/models_0.js.map +0 -1
  336. package/dist/es/package.json +0 -91
  337. package/dist/es/pagination/Interfaces.js +0 -2
  338. package/dist/es/pagination/Interfaces.js.map +0 -1
  339. package/dist/es/pagination/ListAccessesPaginator.js.map +0 -1
  340. package/dist/es/pagination/ListExecutionsPaginator.js.map +0 -1
  341. package/dist/es/pagination/ListSecurityPoliciesPaginator.js.map +0 -1
  342. package/dist/es/pagination/ListServersPaginator.js.map +0 -1
  343. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  344. package/dist/es/pagination/ListUsersPaginator.js.map +0 -1
  345. package/dist/es/pagination/ListWorkflowsPaginator.js.map +0 -1
  346. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  347. package/dist/es/runtimeConfig.browser.js.map +0 -1
  348. package/dist/es/runtimeConfig.js.map +0 -1
  349. package/dist/es/runtimeConfig.native.js.map +0 -1
  350. package/dist/es/runtimeConfig.shared.js.map +0 -1
  351. package/dist/types/ts3.4/commands/CreateAccessCommand.d.ts +0 -40
  352. package/dist/types/ts3.4/commands/CreateServerCommand.d.ts +0 -38
  353. package/dist/types/ts3.4/commands/CreateUserCommand.d.ts +0 -41
  354. package/dist/types/ts3.4/commands/CreateWorkflowCommand.d.ts +0 -38
  355. package/dist/types/ts3.4/commands/DeleteAccessCommand.d.ts +0 -36
  356. package/dist/types/ts3.4/commands/DeleteServerCommand.d.ts +0 -37
  357. package/dist/types/ts3.4/commands/DeleteSshPublicKeyCommand.d.ts +0 -35
  358. package/dist/types/ts3.4/commands/DeleteUserCommand.d.ts +0 -41
  359. package/dist/types/ts3.4/commands/DeleteWorkflowCommand.d.ts +0 -35
  360. package/dist/types/ts3.4/commands/DescribeAccessCommand.d.ts +0 -40
  361. package/dist/types/ts3.4/commands/DescribeExecutionCommand.d.ts +0 -35
  362. package/dist/types/ts3.4/commands/DescribeSecurityPolicyCommand.d.ts +0 -38
  363. package/dist/types/ts3.4/commands/DescribeServerCommand.d.ts +0 -40
  364. package/dist/types/ts3.4/commands/DescribeUserCommand.d.ts +0 -39
  365. package/dist/types/ts3.4/commands/ImportSshPublicKeyCommand.d.ts +0 -40
  366. package/dist/types/ts3.4/commands/ListAccessesCommand.d.ts +0 -35
  367. package/dist/types/ts3.4/commands/ListExecutionsCommand.d.ts +0 -35
  368. package/dist/types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +0 -36
  369. package/dist/types/ts3.4/commands/ListServersCommand.d.ts +0 -36
  370. package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
  371. package/dist/types/ts3.4/commands/ListUsersCommand.d.ts +0 -36
  372. package/dist/types/ts3.4/commands/SendWorkflowStepStateCommand.d.ts +0 -39
  373. package/dist/types/ts3.4/commands/StartServerCommand.d.ts +0 -43
  374. package/dist/types/ts3.4/commands/StopServerCommand.d.ts +0 -49
  375. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -38
  376. package/dist/types/ts3.4/commands/TestIdentityProviderCommand.d.ts +0 -73
  377. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -38
  378. package/dist/types/ts3.4/commands/UpdateAccessCommand.d.ts +0 -36
  379. package/dist/types/ts3.4/commands/UpdateServerCommand.d.ts +0 -39
  380. package/dist/types/ts3.4/commands/UpdateUserCommand.d.ts +0 -40
  381. package/dist/types/ts3.4/models/models_0.d.ts +0 -3311
  382. package/endpoints.ts +0 -91
  383. package/jest.config.js +0 -4
  384. package/models/models_0.ts +0 -3940
  385. package/pagination/Interfaces.ts +0 -7
  386. package/pagination/ListAccessesPaginator.ts +0 -58
  387. package/pagination/ListExecutionsPaginator.ts +0 -58
  388. package/pagination/ListSecurityPoliciesPaginator.ts +0 -58
  389. package/pagination/ListServersPaginator.ts +0 -54
  390. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  391. package/pagination/ListUsersPaginator.ts +0 -54
  392. package/pagination/ListWorkflowsPaginator.ts +0 -58
  393. package/protocols/Aws_json1_1.ts +0 -5078
  394. package/runtimeConfig.browser.ts +0 -40
  395. package/runtimeConfig.native.ts +0 -16
  396. package/runtimeConfig.shared.ts +0 -16
  397. package/runtimeConfig.ts +0 -45
  398. package/tsconfig.es.json +0 -10
  399. package/tsconfig.json +0 -31
  400. package/tsconfig.types.json +0 -8
package/Transfer.ts DELETED
@@ -1,1227 +0,0 @@
1
- import { TransferClient } from "./TransferClient";
2
- import {
3
- CreateAccessCommand,
4
- CreateAccessCommandInput,
5
- CreateAccessCommandOutput,
6
- } from "./commands/CreateAccessCommand";
7
- import {
8
- CreateServerCommand,
9
- CreateServerCommandInput,
10
- CreateServerCommandOutput,
11
- } from "./commands/CreateServerCommand";
12
- import { CreateUserCommand, CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
13
- import {
14
- CreateWorkflowCommand,
15
- CreateWorkflowCommandInput,
16
- CreateWorkflowCommandOutput,
17
- } from "./commands/CreateWorkflowCommand";
18
- import {
19
- DeleteAccessCommand,
20
- DeleteAccessCommandInput,
21
- DeleteAccessCommandOutput,
22
- } from "./commands/DeleteAccessCommand";
23
- import {
24
- DeleteServerCommand,
25
- DeleteServerCommandInput,
26
- DeleteServerCommandOutput,
27
- } from "./commands/DeleteServerCommand";
28
- import {
29
- DeleteSshPublicKeyCommand,
30
- DeleteSshPublicKeyCommandInput,
31
- DeleteSshPublicKeyCommandOutput,
32
- } from "./commands/DeleteSshPublicKeyCommand";
33
- import { DeleteUserCommand, DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
34
- import {
35
- DeleteWorkflowCommand,
36
- DeleteWorkflowCommandInput,
37
- DeleteWorkflowCommandOutput,
38
- } from "./commands/DeleteWorkflowCommand";
39
- import {
40
- DescribeAccessCommand,
41
- DescribeAccessCommandInput,
42
- DescribeAccessCommandOutput,
43
- } from "./commands/DescribeAccessCommand";
44
- import {
45
- DescribeExecutionCommand,
46
- DescribeExecutionCommandInput,
47
- DescribeExecutionCommandOutput,
48
- } from "./commands/DescribeExecutionCommand";
49
- import {
50
- DescribeSecurityPolicyCommand,
51
- DescribeSecurityPolicyCommandInput,
52
- DescribeSecurityPolicyCommandOutput,
53
- } from "./commands/DescribeSecurityPolicyCommand";
54
- import {
55
- DescribeServerCommand,
56
- DescribeServerCommandInput,
57
- DescribeServerCommandOutput,
58
- } from "./commands/DescribeServerCommand";
59
- import {
60
- DescribeUserCommand,
61
- DescribeUserCommandInput,
62
- DescribeUserCommandOutput,
63
- } from "./commands/DescribeUserCommand";
64
- import {
65
- DescribeWorkflowCommand,
66
- DescribeWorkflowCommandInput,
67
- DescribeWorkflowCommandOutput,
68
- } from "./commands/DescribeWorkflowCommand";
69
- import {
70
- ImportSshPublicKeyCommand,
71
- ImportSshPublicKeyCommandInput,
72
- ImportSshPublicKeyCommandOutput,
73
- } from "./commands/ImportSshPublicKeyCommand";
74
- import {
75
- ListAccessesCommand,
76
- ListAccessesCommandInput,
77
- ListAccessesCommandOutput,
78
- } from "./commands/ListAccessesCommand";
79
- import {
80
- ListExecutionsCommand,
81
- ListExecutionsCommandInput,
82
- ListExecutionsCommandOutput,
83
- } from "./commands/ListExecutionsCommand";
84
- import {
85
- ListSecurityPoliciesCommand,
86
- ListSecurityPoliciesCommandInput,
87
- ListSecurityPoliciesCommandOutput,
88
- } from "./commands/ListSecurityPoliciesCommand";
89
- import { ListServersCommand, ListServersCommandInput, ListServersCommandOutput } from "./commands/ListServersCommand";
90
- import {
91
- ListTagsForResourceCommand,
92
- ListTagsForResourceCommandInput,
93
- ListTagsForResourceCommandOutput,
94
- } from "./commands/ListTagsForResourceCommand";
95
- import { ListUsersCommand, ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
96
- import {
97
- ListWorkflowsCommand,
98
- ListWorkflowsCommandInput,
99
- ListWorkflowsCommandOutput,
100
- } from "./commands/ListWorkflowsCommand";
101
- import {
102
- SendWorkflowStepStateCommand,
103
- SendWorkflowStepStateCommandInput,
104
- SendWorkflowStepStateCommandOutput,
105
- } from "./commands/SendWorkflowStepStateCommand";
106
- import { StartServerCommand, StartServerCommandInput, StartServerCommandOutput } from "./commands/StartServerCommand";
107
- import { StopServerCommand, StopServerCommandInput, StopServerCommandOutput } from "./commands/StopServerCommand";
108
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
109
- import {
110
- TestIdentityProviderCommand,
111
- TestIdentityProviderCommandInput,
112
- TestIdentityProviderCommandOutput,
113
- } from "./commands/TestIdentityProviderCommand";
114
- import {
115
- UntagResourceCommand,
116
- UntagResourceCommandInput,
117
- UntagResourceCommandOutput,
118
- } from "./commands/UntagResourceCommand";
119
- import {
120
- UpdateAccessCommand,
121
- UpdateAccessCommandInput,
122
- UpdateAccessCommandOutput,
123
- } from "./commands/UpdateAccessCommand";
124
- import {
125
- UpdateServerCommand,
126
- UpdateServerCommandInput,
127
- UpdateServerCommandOutput,
128
- } from "./commands/UpdateServerCommand";
129
- import { UpdateUserCommand, UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
130
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
131
-
132
- /**
133
- * <p>Amazon Web Services Transfer Family is a fully managed service that enables the transfer of files over the
134
- * File Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH)
135
- * File Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon
136
- * S3). Amazon Web Services helps you seamlessly migrate your file transfer workflows to Amazon Web Services Transfer Family by
137
- * integrating with existing authentication systems, and providing DNS routing with Amazon Route
138
- * 53 so nothing changes for your customers and partners, or their applications. With your data
139
- * in Amazon S3, you can use it with Amazon Web Services services for processing, analytics, machine learning,
140
- * and archiving. Getting started with Amazon Web Services Transfer Family is easy since there is no
141
- * infrastructure to buy and set up.</p>
142
- */
143
- export class Transfer extends TransferClient {
144
- /**
145
- * <p>Used by administrators to choose which groups in the directory should have access to
146
- * upload and download files over the enabled protocols using Amazon Web Services Transfer Family. For example, a
147
- * Microsoft Active Directory might contain 50,000 users, but only a small fraction might need
148
- * the ability to transfer files to the server. An administrator can use
149
- * <code>CreateAccess</code> to limit the access to the correct set of users who need this
150
- * ability.</p>
151
- */
152
- public createAccess(
153
- args: CreateAccessCommandInput,
154
- options?: __HttpHandlerOptions
155
- ): Promise<CreateAccessCommandOutput>;
156
- public createAccess(args: CreateAccessCommandInput, cb: (err: any, data?: CreateAccessCommandOutput) => void): void;
157
- public createAccess(
158
- args: CreateAccessCommandInput,
159
- options: __HttpHandlerOptions,
160
- cb: (err: any, data?: CreateAccessCommandOutput) => void
161
- ): void;
162
- public createAccess(
163
- args: CreateAccessCommandInput,
164
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAccessCommandOutput) => void),
165
- cb?: (err: any, data?: CreateAccessCommandOutput) => void
166
- ): Promise<CreateAccessCommandOutput> | void {
167
- const command = new CreateAccessCommand(args);
168
- if (typeof optionsOrCb === "function") {
169
- this.send(command, optionsOrCb);
170
- } else if (typeof cb === "function") {
171
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
172
- this.send(command, optionsOrCb || {}, cb);
173
- } else {
174
- return this.send(command, optionsOrCb);
175
- }
176
- }
177
-
178
- /**
179
- * <p>Instantiates an auto-scaling virtual server based on the selected file transfer protocol
180
- * in Amazon Web Services. When you make updates to your file transfer protocol-enabled server or when you work
181
- * with users, use the service-generated <code>ServerId</code> property that is assigned to the
182
- * newly created server.</p>
183
- */
184
- public createServer(
185
- args: CreateServerCommandInput,
186
- options?: __HttpHandlerOptions
187
- ): Promise<CreateServerCommandOutput>;
188
- public createServer(args: CreateServerCommandInput, cb: (err: any, data?: CreateServerCommandOutput) => void): void;
189
- public createServer(
190
- args: CreateServerCommandInput,
191
- options: __HttpHandlerOptions,
192
- cb: (err: any, data?: CreateServerCommandOutput) => void
193
- ): void;
194
- public createServer(
195
- args: CreateServerCommandInput,
196
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateServerCommandOutput) => void),
197
- cb?: (err: any, data?: CreateServerCommandOutput) => void
198
- ): Promise<CreateServerCommandOutput> | void {
199
- const command = new CreateServerCommand(args);
200
- if (typeof optionsOrCb === "function") {
201
- this.send(command, optionsOrCb);
202
- } else if (typeof cb === "function") {
203
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
204
- this.send(command, optionsOrCb || {}, cb);
205
- } else {
206
- return this.send(command, optionsOrCb);
207
- }
208
- }
209
-
210
- /**
211
- * <p>Creates a user and associates them with an existing file transfer protocol-enabled server.
212
- * You can only create and associate users with servers that have the
213
- * <code>IdentityProviderType</code> set to <code>SERVICE_MANAGED</code>. Using parameters for
214
- * <code>CreateUser</code>, you can specify the user name, set the home directory, store the
215
- * user's public key, and assign the user's Amazon Web Services Identity and Access Management (IAM)
216
- * role. You can also optionally add a session policy, and assign metadata with tags that can
217
- * be used to group and search for users.</p>
218
- */
219
- public createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
220
- public createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
221
- public createUser(
222
- args: CreateUserCommandInput,
223
- options: __HttpHandlerOptions,
224
- cb: (err: any, data?: CreateUserCommandOutput) => void
225
- ): void;
226
- public createUser(
227
- args: CreateUserCommandInput,
228
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserCommandOutput) => void),
229
- cb?: (err: any, data?: CreateUserCommandOutput) => void
230
- ): Promise<CreateUserCommandOutput> | void {
231
- const command = new CreateUserCommand(args);
232
- if (typeof optionsOrCb === "function") {
233
- this.send(command, optionsOrCb);
234
- } else if (typeof cb === "function") {
235
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
236
- this.send(command, optionsOrCb || {}, cb);
237
- } else {
238
- return this.send(command, optionsOrCb);
239
- }
240
- }
241
-
242
- /**
243
- * <p>
244
- * Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer completes.
245
- * After creating a workflow, you can associate the workflow created with any transfer servers by specifying the <code>workflow-details</code> field in <code>CreateServer</code> and <code>UpdateServer</code> operations.
246
- * </p>
247
- */
248
- public createWorkflow(
249
- args: CreateWorkflowCommandInput,
250
- options?: __HttpHandlerOptions
251
- ): Promise<CreateWorkflowCommandOutput>;
252
- public createWorkflow(
253
- args: CreateWorkflowCommandInput,
254
- cb: (err: any, data?: CreateWorkflowCommandOutput) => void
255
- ): void;
256
- public createWorkflow(
257
- args: CreateWorkflowCommandInput,
258
- options: __HttpHandlerOptions,
259
- cb: (err: any, data?: CreateWorkflowCommandOutput) => void
260
- ): void;
261
- public createWorkflow(
262
- args: CreateWorkflowCommandInput,
263
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWorkflowCommandOutput) => void),
264
- cb?: (err: any, data?: CreateWorkflowCommandOutput) => void
265
- ): Promise<CreateWorkflowCommandOutput> | void {
266
- const command = new CreateWorkflowCommand(args);
267
- if (typeof optionsOrCb === "function") {
268
- this.send(command, optionsOrCb);
269
- } else if (typeof cb === "function") {
270
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
271
- this.send(command, optionsOrCb || {}, cb);
272
- } else {
273
- return this.send(command, optionsOrCb);
274
- }
275
- }
276
-
277
- /**
278
- * <p>Allows you to delete the access specified in the <code>ServerID</code> and
279
- * <code>ExternalID</code> parameters.</p>
280
- */
281
- public deleteAccess(
282
- args: DeleteAccessCommandInput,
283
- options?: __HttpHandlerOptions
284
- ): Promise<DeleteAccessCommandOutput>;
285
- public deleteAccess(args: DeleteAccessCommandInput, cb: (err: any, data?: DeleteAccessCommandOutput) => void): void;
286
- public deleteAccess(
287
- args: DeleteAccessCommandInput,
288
- options: __HttpHandlerOptions,
289
- cb: (err: any, data?: DeleteAccessCommandOutput) => void
290
- ): void;
291
- public deleteAccess(
292
- args: DeleteAccessCommandInput,
293
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAccessCommandOutput) => void),
294
- cb?: (err: any, data?: DeleteAccessCommandOutput) => void
295
- ): Promise<DeleteAccessCommandOutput> | void {
296
- const command = new DeleteAccessCommand(args);
297
- if (typeof optionsOrCb === "function") {
298
- this.send(command, optionsOrCb);
299
- } else if (typeof cb === "function") {
300
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
301
- this.send(command, optionsOrCb || {}, cb);
302
- } else {
303
- return this.send(command, optionsOrCb);
304
- }
305
- }
306
-
307
- /**
308
- * <p>Deletes the file transfer protocol-enabled server that you specify.</p>
309
- *
310
- * <p>No response returns from this operation.</p>
311
- */
312
- public deleteServer(
313
- args: DeleteServerCommandInput,
314
- options?: __HttpHandlerOptions
315
- ): Promise<DeleteServerCommandOutput>;
316
- public deleteServer(args: DeleteServerCommandInput, cb: (err: any, data?: DeleteServerCommandOutput) => void): void;
317
- public deleteServer(
318
- args: DeleteServerCommandInput,
319
- options: __HttpHandlerOptions,
320
- cb: (err: any, data?: DeleteServerCommandOutput) => void
321
- ): void;
322
- public deleteServer(
323
- args: DeleteServerCommandInput,
324
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteServerCommandOutput) => void),
325
- cb?: (err: any, data?: DeleteServerCommandOutput) => void
326
- ): Promise<DeleteServerCommandOutput> | void {
327
- const command = new DeleteServerCommand(args);
328
- if (typeof optionsOrCb === "function") {
329
- this.send(command, optionsOrCb);
330
- } else if (typeof cb === "function") {
331
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
332
- this.send(command, optionsOrCb || {}, cb);
333
- } else {
334
- return this.send(command, optionsOrCb);
335
- }
336
- }
337
-
338
- /**
339
- * <p>Deletes a user's Secure Shell (SSH) public key.</p>
340
- */
341
- public deleteSshPublicKey(
342
- args: DeleteSshPublicKeyCommandInput,
343
- options?: __HttpHandlerOptions
344
- ): Promise<DeleteSshPublicKeyCommandOutput>;
345
- public deleteSshPublicKey(
346
- args: DeleteSshPublicKeyCommandInput,
347
- cb: (err: any, data?: DeleteSshPublicKeyCommandOutput) => void
348
- ): void;
349
- public deleteSshPublicKey(
350
- args: DeleteSshPublicKeyCommandInput,
351
- options: __HttpHandlerOptions,
352
- cb: (err: any, data?: DeleteSshPublicKeyCommandOutput) => void
353
- ): void;
354
- public deleteSshPublicKey(
355
- args: DeleteSshPublicKeyCommandInput,
356
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSshPublicKeyCommandOutput) => void),
357
- cb?: (err: any, data?: DeleteSshPublicKeyCommandOutput) => void
358
- ): Promise<DeleteSshPublicKeyCommandOutput> | void {
359
- const command = new DeleteSshPublicKeyCommand(args);
360
- if (typeof optionsOrCb === "function") {
361
- this.send(command, optionsOrCb);
362
- } else if (typeof cb === "function") {
363
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
364
- this.send(command, optionsOrCb || {}, cb);
365
- } else {
366
- return this.send(command, optionsOrCb);
367
- }
368
- }
369
-
370
- /**
371
- * <p>Deletes the user belonging to a file transfer protocol-enabled server you specify.</p>
372
- *
373
- * <p>No response returns from this operation.</p>
374
- *
375
- * <note>
376
- * <p>When you delete a user from a server, the user's information is lost.</p>
377
- * </note>
378
- */
379
- public deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
380
- public deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
381
- public deleteUser(
382
- args: DeleteUserCommandInput,
383
- options: __HttpHandlerOptions,
384
- cb: (err: any, data?: DeleteUserCommandOutput) => void
385
- ): void;
386
- public deleteUser(
387
- args: DeleteUserCommandInput,
388
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserCommandOutput) => void),
389
- cb?: (err: any, data?: DeleteUserCommandOutput) => void
390
- ): Promise<DeleteUserCommandOutput> | void {
391
- const command = new DeleteUserCommand(args);
392
- if (typeof optionsOrCb === "function") {
393
- this.send(command, optionsOrCb);
394
- } else if (typeof cb === "function") {
395
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
396
- this.send(command, optionsOrCb || {}, cb);
397
- } else {
398
- return this.send(command, optionsOrCb);
399
- }
400
- }
401
-
402
- /**
403
- * <p>Deletes the specified workflow.</p>
404
- */
405
- public deleteWorkflow(
406
- args: DeleteWorkflowCommandInput,
407
- options?: __HttpHandlerOptions
408
- ): Promise<DeleteWorkflowCommandOutput>;
409
- public deleteWorkflow(
410
- args: DeleteWorkflowCommandInput,
411
- cb: (err: any, data?: DeleteWorkflowCommandOutput) => void
412
- ): void;
413
- public deleteWorkflow(
414
- args: DeleteWorkflowCommandInput,
415
- options: __HttpHandlerOptions,
416
- cb: (err: any, data?: DeleteWorkflowCommandOutput) => void
417
- ): void;
418
- public deleteWorkflow(
419
- args: DeleteWorkflowCommandInput,
420
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWorkflowCommandOutput) => void),
421
- cb?: (err: any, data?: DeleteWorkflowCommandOutput) => void
422
- ): Promise<DeleteWorkflowCommandOutput> | void {
423
- const command = new DeleteWorkflowCommand(args);
424
- if (typeof optionsOrCb === "function") {
425
- this.send(command, optionsOrCb);
426
- } else if (typeof cb === "function") {
427
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
428
- this.send(command, optionsOrCb || {}, cb);
429
- } else {
430
- return this.send(command, optionsOrCb);
431
- }
432
- }
433
-
434
- /**
435
- * <p>Describes the access that is assigned to the specific file transfer protocol-enabled
436
- * server, as identified by its <code>ServerId</code> property and its
437
- * <code>ExternalID</code>.</p>
438
- *
439
- * <p>The response from this call returns the properties of the access that is associated with
440
- * the <code>ServerId</code> value that was specified.</p>
441
- */
442
- public describeAccess(
443
- args: DescribeAccessCommandInput,
444
- options?: __HttpHandlerOptions
445
- ): Promise<DescribeAccessCommandOutput>;
446
- public describeAccess(
447
- args: DescribeAccessCommandInput,
448
- cb: (err: any, data?: DescribeAccessCommandOutput) => void
449
- ): void;
450
- public describeAccess(
451
- args: DescribeAccessCommandInput,
452
- options: __HttpHandlerOptions,
453
- cb: (err: any, data?: DescribeAccessCommandOutput) => void
454
- ): void;
455
- public describeAccess(
456
- args: DescribeAccessCommandInput,
457
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccessCommandOutput) => void),
458
- cb?: (err: any, data?: DescribeAccessCommandOutput) => void
459
- ): Promise<DescribeAccessCommandOutput> | void {
460
- const command = new DescribeAccessCommand(args);
461
- if (typeof optionsOrCb === "function") {
462
- this.send(command, optionsOrCb);
463
- } else if (typeof cb === "function") {
464
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
465
- this.send(command, optionsOrCb || {}, cb);
466
- } else {
467
- return this.send(command, optionsOrCb);
468
- }
469
- }
470
-
471
- /**
472
- * <p>You can use <code>DescribeExecution</code> to check the details of the execution of the specified workflow.</p>
473
- */
474
- public describeExecution(
475
- args: DescribeExecutionCommandInput,
476
- options?: __HttpHandlerOptions
477
- ): Promise<DescribeExecutionCommandOutput>;
478
- public describeExecution(
479
- args: DescribeExecutionCommandInput,
480
- cb: (err: any, data?: DescribeExecutionCommandOutput) => void
481
- ): void;
482
- public describeExecution(
483
- args: DescribeExecutionCommandInput,
484
- options: __HttpHandlerOptions,
485
- cb: (err: any, data?: DescribeExecutionCommandOutput) => void
486
- ): void;
487
- public describeExecution(
488
- args: DescribeExecutionCommandInput,
489
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeExecutionCommandOutput) => void),
490
- cb?: (err: any, data?: DescribeExecutionCommandOutput) => void
491
- ): Promise<DescribeExecutionCommandOutput> | void {
492
- const command = new DescribeExecutionCommand(args);
493
- if (typeof optionsOrCb === "function") {
494
- this.send(command, optionsOrCb);
495
- } else if (typeof cb === "function") {
496
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
497
- this.send(command, optionsOrCb || {}, cb);
498
- } else {
499
- return this.send(command, optionsOrCb);
500
- }
501
- }
502
-
503
- /**
504
- * <p>Describes the security policy that is attached to your file transfer protocol-enabled
505
- * server. The response contains a description of the security policy's properties. For more
506
- * information about security policies, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html">Working with security
507
- * policies</a>.</p>
508
- */
509
- public describeSecurityPolicy(
510
- args: DescribeSecurityPolicyCommandInput,
511
- options?: __HttpHandlerOptions
512
- ): Promise<DescribeSecurityPolicyCommandOutput>;
513
- public describeSecurityPolicy(
514
- args: DescribeSecurityPolicyCommandInput,
515
- cb: (err: any, data?: DescribeSecurityPolicyCommandOutput) => void
516
- ): void;
517
- public describeSecurityPolicy(
518
- args: DescribeSecurityPolicyCommandInput,
519
- options: __HttpHandlerOptions,
520
- cb: (err: any, data?: DescribeSecurityPolicyCommandOutput) => void
521
- ): void;
522
- public describeSecurityPolicy(
523
- args: DescribeSecurityPolicyCommandInput,
524
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSecurityPolicyCommandOutput) => void),
525
- cb?: (err: any, data?: DescribeSecurityPolicyCommandOutput) => void
526
- ): Promise<DescribeSecurityPolicyCommandOutput> | void {
527
- const command = new DescribeSecurityPolicyCommand(args);
528
- if (typeof optionsOrCb === "function") {
529
- this.send(command, optionsOrCb);
530
- } else if (typeof cb === "function") {
531
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
532
- this.send(command, optionsOrCb || {}, cb);
533
- } else {
534
- return this.send(command, optionsOrCb);
535
- }
536
- }
537
-
538
- /**
539
- * <p>Describes a file transfer protocol-enabled server that you specify by passing the
540
- * <code>ServerId</code> parameter.</p>
541
- *
542
- * <p>The response contains a description of a server's properties. When you set
543
- * <code>EndpointType</code> to VPC, the response will contain the
544
- * <code>EndpointDetails</code>.</p>
545
- */
546
- public describeServer(
547
- args: DescribeServerCommandInput,
548
- options?: __HttpHandlerOptions
549
- ): Promise<DescribeServerCommandOutput>;
550
- public describeServer(
551
- args: DescribeServerCommandInput,
552
- cb: (err: any, data?: DescribeServerCommandOutput) => void
553
- ): void;
554
- public describeServer(
555
- args: DescribeServerCommandInput,
556
- options: __HttpHandlerOptions,
557
- cb: (err: any, data?: DescribeServerCommandOutput) => void
558
- ): void;
559
- public describeServer(
560
- args: DescribeServerCommandInput,
561
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeServerCommandOutput) => void),
562
- cb?: (err: any, data?: DescribeServerCommandOutput) => void
563
- ): Promise<DescribeServerCommandOutput> | void {
564
- const command = new DescribeServerCommand(args);
565
- if (typeof optionsOrCb === "function") {
566
- this.send(command, optionsOrCb);
567
- } else if (typeof cb === "function") {
568
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
569
- this.send(command, optionsOrCb || {}, cb);
570
- } else {
571
- return this.send(command, optionsOrCb);
572
- }
573
- }
574
-
575
- /**
576
- * <p>Describes the user assigned to the specific file transfer protocol-enabled server, as
577
- * identified by its <code>ServerId</code> property.</p>
578
- *
579
- * <p>The response from this call returns the properties of the user associated with the
580
- * <code>ServerId</code> value that was specified.</p>
581
- */
582
- public describeUser(
583
- args: DescribeUserCommandInput,
584
- options?: __HttpHandlerOptions
585
- ): Promise<DescribeUserCommandOutput>;
586
- public describeUser(args: DescribeUserCommandInput, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
587
- public describeUser(
588
- args: DescribeUserCommandInput,
589
- options: __HttpHandlerOptions,
590
- cb: (err: any, data?: DescribeUserCommandOutput) => void
591
- ): void;
592
- public describeUser(
593
- args: DescribeUserCommandInput,
594
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUserCommandOutput) => void),
595
- cb?: (err: any, data?: DescribeUserCommandOutput) => void
596
- ): Promise<DescribeUserCommandOutput> | void {
597
- const command = new DescribeUserCommand(args);
598
- if (typeof optionsOrCb === "function") {
599
- this.send(command, optionsOrCb);
600
- } else if (typeof cb === "function") {
601
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
602
- this.send(command, optionsOrCb || {}, cb);
603
- } else {
604
- return this.send(command, optionsOrCb);
605
- }
606
- }
607
-
608
- /**
609
- * <p>Describes the specified workflow.</p>
610
- */
611
- public describeWorkflow(
612
- args: DescribeWorkflowCommandInput,
613
- options?: __HttpHandlerOptions
614
- ): Promise<DescribeWorkflowCommandOutput>;
615
- public describeWorkflow(
616
- args: DescribeWorkflowCommandInput,
617
- cb: (err: any, data?: DescribeWorkflowCommandOutput) => void
618
- ): void;
619
- public describeWorkflow(
620
- args: DescribeWorkflowCommandInput,
621
- options: __HttpHandlerOptions,
622
- cb: (err: any, data?: DescribeWorkflowCommandOutput) => void
623
- ): void;
624
- public describeWorkflow(
625
- args: DescribeWorkflowCommandInput,
626
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkflowCommandOutput) => void),
627
- cb?: (err: any, data?: DescribeWorkflowCommandOutput) => void
628
- ): Promise<DescribeWorkflowCommandOutput> | void {
629
- const command = new DescribeWorkflowCommand(args);
630
- if (typeof optionsOrCb === "function") {
631
- this.send(command, optionsOrCb);
632
- } else if (typeof cb === "function") {
633
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
634
- this.send(command, optionsOrCb || {}, cb);
635
- } else {
636
- return this.send(command, optionsOrCb);
637
- }
638
- }
639
-
640
- /**
641
- * <p>Adds a Secure Shell (SSH) public key to a user account identified by a
642
- * <code>UserName</code> value assigned to the specific file transfer protocol-enabled server,
643
- * identified by <code>ServerId</code>.</p>
644
- *
645
- * <p>The response returns the <code>UserName</code> value, the <code>ServerId</code> value, and
646
- * the name of the <code>SshPublicKeyId</code>.</p>
647
- */
648
- public importSshPublicKey(
649
- args: ImportSshPublicKeyCommandInput,
650
- options?: __HttpHandlerOptions
651
- ): Promise<ImportSshPublicKeyCommandOutput>;
652
- public importSshPublicKey(
653
- args: ImportSshPublicKeyCommandInput,
654
- cb: (err: any, data?: ImportSshPublicKeyCommandOutput) => void
655
- ): void;
656
- public importSshPublicKey(
657
- args: ImportSshPublicKeyCommandInput,
658
- options: __HttpHandlerOptions,
659
- cb: (err: any, data?: ImportSshPublicKeyCommandOutput) => void
660
- ): void;
661
- public importSshPublicKey(
662
- args: ImportSshPublicKeyCommandInput,
663
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportSshPublicKeyCommandOutput) => void),
664
- cb?: (err: any, data?: ImportSshPublicKeyCommandOutput) => void
665
- ): Promise<ImportSshPublicKeyCommandOutput> | void {
666
- const command = new ImportSshPublicKeyCommand(args);
667
- if (typeof optionsOrCb === "function") {
668
- this.send(command, optionsOrCb);
669
- } else if (typeof cb === "function") {
670
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
671
- this.send(command, optionsOrCb || {}, cb);
672
- } else {
673
- return this.send(command, optionsOrCb);
674
- }
675
- }
676
-
677
- /**
678
- * <p>Lists the details for all the accesses you have on your server.</p>
679
- */
680
- public listAccesses(
681
- args: ListAccessesCommandInput,
682
- options?: __HttpHandlerOptions
683
- ): Promise<ListAccessesCommandOutput>;
684
- public listAccesses(args: ListAccessesCommandInput, cb: (err: any, data?: ListAccessesCommandOutput) => void): void;
685
- public listAccesses(
686
- args: ListAccessesCommandInput,
687
- options: __HttpHandlerOptions,
688
- cb: (err: any, data?: ListAccessesCommandOutput) => void
689
- ): void;
690
- public listAccesses(
691
- args: ListAccessesCommandInput,
692
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAccessesCommandOutput) => void),
693
- cb?: (err: any, data?: ListAccessesCommandOutput) => void
694
- ): Promise<ListAccessesCommandOutput> | void {
695
- const command = new ListAccessesCommand(args);
696
- if (typeof optionsOrCb === "function") {
697
- this.send(command, optionsOrCb);
698
- } else if (typeof cb === "function") {
699
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
700
- this.send(command, optionsOrCb || {}, cb);
701
- } else {
702
- return this.send(command, optionsOrCb);
703
- }
704
- }
705
-
706
- /**
707
- * <p>Lists all executions for the specified workflow.</p>
708
- */
709
- public listExecutions(
710
- args: ListExecutionsCommandInput,
711
- options?: __HttpHandlerOptions
712
- ): Promise<ListExecutionsCommandOutput>;
713
- public listExecutions(
714
- args: ListExecutionsCommandInput,
715
- cb: (err: any, data?: ListExecutionsCommandOutput) => void
716
- ): void;
717
- public listExecutions(
718
- args: ListExecutionsCommandInput,
719
- options: __HttpHandlerOptions,
720
- cb: (err: any, data?: ListExecutionsCommandOutput) => void
721
- ): void;
722
- public listExecutions(
723
- args: ListExecutionsCommandInput,
724
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListExecutionsCommandOutput) => void),
725
- cb?: (err: any, data?: ListExecutionsCommandOutput) => void
726
- ): Promise<ListExecutionsCommandOutput> | void {
727
- const command = new ListExecutionsCommand(args);
728
- if (typeof optionsOrCb === "function") {
729
- this.send(command, optionsOrCb);
730
- } else if (typeof cb === "function") {
731
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
732
- this.send(command, optionsOrCb || {}, cb);
733
- } else {
734
- return this.send(command, optionsOrCb);
735
- }
736
- }
737
-
738
- /**
739
- * <p>Lists the security policies that are attached to your file transfer protocol-enabled
740
- * servers.</p>
741
- */
742
- public listSecurityPolicies(
743
- args: ListSecurityPoliciesCommandInput,
744
- options?: __HttpHandlerOptions
745
- ): Promise<ListSecurityPoliciesCommandOutput>;
746
- public listSecurityPolicies(
747
- args: ListSecurityPoliciesCommandInput,
748
- cb: (err: any, data?: ListSecurityPoliciesCommandOutput) => void
749
- ): void;
750
- public listSecurityPolicies(
751
- args: ListSecurityPoliciesCommandInput,
752
- options: __HttpHandlerOptions,
753
- cb: (err: any, data?: ListSecurityPoliciesCommandOutput) => void
754
- ): void;
755
- public listSecurityPolicies(
756
- args: ListSecurityPoliciesCommandInput,
757
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSecurityPoliciesCommandOutput) => void),
758
- cb?: (err: any, data?: ListSecurityPoliciesCommandOutput) => void
759
- ): Promise<ListSecurityPoliciesCommandOutput> | void {
760
- const command = new ListSecurityPoliciesCommand(args);
761
- if (typeof optionsOrCb === "function") {
762
- this.send(command, optionsOrCb);
763
- } else if (typeof cb === "function") {
764
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
765
- this.send(command, optionsOrCb || {}, cb);
766
- } else {
767
- return this.send(command, optionsOrCb);
768
- }
769
- }
770
-
771
- /**
772
- * <p>Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services
773
- * account.</p>
774
- */
775
- public listServers(args: ListServersCommandInput, options?: __HttpHandlerOptions): Promise<ListServersCommandOutput>;
776
- public listServers(args: ListServersCommandInput, cb: (err: any, data?: ListServersCommandOutput) => void): void;
777
- public listServers(
778
- args: ListServersCommandInput,
779
- options: __HttpHandlerOptions,
780
- cb: (err: any, data?: ListServersCommandOutput) => void
781
- ): void;
782
- public listServers(
783
- args: ListServersCommandInput,
784
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListServersCommandOutput) => void),
785
- cb?: (err: any, data?: ListServersCommandOutput) => void
786
- ): Promise<ListServersCommandOutput> | void {
787
- const command = new ListServersCommand(args);
788
- if (typeof optionsOrCb === "function") {
789
- this.send(command, optionsOrCb);
790
- } else if (typeof cb === "function") {
791
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
792
- this.send(command, optionsOrCb || {}, cb);
793
- } else {
794
- return this.send(command, optionsOrCb);
795
- }
796
- }
797
-
798
- /**
799
- * <p>Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The
800
- * resource can be a user, server, or role.</p>
801
- */
802
- public listTagsForResource(
803
- args: ListTagsForResourceCommandInput,
804
- options?: __HttpHandlerOptions
805
- ): Promise<ListTagsForResourceCommandOutput>;
806
- public listTagsForResource(
807
- args: ListTagsForResourceCommandInput,
808
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
809
- ): void;
810
- public listTagsForResource(
811
- args: ListTagsForResourceCommandInput,
812
- options: __HttpHandlerOptions,
813
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
814
- ): void;
815
- public listTagsForResource(
816
- args: ListTagsForResourceCommandInput,
817
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
818
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
819
- ): Promise<ListTagsForResourceCommandOutput> | void {
820
- const command = new ListTagsForResourceCommand(args);
821
- if (typeof optionsOrCb === "function") {
822
- this.send(command, optionsOrCb);
823
- } else if (typeof cb === "function") {
824
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
825
- this.send(command, optionsOrCb || {}, cb);
826
- } else {
827
- return this.send(command, optionsOrCb);
828
- }
829
- }
830
-
831
- /**
832
- * <p>Lists the users for a file transfer protocol-enabled server that you specify by passing
833
- * the <code>ServerId</code> parameter.</p>
834
- */
835
- public listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
836
- public listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
837
- public listUsers(
838
- args: ListUsersCommandInput,
839
- options: __HttpHandlerOptions,
840
- cb: (err: any, data?: ListUsersCommandOutput) => void
841
- ): void;
842
- public listUsers(
843
- args: ListUsersCommandInput,
844
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUsersCommandOutput) => void),
845
- cb?: (err: any, data?: ListUsersCommandOutput) => void
846
- ): Promise<ListUsersCommandOutput> | void {
847
- const command = new ListUsersCommand(args);
848
- if (typeof optionsOrCb === "function") {
849
- this.send(command, optionsOrCb);
850
- } else if (typeof cb === "function") {
851
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
852
- this.send(command, optionsOrCb || {}, cb);
853
- } else {
854
- return this.send(command, optionsOrCb);
855
- }
856
- }
857
-
858
- /**
859
- * <p>Lists all of your workflows.</p>
860
- */
861
- public listWorkflows(
862
- args: ListWorkflowsCommandInput,
863
- options?: __HttpHandlerOptions
864
- ): Promise<ListWorkflowsCommandOutput>;
865
- public listWorkflows(
866
- args: ListWorkflowsCommandInput,
867
- cb: (err: any, data?: ListWorkflowsCommandOutput) => void
868
- ): void;
869
- public listWorkflows(
870
- args: ListWorkflowsCommandInput,
871
- options: __HttpHandlerOptions,
872
- cb: (err: any, data?: ListWorkflowsCommandOutput) => void
873
- ): void;
874
- public listWorkflows(
875
- args: ListWorkflowsCommandInput,
876
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListWorkflowsCommandOutput) => void),
877
- cb?: (err: any, data?: ListWorkflowsCommandOutput) => void
878
- ): Promise<ListWorkflowsCommandOutput> | void {
879
- const command = new ListWorkflowsCommand(args);
880
- if (typeof optionsOrCb === "function") {
881
- this.send(command, optionsOrCb);
882
- } else if (typeof cb === "function") {
883
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
884
- this.send(command, optionsOrCb || {}, cb);
885
- } else {
886
- return this.send(command, optionsOrCb);
887
- }
888
- }
889
-
890
- /**
891
- * <p>Sends a callback for asynchronous custom steps.</p>
892
- * <p>
893
- * The <code>ExecutionId</code>, <code>WorkflowId</code>, and <code>Token</code> are passed to the target resource during execution of a custom step of a workflow.
894
- * You must include those with their callback as well as providing a status.
895
- * </p>
896
- */
897
- public sendWorkflowStepState(
898
- args: SendWorkflowStepStateCommandInput,
899
- options?: __HttpHandlerOptions
900
- ): Promise<SendWorkflowStepStateCommandOutput>;
901
- public sendWorkflowStepState(
902
- args: SendWorkflowStepStateCommandInput,
903
- cb: (err: any, data?: SendWorkflowStepStateCommandOutput) => void
904
- ): void;
905
- public sendWorkflowStepState(
906
- args: SendWorkflowStepStateCommandInput,
907
- options: __HttpHandlerOptions,
908
- cb: (err: any, data?: SendWorkflowStepStateCommandOutput) => void
909
- ): void;
910
- public sendWorkflowStepState(
911
- args: SendWorkflowStepStateCommandInput,
912
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SendWorkflowStepStateCommandOutput) => void),
913
- cb?: (err: any, data?: SendWorkflowStepStateCommandOutput) => void
914
- ): Promise<SendWorkflowStepStateCommandOutput> | void {
915
- const command = new SendWorkflowStepStateCommand(args);
916
- if (typeof optionsOrCb === "function") {
917
- this.send(command, optionsOrCb);
918
- } else if (typeof cb === "function") {
919
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
920
- this.send(command, optionsOrCb || {}, cb);
921
- } else {
922
- return this.send(command, optionsOrCb);
923
- }
924
- }
925
-
926
- /**
927
- * <p>Changes the state of a file transfer protocol-enabled server from <code>OFFLINE</code> to
928
- * <code>ONLINE</code>. It has no impact on a server that is already <code>ONLINE</code>. An
929
- * <code>ONLINE</code> server can accept and process file transfer jobs.</p>
930
- *
931
- * <p>The state of <code>STARTING</code> indicates that the server is in an intermediate state,
932
- * either not fully able to respond, or not fully online. The values of <code>START_FAILED</code>
933
- * can indicate an error condition.</p>
934
- *
935
- * <p>No response is returned from this call.</p>
936
- */
937
- public startServer(args: StartServerCommandInput, options?: __HttpHandlerOptions): Promise<StartServerCommandOutput>;
938
- public startServer(args: StartServerCommandInput, cb: (err: any, data?: StartServerCommandOutput) => void): void;
939
- public startServer(
940
- args: StartServerCommandInput,
941
- options: __HttpHandlerOptions,
942
- cb: (err: any, data?: StartServerCommandOutput) => void
943
- ): void;
944
- public startServer(
945
- args: StartServerCommandInput,
946
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartServerCommandOutput) => void),
947
- cb?: (err: any, data?: StartServerCommandOutput) => void
948
- ): Promise<StartServerCommandOutput> | void {
949
- const command = new StartServerCommand(args);
950
- if (typeof optionsOrCb === "function") {
951
- this.send(command, optionsOrCb);
952
- } else if (typeof cb === "function") {
953
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
954
- this.send(command, optionsOrCb || {}, cb);
955
- } else {
956
- return this.send(command, optionsOrCb);
957
- }
958
- }
959
-
960
- /**
961
- * <p>Changes the state of a file transfer protocol-enabled server from <code>ONLINE</code> to
962
- * <code>OFFLINE</code>. An <code>OFFLINE</code> server cannot accept and process file transfer
963
- * jobs. Information tied to your server, such as server and user properties, are not affected by
964
- * stopping your server.</p>
965
- *
966
- * <note>
967
- * <p>Stopping the server will not reduce or impact your file transfer protocol endpoint
968
- * billing; you must delete the server to stop being billed.</p>
969
- * </note>
970
- *
971
- * <p>The state of <code>STOPPING</code> indicates that the server is in an intermediate state,
972
- * either not fully able to respond, or not fully offline. The values of <code>STOP_FAILED</code>
973
- * can indicate an error condition.</p>
974
- *
975
- * <p>No response is returned from this call.</p>
976
- */
977
- public stopServer(args: StopServerCommandInput, options?: __HttpHandlerOptions): Promise<StopServerCommandOutput>;
978
- public stopServer(args: StopServerCommandInput, cb: (err: any, data?: StopServerCommandOutput) => void): void;
979
- public stopServer(
980
- args: StopServerCommandInput,
981
- options: __HttpHandlerOptions,
982
- cb: (err: any, data?: StopServerCommandOutput) => void
983
- ): void;
984
- public stopServer(
985
- args: StopServerCommandInput,
986
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopServerCommandOutput) => void),
987
- cb?: (err: any, data?: StopServerCommandOutput) => void
988
- ): Promise<StopServerCommandOutput> | void {
989
- const command = new StopServerCommand(args);
990
- if (typeof optionsOrCb === "function") {
991
- this.send(command, optionsOrCb);
992
- } else if (typeof cb === "function") {
993
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
994
- this.send(command, optionsOrCb || {}, cb);
995
- } else {
996
- return this.send(command, optionsOrCb);
997
- }
998
- }
999
-
1000
- /**
1001
- * <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
1002
- * Resources are users, servers, roles, and other entities.</p>
1003
- *
1004
- * <p>There is no response returned from this call.</p>
1005
- */
1006
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1007
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1008
- public tagResource(
1009
- args: TagResourceCommandInput,
1010
- options: __HttpHandlerOptions,
1011
- cb: (err: any, data?: TagResourceCommandOutput) => void
1012
- ): void;
1013
- public tagResource(
1014
- args: TagResourceCommandInput,
1015
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1016
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1017
- ): Promise<TagResourceCommandOutput> | void {
1018
- const command = new TagResourceCommand(args);
1019
- if (typeof optionsOrCb === "function") {
1020
- this.send(command, optionsOrCb);
1021
- } else if (typeof cb === "function") {
1022
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1023
- this.send(command, optionsOrCb || {}, cb);
1024
- } else {
1025
- return this.send(command, optionsOrCb);
1026
- }
1027
- }
1028
-
1029
- /**
1030
- * <p>If the <code>IdentityProviderType</code> of a file transfer protocol-enabled server is
1031
- * <code>AWS_DIRECTORY_SERVICE</code> or <code>API_Gateway</code>, tests whether your identity
1032
- * provider is set up successfully. We highly recommend that you call this operation to test your
1033
- * authentication method as soon as you create your server. By doing so, you can troubleshoot
1034
- * issues with the identity provider integration to ensure that your users can successfully use
1035
- * the service.</p>
1036
- * <p>
1037
- * The <code>ServerId</code> and <code>UserName</code> parameters are required. The <code>ServerProtocol</code>, <code>SourceIp</code>, and <code>UserPassword</code> are all optional.
1038
- * </p>
1039
- * <note>
1040
- * <p>
1041
- * You cannot use <code>TestIdentityProvider</code> if the <code>IdentityProviderType</code> of your server is <code>SERVICE_MANAGED</code>.
1042
- * </p>
1043
- * </note>
1044
- * <ul>
1045
- * <li>
1046
- * <p>
1047
- * If you provide any incorrect values for any parameters, the <code>Response</code> field is empty.
1048
- * </p>
1049
- * </li>
1050
- * <li>
1051
- * <p>
1052
- * If you provide a server ID for a server that uses service-managed users, you get an error:
1053
- * </p>
1054
- * <p>
1055
- * <code>
1056
- * An error occurred (InvalidRequestException) when calling the TestIdentityProvider operation: s-<i>server-ID</i> not configured for external auth
1057
- * </code>
1058
- * </p>
1059
- * </li>
1060
- * <li>
1061
- * <p>
1062
- * If you enter a Server ID for the <code>--server-id</code> parameter that does not identify an actual Transfer server, you receive the following error:
1063
- * </p>
1064
- * <p>
1065
- * <code>An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider operation: Unknown server</code>
1066
- * </p>
1067
- * </li>
1068
- * </ul>
1069
- */
1070
- public testIdentityProvider(
1071
- args: TestIdentityProviderCommandInput,
1072
- options?: __HttpHandlerOptions
1073
- ): Promise<TestIdentityProviderCommandOutput>;
1074
- public testIdentityProvider(
1075
- args: TestIdentityProviderCommandInput,
1076
- cb: (err: any, data?: TestIdentityProviderCommandOutput) => void
1077
- ): void;
1078
- public testIdentityProvider(
1079
- args: TestIdentityProviderCommandInput,
1080
- options: __HttpHandlerOptions,
1081
- cb: (err: any, data?: TestIdentityProviderCommandOutput) => void
1082
- ): void;
1083
- public testIdentityProvider(
1084
- args: TestIdentityProviderCommandInput,
1085
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TestIdentityProviderCommandOutput) => void),
1086
- cb?: (err: any, data?: TestIdentityProviderCommandOutput) => void
1087
- ): Promise<TestIdentityProviderCommandOutput> | void {
1088
- const command = new TestIdentityProviderCommand(args);
1089
- if (typeof optionsOrCb === "function") {
1090
- this.send(command, optionsOrCb);
1091
- } else if (typeof cb === "function") {
1092
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1093
- this.send(command, optionsOrCb || {}, cb);
1094
- } else {
1095
- return this.send(command, optionsOrCb);
1096
- }
1097
- }
1098
-
1099
- /**
1100
- * <p>Detaches a key-value pair from a resource, as identified by its Amazon Resource Name
1101
- * (ARN). Resources are users, servers, roles, and other entities.</p>
1102
- *
1103
- * <p>No response is returned from this call.</p>
1104
- */
1105
- public untagResource(
1106
- args: UntagResourceCommandInput,
1107
- options?: __HttpHandlerOptions
1108
- ): Promise<UntagResourceCommandOutput>;
1109
- public untagResource(
1110
- args: UntagResourceCommandInput,
1111
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1112
- ): void;
1113
- public untagResource(
1114
- args: UntagResourceCommandInput,
1115
- options: __HttpHandlerOptions,
1116
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1117
- ): void;
1118
- public untagResource(
1119
- args: UntagResourceCommandInput,
1120
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1121
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1122
- ): Promise<UntagResourceCommandOutput> | void {
1123
- const command = new UntagResourceCommand(args);
1124
- if (typeof optionsOrCb === "function") {
1125
- this.send(command, optionsOrCb);
1126
- } else if (typeof cb === "function") {
1127
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1128
- this.send(command, optionsOrCb || {}, cb);
1129
- } else {
1130
- return this.send(command, optionsOrCb);
1131
- }
1132
- }
1133
-
1134
- /**
1135
- * <p>Allows you to update parameters for the access specified in the <code>ServerID</code> and
1136
- * <code>ExternalID</code> parameters.</p>
1137
- */
1138
- public updateAccess(
1139
- args: UpdateAccessCommandInput,
1140
- options?: __HttpHandlerOptions
1141
- ): Promise<UpdateAccessCommandOutput>;
1142
- public updateAccess(args: UpdateAccessCommandInput, cb: (err: any, data?: UpdateAccessCommandOutput) => void): void;
1143
- public updateAccess(
1144
- args: UpdateAccessCommandInput,
1145
- options: __HttpHandlerOptions,
1146
- cb: (err: any, data?: UpdateAccessCommandOutput) => void
1147
- ): void;
1148
- public updateAccess(
1149
- args: UpdateAccessCommandInput,
1150
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAccessCommandOutput) => void),
1151
- cb?: (err: any, data?: UpdateAccessCommandOutput) => void
1152
- ): Promise<UpdateAccessCommandOutput> | void {
1153
- const command = new UpdateAccessCommand(args);
1154
- if (typeof optionsOrCb === "function") {
1155
- this.send(command, optionsOrCb);
1156
- } else if (typeof cb === "function") {
1157
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1158
- this.send(command, optionsOrCb || {}, cb);
1159
- } else {
1160
- return this.send(command, optionsOrCb);
1161
- }
1162
- }
1163
-
1164
- /**
1165
- * <p>Updates the file transfer protocol-enabled server's properties after that server has
1166
- * been created.</p>
1167
- *
1168
- * <p>The <code>UpdateServer</code> call returns the <code>ServerId</code> of the server you
1169
- * updated.</p>
1170
- */
1171
- public updateServer(
1172
- args: UpdateServerCommandInput,
1173
- options?: __HttpHandlerOptions
1174
- ): Promise<UpdateServerCommandOutput>;
1175
- public updateServer(args: UpdateServerCommandInput, cb: (err: any, data?: UpdateServerCommandOutput) => void): void;
1176
- public updateServer(
1177
- args: UpdateServerCommandInput,
1178
- options: __HttpHandlerOptions,
1179
- cb: (err: any, data?: UpdateServerCommandOutput) => void
1180
- ): void;
1181
- public updateServer(
1182
- args: UpdateServerCommandInput,
1183
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateServerCommandOutput) => void),
1184
- cb?: (err: any, data?: UpdateServerCommandOutput) => void
1185
- ): Promise<UpdateServerCommandOutput> | void {
1186
- const command = new UpdateServerCommand(args);
1187
- if (typeof optionsOrCb === "function") {
1188
- this.send(command, optionsOrCb);
1189
- } else if (typeof cb === "function") {
1190
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1191
- this.send(command, optionsOrCb || {}, cb);
1192
- } else {
1193
- return this.send(command, optionsOrCb);
1194
- }
1195
- }
1196
-
1197
- /**
1198
- * <p>Assigns new properties to a user. Parameters you pass modify any or all of the following:
1199
- * the home directory, role, and policy for the <code>UserName</code> and <code>ServerId</code>
1200
- * you specify.</p>
1201
- *
1202
- * <p>The response returns the <code>ServerId</code> and the <code>UserName</code> for the
1203
- * updated user.</p>
1204
- */
1205
- public updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
1206
- public updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
1207
- public updateUser(
1208
- args: UpdateUserCommandInput,
1209
- options: __HttpHandlerOptions,
1210
- cb: (err: any, data?: UpdateUserCommandOutput) => void
1211
- ): void;
1212
- public updateUser(
1213
- args: UpdateUserCommandInput,
1214
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateUserCommandOutput) => void),
1215
- cb?: (err: any, data?: UpdateUserCommandOutput) => void
1216
- ): Promise<UpdateUserCommandOutput> | void {
1217
- const command = new UpdateUserCommand(args);
1218
- if (typeof optionsOrCb === "function") {
1219
- this.send(command, optionsOrCb);
1220
- } else if (typeof cb === "function") {
1221
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1222
- this.send(command, optionsOrCb || {}, cb);
1223
- } else {
1224
- return this.send(command, optionsOrCb);
1225
- }
1226
- }
1227
- }