@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
@@ -1,102 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
2
- import { StartServerRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1StartServerCommand,
5
- serializeAws_json1_1StartServerCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface StartServerCommandInput extends StartServerRequest {}
21
- export interface StartServerCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Changes the state of a file transfer protocol-enabled server from <code>OFFLINE</code> to
25
- * <code>ONLINE</code>. It has no impact on a server that is already <code>ONLINE</code>. An
26
- * <code>ONLINE</code> server can accept and process file transfer jobs.</p>
27
- *
28
- * <p>The state of <code>STARTING</code> indicates that the server is in an intermediate state,
29
- * either not fully able to respond, or not fully online. The values of <code>START_FAILED</code>
30
- * can indicate an error condition.</p>
31
- *
32
- * <p>No response is returned from this call.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { TransferClient, StartServerCommand } from "@aws-sdk/client-transfer"; // ES Modules import
37
- * // const { TransferClient, StartServerCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
38
- * const client = new TransferClient(config);
39
- * const command = new StartServerCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link StartServerCommandInput} for command's `input` shape.
44
- * @see {@link StartServerCommandOutput} for command's `response` shape.
45
- * @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class StartServerCommand extends $Command<
49
- StartServerCommandInput,
50
- StartServerCommandOutput,
51
- TransferClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: StartServerCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: TransferClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<StartServerCommandInput, StartServerCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "TransferClient";
76
- const commandName = "StartServerCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: StartServerRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: (output: any) => output,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: StartServerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_json1_1StartServerCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartServerCommandOutput> {
97
- return deserializeAws_json1_1StartServerCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,108 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
2
- import { StopServerRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1StopServerCommand,
5
- serializeAws_json1_1StopServerCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface StopServerCommandInput extends StopServerRequest {}
21
- export interface StopServerCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Changes the state of a file transfer protocol-enabled server from <code>ONLINE</code> to
25
- * <code>OFFLINE</code>. An <code>OFFLINE</code> server cannot accept and process file transfer
26
- * jobs. Information tied to your server, such as server and user properties, are not affected by
27
- * stopping your server.</p>
28
- *
29
- * <note>
30
- * <p>Stopping the server will not reduce or impact your file transfer protocol endpoint
31
- * billing; you must delete the server to stop being billed.</p>
32
- * </note>
33
- *
34
- * <p>The state of <code>STOPPING</code> indicates that the server is in an intermediate state,
35
- * either not fully able to respond, or not fully offline. The values of <code>STOP_FAILED</code>
36
- * can indicate an error condition.</p>
37
- *
38
- * <p>No response is returned from this call.</p>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { TransferClient, StopServerCommand } from "@aws-sdk/client-transfer"; // ES Modules import
43
- * // const { TransferClient, StopServerCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
44
- * const client = new TransferClient(config);
45
- * const command = new StopServerCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link StopServerCommandInput} for command's `input` shape.
50
- * @see {@link StopServerCommandOutput} for command's `response` shape.
51
- * @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class StopServerCommand extends $Command<
55
- StopServerCommandInput,
56
- StopServerCommandOutput,
57
- TransferClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: StopServerCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: TransferClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<StopServerCommandInput, StopServerCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "TransferClient";
82
- const commandName = "StopServerCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: StopServerRequest.filterSensitiveLog,
88
- outputFilterSensitiveLog: (output: any) => output,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(input: StopServerCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
99
- return serializeAws_json1_1StopServerCommand(input, context);
100
- }
101
-
102
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopServerCommandOutput> {
103
- return deserializeAws_json1_1StopServerCommand(output, context);
104
- }
105
-
106
- // Start section: command_body_extra
107
- // End section: command_body_extra
108
- }
@@ -1,97 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
2
- import { TagResourceRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1TagResourceCommand,
5
- serializeAws_json1_1TagResourceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface TagResourceCommandInput extends TagResourceRequest {}
21
- export interface TagResourceCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN).
25
- * Resources are users, servers, roles, and other entities.</p>
26
- *
27
- * <p>There is no response returned from this call.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { TransferClient, TagResourceCommand } from "@aws-sdk/client-transfer"; // ES Modules import
32
- * // const { TransferClient, TagResourceCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
33
- * const client = new TransferClient(config);
34
- * const command = new TagResourceCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link TagResourceCommandInput} for command's `input` shape.
39
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
40
- * @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class TagResourceCommand extends $Command<
44
- TagResourceCommandInput,
45
- TagResourceCommandOutput,
46
- TransferClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: TagResourceCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: TransferClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "TransferClient";
71
- const commandName = "TagResourceCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: (output: any) => output,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1TagResourceCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
92
- return deserializeAws_json1_1TagResourceCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,132 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
2
- import { TestIdentityProviderRequest, TestIdentityProviderResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1TestIdentityProviderCommand,
5
- serializeAws_json1_1TestIdentityProviderCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface TestIdentityProviderCommandInput extends TestIdentityProviderRequest {}
21
- export interface TestIdentityProviderCommandOutput extends TestIdentityProviderResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>If the <code>IdentityProviderType</code> of a file transfer protocol-enabled server is
25
- * <code>AWS_DIRECTORY_SERVICE</code> or <code>API_Gateway</code>, tests whether your identity
26
- * provider is set up successfully. We highly recommend that you call this operation to test your
27
- * authentication method as soon as you create your server. By doing so, you can troubleshoot
28
- * issues with the identity provider integration to ensure that your users can successfully use
29
- * the service.</p>
30
- * <p>
31
- * 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.
32
- * </p>
33
- * <note>
34
- * <p>
35
- * You cannot use <code>TestIdentityProvider</code> if the <code>IdentityProviderType</code> of your server is <code>SERVICE_MANAGED</code>.
36
- * </p>
37
- * </note>
38
- * <ul>
39
- * <li>
40
- * <p>
41
- * If you provide any incorrect values for any parameters, the <code>Response</code> field is empty.
42
- * </p>
43
- * </li>
44
- * <li>
45
- * <p>
46
- * If you provide a server ID for a server that uses service-managed users, you get an error:
47
- * </p>
48
- * <p>
49
- * <code>
50
- * An error occurred (InvalidRequestException) when calling the TestIdentityProvider operation: s-<i>server-ID</i> not configured for external auth
51
- * </code>
52
- * </p>
53
- * </li>
54
- * <li>
55
- * <p>
56
- * 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:
57
- * </p>
58
- * <p>
59
- * <code>An error occurred (ResourceNotFoundException) when calling the TestIdentityProvider operation: Unknown server</code>
60
- * </p>
61
- * </li>
62
- * </ul>
63
- * @example
64
- * Use a bare-bones client and the command you need to make an API call.
65
- * ```javascript
66
- * import { TransferClient, TestIdentityProviderCommand } from "@aws-sdk/client-transfer"; // ES Modules import
67
- * // const { TransferClient, TestIdentityProviderCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
68
- * const client = new TransferClient(config);
69
- * const command = new TestIdentityProviderCommand(input);
70
- * const response = await client.send(command);
71
- * ```
72
- *
73
- * @see {@link TestIdentityProviderCommandInput} for command's `input` shape.
74
- * @see {@link TestIdentityProviderCommandOutput} for command's `response` shape.
75
- * @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
76
- *
77
- */
78
- export class TestIdentityProviderCommand extends $Command<
79
- TestIdentityProviderCommandInput,
80
- TestIdentityProviderCommandOutput,
81
- TransferClientResolvedConfig
82
- > {
83
- // Start section: command_properties
84
- // End section: command_properties
85
-
86
- constructor(readonly input: TestIdentityProviderCommandInput) {
87
- // Start section: command_constructor
88
- super();
89
- // End section: command_constructor
90
- }
91
-
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(
96
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
97
- configuration: TransferClientResolvedConfig,
98
- options?: __HttpHandlerOptions
99
- ): Handler<TestIdentityProviderCommandInput, TestIdentityProviderCommandOutput> {
100
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
101
-
102
- const stack = clientStack.concat(this.middlewareStack);
103
-
104
- const { logger } = configuration;
105
- const clientName = "TransferClient";
106
- const commandName = "TestIdentityProviderCommand";
107
- const handlerExecutionContext: HandlerExecutionContext = {
108
- logger,
109
- clientName,
110
- commandName,
111
- inputFilterSensitiveLog: TestIdentityProviderRequest.filterSensitiveLog,
112
- outputFilterSensitiveLog: TestIdentityProviderResponse.filterSensitiveLog,
113
- };
114
- const { requestHandler } = configuration;
115
- return stack.resolve(
116
- (request: FinalizeHandlerArguments<any>) =>
117
- requestHandler.handle(request.request as __HttpRequest, options || {}),
118
- handlerExecutionContext
119
- );
120
- }
121
-
122
- private serialize(input: TestIdentityProviderCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
123
- return serializeAws_json1_1TestIdentityProviderCommand(input, context);
124
- }
125
-
126
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TestIdentityProviderCommandOutput> {
127
- return deserializeAws_json1_1TestIdentityProviderCommand(output, context);
128
- }
129
-
130
- // Start section: command_body_extra
131
- // End section: command_body_extra
132
- }
@@ -1,97 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
2
- import { UntagResourceRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1UntagResourceCommand,
5
- serializeAws_json1_1UntagResourceCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
21
- export interface UntagResourceCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Detaches a key-value pair from a resource, as identified by its Amazon Resource Name
25
- * (ARN). Resources are users, servers, roles, and other entities.</p>
26
- *
27
- * <p>No response is returned from this call.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { TransferClient, UntagResourceCommand } from "@aws-sdk/client-transfer"; // ES Modules import
32
- * // const { TransferClient, UntagResourceCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
33
- * const client = new TransferClient(config);
34
- * const command = new UntagResourceCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
39
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
40
- * @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class UntagResourceCommand extends $Command<
44
- UntagResourceCommandInput,
45
- UntagResourceCommandOutput,
46
- TransferClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: UntagResourceCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: TransferClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "TransferClient";
71
- const commandName = "UntagResourceCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: (output: any) => output,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1UntagResourceCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
92
- return deserializeAws_json1_1UntagResourceCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
2
- import { UpdateAccessRequest, UpdateAccessResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1UpdateAccessCommand,
5
- serializeAws_json1_1UpdateAccessCommand,
6
- } from "../protocols/Aws_json1_1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface UpdateAccessCommandInput extends UpdateAccessRequest {}
21
- export interface UpdateAccessCommandOutput extends UpdateAccessResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Allows you to update parameters for the access specified in the <code>ServerID</code> and
25
- * <code>ExternalID</code> parameters.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { TransferClient, UpdateAccessCommand } from "@aws-sdk/client-transfer"; // ES Modules import
30
- * // const { TransferClient, UpdateAccessCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
31
- * const client = new TransferClient(config);
32
- * const command = new UpdateAccessCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateAccessCommandInput} for command's `input` shape.
37
- * @see {@link UpdateAccessCommandOutput} for command's `response` shape.
38
- * @see {@link TransferClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateAccessCommand extends $Command<
42
- UpdateAccessCommandInput,
43
- UpdateAccessCommandOutput,
44
- TransferClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateAccessCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: TransferClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateAccessCommandInput, UpdateAccessCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "TransferClient";
69
- const commandName = "UpdateAccessCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateAccessRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateAccessResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateAccessCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UpdateAccessCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAccessCommandOutput> {
90
- return deserializeAws_json1_1UpdateAccessCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }