@aws-sdk/client-appflow 3.32.0 → 3.36.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 (247) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/Appflow.js +0 -1
  3. package/{dist/cjs → dist-cjs}/AppflowClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CreateConnectorProfileCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateFlowCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/DeleteConnectorProfileCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/DeleteFlowCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DescribeConnectorEntityCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DescribeConnectorProfilesCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DescribeConnectorsCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DescribeFlowCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DescribeFlowExecutionRecordsCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/ListConnectorEntitiesCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/ListFlowsCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/StartFlowCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/StopFlowCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/UpdateConnectorProfileCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/UpdateFlowCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  23. package/{dist/cjs → dist-cjs}/index.js +0 -1
  24. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  25. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  26. package/{dist/cjs → dist-cjs}/pagination/DescribeConnectorProfilesPaginator.js +0 -1
  27. package/{dist/cjs → dist-cjs}/pagination/DescribeConnectorsPaginator.js +0 -1
  28. package/{dist/cjs → dist-cjs}/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
  29. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  30. package/{dist/cjs → dist-cjs}/pagination/ListFlowsPaginator.js +0 -1
  31. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +15 -16
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  33. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  34. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  35. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  36. package/{dist/es → dist-es}/Appflow.js +1 -45
  37. package/dist-es/AppflowClient.js +37 -0
  38. package/{dist/es → dist-es}/commands/CreateConnectorProfileCommand.js +4 -33
  39. package/{dist/es → dist-es}/commands/CreateFlowCommand.js +4 -33
  40. package/{dist/es → dist-es}/commands/DeleteConnectorProfileCommand.js +4 -30
  41. package/{dist/es → dist-es}/commands/DeleteFlowCommand.js +4 -32
  42. package/{dist/es → dist-es}/commands/DescribeConnectorEntityCommand.js +4 -31
  43. package/{dist/es → dist-es}/commands/DescribeConnectorProfilesCommand.js +4 -34
  44. package/{dist/es → dist-es}/commands/DescribeConnectorsCommand.js +4 -34
  45. package/{dist/es → dist-es}/commands/DescribeFlowCommand.js +4 -30
  46. package/{dist/es → dist-es}/commands/DescribeFlowExecutionRecordsCommand.js +4 -30
  47. package/{dist/es → dist-es}/commands/ListConnectorEntitiesCommand.js +4 -33
  48. package/{dist/es → dist-es}/commands/ListFlowsCommand.js +4 -30
  49. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  50. package/{dist/es → dist-es}/commands/StartFlowCommand.js +4 -31
  51. package/{dist/es → dist-es}/commands/StopFlowCommand.js +4 -32
  52. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  53. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  54. package/{dist/es → dist-es}/commands/UpdateConnectorProfileCommand.js +4 -30
  55. package/{dist/es → dist-es}/commands/UpdateFlowCommand.js +4 -30
  56. package/{dist/es → dist-es}/endpoints.js +1 -2
  57. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  58. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  59. package/{dist/es → dist-es}/models/models_0.js +0 -484
  60. package/{dist/es → dist-es}/pagination/DescribeConnectorProfilesPaginator.js +16 -29
  61. package/{dist/es → dist-es}/pagination/DescribeConnectorsPaginator.js +16 -29
  62. package/{dist/es → dist-es}/pagination/DescribeFlowExecutionRecordsPaginator.js +16 -29
  63. package/dist-es/pagination/Interfaces.js +1 -0
  64. package/{dist/es → dist-es}/pagination/ListFlowsPaginator.js +16 -29
  65. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +438 -444
  66. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  67. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  68. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  69. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  70. package/{dist/types → dist-types}/Appflow.d.ts +1 -1
  71. package/{dist/types → dist-types}/AppflowClient.d.ts +8 -8
  72. package/{dist/types → dist-types}/commands/CreateConnectorProfileCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/commands/CreateFlowCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/commands/DeleteConnectorProfileCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/commands/DeleteFlowCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/commands/DescribeConnectorEntityCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/commands/DescribeConnectorProfilesCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/commands/DescribeConnectorsCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/commands/DescribeFlowCommand.d.ts +2 -2
  80. package/{dist/types → dist-types}/commands/DescribeFlowExecutionRecordsCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/commands/ListConnectorEntitiesCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/commands/ListFlowsCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/commands/StartFlowCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/commands/StopFlowCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/UpdateConnectorProfileCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/UpdateFlowCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  91. package/{index.ts → dist-types/index.d.ts} +0 -0
  92. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  93. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  94. package/{dist/types → dist-types}/pagination/DescribeConnectorProfilesPaginator.d.ts +1 -1
  95. package/{dist/types → dist-types}/pagination/DescribeConnectorsPaginator.d.ts +1 -1
  96. package/{dist/types → dist-types}/pagination/DescribeFlowExecutionRecordsPaginator.d.ts +1 -1
  97. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  98. package/{dist/types → dist-types}/pagination/ListFlowsPaginator.d.ts +1 -1
  99. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  100. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  101. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  102. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  103. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  104. package/{dist/types → dist-types}/ts3.4/Appflow.d.ts +1 -1
  105. package/{dist/types → dist-types}/ts3.4/AppflowClient.d.ts +8 -8
  106. package/{dist/types → dist-types}/ts3.4/commands/CreateConnectorProfileCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/ts3.4/commands/CreateFlowCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectorProfileCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/ts3.4/commands/DeleteFlowCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorEntityCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorProfilesCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorsCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/ts3.4/commands/DescribeFlowCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/ts3.4/commands/DescribeFlowExecutionRecordsCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/ts3.4/commands/ListConnectorEntitiesCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/ts3.4/commands/ListFlowsCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/ts3.4/commands/StartFlowCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/ts3.4/commands/StopFlowCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectorProfileCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/ts3.4/commands/UpdateFlowCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  125. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  126. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  127. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  128. package/{dist/types → dist-types}/ts3.4/pagination/DescribeConnectorProfilesPaginator.d.ts +1 -1
  129. package/{dist/types → dist-types}/ts3.4/pagination/DescribeConnectorsPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/ts3.4/pagination/DescribeFlowExecutionRecordsPaginator.d.ts +1 -1
  131. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  132. package/{dist/types → dist-types}/ts3.4/pagination/ListFlowsPaginator.d.ts +1 -1
  133. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  134. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  135. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  136. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  137. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  138. package/package.json +52 -49
  139. package/Appflow.ts +0 -663
  140. package/AppflowClient.ts +0 -353
  141. package/commands/CreateConnectorProfileCommand.ts +0 -97
  142. package/commands/CreateFlowCommand.ts +0 -97
  143. package/commands/DeleteConnectorProfileCommand.ts +0 -94
  144. package/commands/DeleteFlowCommand.ts +0 -96
  145. package/commands/DescribeConnectorEntityCommand.ts +0 -95
  146. package/commands/DescribeConnectorProfilesCommand.ts +0 -101
  147. package/commands/DescribeConnectorsCommand.ts +0 -98
  148. package/commands/DescribeFlowCommand.ts +0 -94
  149. package/commands/DescribeFlowExecutionRecordsCommand.ts +0 -99
  150. package/commands/ListConnectorEntitiesCommand.ts +0 -97
  151. package/commands/ListFlowsCommand.ts +0 -94
  152. package/commands/ListTagsForResourceCommand.ts +0 -94
  153. package/commands/StartFlowCommand.ts +0 -95
  154. package/commands/StopFlowCommand.ts +0 -96
  155. package/commands/TagResourceCommand.ts +0 -94
  156. package/commands/UntagResourceCommand.ts +0 -94
  157. package/commands/UpdateConnectorProfileCommand.ts +0 -94
  158. package/commands/UpdateFlowCommand.ts +0 -94
  159. package/dist/cjs/Appflow.js.map +0 -1
  160. package/dist/cjs/AppflowClient.js.map +0 -1
  161. package/dist/cjs/commands/CreateConnectorProfileCommand.js.map +0 -1
  162. package/dist/cjs/commands/CreateFlowCommand.js.map +0 -1
  163. package/dist/cjs/commands/DeleteConnectorProfileCommand.js.map +0 -1
  164. package/dist/cjs/commands/DeleteFlowCommand.js.map +0 -1
  165. package/dist/cjs/commands/DescribeConnectorEntityCommand.js.map +0 -1
  166. package/dist/cjs/commands/DescribeConnectorProfilesCommand.js.map +0 -1
  167. package/dist/cjs/commands/DescribeConnectorsCommand.js.map +0 -1
  168. package/dist/cjs/commands/DescribeFlowCommand.js.map +0 -1
  169. package/dist/cjs/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
  170. package/dist/cjs/commands/ListConnectorEntitiesCommand.js.map +0 -1
  171. package/dist/cjs/commands/ListFlowsCommand.js.map +0 -1
  172. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  173. package/dist/cjs/commands/StartFlowCommand.js.map +0 -1
  174. package/dist/cjs/commands/StopFlowCommand.js.map +0 -1
  175. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  176. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  177. package/dist/cjs/commands/UpdateConnectorProfileCommand.js.map +0 -1
  178. package/dist/cjs/commands/UpdateFlowCommand.js.map +0 -1
  179. package/dist/cjs/endpoints.js.map +0 -1
  180. package/dist/cjs/index.js.map +0 -1
  181. package/dist/cjs/models/index.js.map +0 -1
  182. package/dist/cjs/models/models_0.js.map +0 -1
  183. package/dist/cjs/package.json +0 -91
  184. package/dist/cjs/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
  185. package/dist/cjs/pagination/DescribeConnectorsPaginator.js.map +0 -1
  186. package/dist/cjs/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
  187. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  188. package/dist/cjs/pagination/ListFlowsPaginator.js.map +0 -1
  189. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  190. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  191. package/dist/cjs/runtimeConfig.js.map +0 -1
  192. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  193. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  194. package/dist/es/Appflow.js.map +0 -1
  195. package/dist/es/AppflowClient.js +0 -86
  196. package/dist/es/AppflowClient.js.map +0 -1
  197. package/dist/es/commands/CreateConnectorProfileCommand.js.map +0 -1
  198. package/dist/es/commands/CreateFlowCommand.js.map +0 -1
  199. package/dist/es/commands/DeleteConnectorProfileCommand.js.map +0 -1
  200. package/dist/es/commands/DeleteFlowCommand.js.map +0 -1
  201. package/dist/es/commands/DescribeConnectorEntityCommand.js.map +0 -1
  202. package/dist/es/commands/DescribeConnectorProfilesCommand.js.map +0 -1
  203. package/dist/es/commands/DescribeConnectorsCommand.js.map +0 -1
  204. package/dist/es/commands/DescribeFlowCommand.js.map +0 -1
  205. package/dist/es/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
  206. package/dist/es/commands/ListConnectorEntitiesCommand.js.map +0 -1
  207. package/dist/es/commands/ListFlowsCommand.js.map +0 -1
  208. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  209. package/dist/es/commands/StartFlowCommand.js.map +0 -1
  210. package/dist/es/commands/StopFlowCommand.js.map +0 -1
  211. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  212. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  213. package/dist/es/commands/UpdateConnectorProfileCommand.js.map +0 -1
  214. package/dist/es/commands/UpdateFlowCommand.js.map +0 -1
  215. package/dist/es/endpoints.js.map +0 -1
  216. package/dist/es/index.js +0 -27
  217. package/dist/es/index.js.map +0 -1
  218. package/dist/es/models/index.js +0 -2
  219. package/dist/es/models/index.js.map +0 -1
  220. package/dist/es/models/models_0.js.map +0 -1
  221. package/dist/es/package.json +0 -91
  222. package/dist/es/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
  223. package/dist/es/pagination/DescribeConnectorsPaginator.js.map +0 -1
  224. package/dist/es/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
  225. package/dist/es/pagination/Interfaces.js +0 -2
  226. package/dist/es/pagination/Interfaces.js.map +0 -1
  227. package/dist/es/pagination/ListFlowsPaginator.js.map +0 -1
  228. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  229. package/dist/es/runtimeConfig.browser.js.map +0 -1
  230. package/dist/es/runtimeConfig.js.map +0 -1
  231. package/dist/es/runtimeConfig.native.js.map +0 -1
  232. package/dist/es/runtimeConfig.shared.js.map +0 -1
  233. package/endpoints.ts +0 -57
  234. package/jest.config.js +0 -4
  235. package/models/models_0.ts +0 -5012
  236. package/pagination/DescribeConnectorProfilesPaginator.ts +0 -58
  237. package/pagination/DescribeConnectorsPaginator.ts +0 -57
  238. package/pagination/DescribeFlowExecutionRecordsPaginator.ts +0 -58
  239. package/pagination/Interfaces.ts +0 -7
  240. package/pagination/ListFlowsPaginator.ts +0 -54
  241. package/protocols/Aws_restJson1.ts +0 -5151
  242. package/runtimeConfig.browser.ts +0 -40
  243. package/runtimeConfig.native.ts +0 -16
  244. package/runtimeConfig.shared.ts +0 -16
  245. package/runtimeConfig.ts +0 -45
  246. package/tsconfig.es.json +0 -12
  247. package/tsconfig.json +0 -32
package/Appflow.ts DELETED
@@ -1,663 +0,0 @@
1
- import { AppflowClient } from "./AppflowClient";
2
- import {
3
- CreateConnectorProfileCommand,
4
- CreateConnectorProfileCommandInput,
5
- CreateConnectorProfileCommandOutput,
6
- } from "./commands/CreateConnectorProfileCommand";
7
- import { CreateFlowCommand, CreateFlowCommandInput, CreateFlowCommandOutput } from "./commands/CreateFlowCommand";
8
- import {
9
- DeleteConnectorProfileCommand,
10
- DeleteConnectorProfileCommandInput,
11
- DeleteConnectorProfileCommandOutput,
12
- } from "./commands/DeleteConnectorProfileCommand";
13
- import { DeleteFlowCommand, DeleteFlowCommandInput, DeleteFlowCommandOutput } from "./commands/DeleteFlowCommand";
14
- import {
15
- DescribeConnectorEntityCommand,
16
- DescribeConnectorEntityCommandInput,
17
- DescribeConnectorEntityCommandOutput,
18
- } from "./commands/DescribeConnectorEntityCommand";
19
- import {
20
- DescribeConnectorProfilesCommand,
21
- DescribeConnectorProfilesCommandInput,
22
- DescribeConnectorProfilesCommandOutput,
23
- } from "./commands/DescribeConnectorProfilesCommand";
24
- import {
25
- DescribeConnectorsCommand,
26
- DescribeConnectorsCommandInput,
27
- DescribeConnectorsCommandOutput,
28
- } from "./commands/DescribeConnectorsCommand";
29
- import {
30
- DescribeFlowCommand,
31
- DescribeFlowCommandInput,
32
- DescribeFlowCommandOutput,
33
- } from "./commands/DescribeFlowCommand";
34
- import {
35
- DescribeFlowExecutionRecordsCommand,
36
- DescribeFlowExecutionRecordsCommandInput,
37
- DescribeFlowExecutionRecordsCommandOutput,
38
- } from "./commands/DescribeFlowExecutionRecordsCommand";
39
- import {
40
- ListConnectorEntitiesCommand,
41
- ListConnectorEntitiesCommandInput,
42
- ListConnectorEntitiesCommandOutput,
43
- } from "./commands/ListConnectorEntitiesCommand";
44
- import { ListFlowsCommand, ListFlowsCommandInput, ListFlowsCommandOutput } from "./commands/ListFlowsCommand";
45
- import {
46
- ListTagsForResourceCommand,
47
- ListTagsForResourceCommandInput,
48
- ListTagsForResourceCommandOutput,
49
- } from "./commands/ListTagsForResourceCommand";
50
- import { StartFlowCommand, StartFlowCommandInput, StartFlowCommandOutput } from "./commands/StartFlowCommand";
51
- import { StopFlowCommand, StopFlowCommandInput, StopFlowCommandOutput } from "./commands/StopFlowCommand";
52
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
53
- import {
54
- UntagResourceCommand,
55
- UntagResourceCommandInput,
56
- UntagResourceCommandOutput,
57
- } from "./commands/UntagResourceCommand";
58
- import {
59
- UpdateConnectorProfileCommand,
60
- UpdateConnectorProfileCommandInput,
61
- UpdateConnectorProfileCommandOutput,
62
- } from "./commands/UpdateConnectorProfileCommand";
63
- import { UpdateFlowCommand, UpdateFlowCommandInput, UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
64
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
65
-
66
- /**
67
- * <p>Welcome to the Amazon AppFlow API reference. This guide is for developers who need
68
- * detailed information about the Amazon AppFlow API operations, data types, and errors. </p>
69
- *
70
- * <p>Amazon AppFlow is a fully managed integration service that enables you to securely
71
- * transfer data between software as a service (SaaS) applications like Salesforce, Marketo,
72
- * Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift. </p>
73
- *
74
- *
75
- *
76
- * <p>Use the following links to get started on the Amazon AppFlow API:</p>
77
- *
78
- * <ul>
79
- * <li>
80
- * <p>
81
- * <a href="https://docs.aws.amazon.com/appflow/1.0/APIReference/API_Operations.html">Actions</a>: An alphabetical list of all Amazon AppFlow API operations.</p>
82
- * </li>
83
- * <li>
84
- * <p>
85
- * <a href="https://docs.aws.amazon.com/appflow/1.0/APIReference/API_Types.html">Data
86
- * types</a>: An alphabetical list of all Amazon AppFlow data types.</p>
87
- * </li>
88
- * <li>
89
- * <p>
90
- * <a href="https://docs.aws.amazon.com/appflow/1.0/APIReference/CommonParameters.html">Common parameters</a>: Parameters that all Query operations can use.</p>
91
- * </li>
92
- * <li>
93
- * <p>
94
- * <a href="https://docs.aws.amazon.com/appflow/1.0/APIReference/CommonErrors.html">Common
95
- * errors</a>: Client and server errors that all operations can return.</p>
96
- * </li>
97
- * </ul>
98
- *
99
- * <p>If you're new to Amazon AppFlow, we recommend that you review the <a href="https://docs.aws.amazon.com/appflow/latest/userguide/what-is-appflow.html">Amazon AppFlow User
100
- * Guide</a>.</p>
101
- * <p>Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include
102
- * applicable OAuth attributes (such as <code>auth-code</code> and <code>redirecturi</code>) with
103
- * the connector-specific <code>ConnectorProfileProperties</code> when creating a new connector
104
- * profile using Amazon AppFlow API operations. For example, Salesforce users can refer to the
105
- * <a href="https://help.salesforce.com/articleView?id=remoteaccess_authenticate.htm">
106
- * <i>Authorize Apps with OAuth</i>
107
- * </a> documentation.</p>
108
- */
109
- export class Appflow extends AppflowClient {
110
- /**
111
- * <p> Creates a new connector profile associated with your Amazon Web Services account. There is a soft quota
112
- * of 100 connector profiles per Amazon Web Services account. If you need more connector profiles than this quota
113
- * allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support
114
- * channel. </p>
115
- */
116
- public createConnectorProfile(
117
- args: CreateConnectorProfileCommandInput,
118
- options?: __HttpHandlerOptions
119
- ): Promise<CreateConnectorProfileCommandOutput>;
120
- public createConnectorProfile(
121
- args: CreateConnectorProfileCommandInput,
122
- cb: (err: any, data?: CreateConnectorProfileCommandOutput) => void
123
- ): void;
124
- public createConnectorProfile(
125
- args: CreateConnectorProfileCommandInput,
126
- options: __HttpHandlerOptions,
127
- cb: (err: any, data?: CreateConnectorProfileCommandOutput) => void
128
- ): void;
129
- public createConnectorProfile(
130
- args: CreateConnectorProfileCommandInput,
131
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateConnectorProfileCommandOutput) => void),
132
- cb?: (err: any, data?: CreateConnectorProfileCommandOutput) => void
133
- ): Promise<CreateConnectorProfileCommandOutput> | void {
134
- const command = new CreateConnectorProfileCommand(args);
135
- if (typeof optionsOrCb === "function") {
136
- this.send(command, optionsOrCb);
137
- } else if (typeof cb === "function") {
138
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
139
- this.send(command, optionsOrCb || {}, cb);
140
- } else {
141
- return this.send(command, optionsOrCb);
142
- }
143
- }
144
-
145
- /**
146
- * <p> Enables your application to create a new flow using Amazon AppFlow. You must create a
147
- * connector profile before calling this API. Please note that the Request Syntax below shows
148
- * syntax for multiple destinations, however, you can only transfer data to one item in this list
149
- * at a time. Amazon AppFlow does not currently support flows to multiple destinations at once. </p>
150
- */
151
- public createFlow(args: CreateFlowCommandInput, options?: __HttpHandlerOptions): Promise<CreateFlowCommandOutput>;
152
- public createFlow(args: CreateFlowCommandInput, cb: (err: any, data?: CreateFlowCommandOutput) => void): void;
153
- public createFlow(
154
- args: CreateFlowCommandInput,
155
- options: __HttpHandlerOptions,
156
- cb: (err: any, data?: CreateFlowCommandOutput) => void
157
- ): void;
158
- public createFlow(
159
- args: CreateFlowCommandInput,
160
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFlowCommandOutput) => void),
161
- cb?: (err: any, data?: CreateFlowCommandOutput) => void
162
- ): Promise<CreateFlowCommandOutput> | void {
163
- const command = new CreateFlowCommand(args);
164
- if (typeof optionsOrCb === "function") {
165
- this.send(command, optionsOrCb);
166
- } else if (typeof cb === "function") {
167
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
168
- this.send(command, optionsOrCb || {}, cb);
169
- } else {
170
- return this.send(command, optionsOrCb);
171
- }
172
- }
173
-
174
- /**
175
- * <p> Enables you to delete an existing connector profile. </p>
176
- */
177
- public deleteConnectorProfile(
178
- args: DeleteConnectorProfileCommandInput,
179
- options?: __HttpHandlerOptions
180
- ): Promise<DeleteConnectorProfileCommandOutput>;
181
- public deleteConnectorProfile(
182
- args: DeleteConnectorProfileCommandInput,
183
- cb: (err: any, data?: DeleteConnectorProfileCommandOutput) => void
184
- ): void;
185
- public deleteConnectorProfile(
186
- args: DeleteConnectorProfileCommandInput,
187
- options: __HttpHandlerOptions,
188
- cb: (err: any, data?: DeleteConnectorProfileCommandOutput) => void
189
- ): void;
190
- public deleteConnectorProfile(
191
- args: DeleteConnectorProfileCommandInput,
192
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteConnectorProfileCommandOutput) => void),
193
- cb?: (err: any, data?: DeleteConnectorProfileCommandOutput) => void
194
- ): Promise<DeleteConnectorProfileCommandOutput> | void {
195
- const command = new DeleteConnectorProfileCommand(args);
196
- if (typeof optionsOrCb === "function") {
197
- this.send(command, optionsOrCb);
198
- } else if (typeof cb === "function") {
199
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
200
- this.send(command, optionsOrCb || {}, cb);
201
- } else {
202
- return this.send(command, optionsOrCb);
203
- }
204
- }
205
-
206
- /**
207
- * <p> Enables your application to delete an existing flow. Before deleting the flow, Amazon
208
- * AppFlow validates the request by checking the flow configuration and status. You can delete
209
- * flows one at a time. </p>
210
- */
211
- public deleteFlow(args: DeleteFlowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFlowCommandOutput>;
212
- public deleteFlow(args: DeleteFlowCommandInput, cb: (err: any, data?: DeleteFlowCommandOutput) => void): void;
213
- public deleteFlow(
214
- args: DeleteFlowCommandInput,
215
- options: __HttpHandlerOptions,
216
- cb: (err: any, data?: DeleteFlowCommandOutput) => void
217
- ): void;
218
- public deleteFlow(
219
- args: DeleteFlowCommandInput,
220
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFlowCommandOutput) => void),
221
- cb?: (err: any, data?: DeleteFlowCommandOutput) => void
222
- ): Promise<DeleteFlowCommandOutput> | void {
223
- const command = new DeleteFlowCommand(args);
224
- if (typeof optionsOrCb === "function") {
225
- this.send(command, optionsOrCb);
226
- } else if (typeof cb === "function") {
227
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
228
- this.send(command, optionsOrCb || {}, cb);
229
- } else {
230
- return this.send(command, optionsOrCb);
231
- }
232
- }
233
-
234
- /**
235
- * <p> Provides details regarding the entity used with the connector, with a description of the
236
- * data model for each entity. </p>
237
- */
238
- public describeConnectorEntity(
239
- args: DescribeConnectorEntityCommandInput,
240
- options?: __HttpHandlerOptions
241
- ): Promise<DescribeConnectorEntityCommandOutput>;
242
- public describeConnectorEntity(
243
- args: DescribeConnectorEntityCommandInput,
244
- cb: (err: any, data?: DescribeConnectorEntityCommandOutput) => void
245
- ): void;
246
- public describeConnectorEntity(
247
- args: DescribeConnectorEntityCommandInput,
248
- options: __HttpHandlerOptions,
249
- cb: (err: any, data?: DescribeConnectorEntityCommandOutput) => void
250
- ): void;
251
- public describeConnectorEntity(
252
- args: DescribeConnectorEntityCommandInput,
253
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConnectorEntityCommandOutput) => void),
254
- cb?: (err: any, data?: DescribeConnectorEntityCommandOutput) => void
255
- ): Promise<DescribeConnectorEntityCommandOutput> | void {
256
- const command = new DescribeConnectorEntityCommand(args);
257
- if (typeof optionsOrCb === "function") {
258
- this.send(command, optionsOrCb);
259
- } else if (typeof cb === "function") {
260
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
261
- this.send(command, optionsOrCb || {}, cb);
262
- } else {
263
- return this.send(command, optionsOrCb);
264
- }
265
- }
266
-
267
- /**
268
- * <p> Returns a list of <code>connector-profile</code> details matching the provided
269
- * <code>connector-profile</code> names and <code>connector-types</code>. Both input lists are
270
- * optional, and you can use them to filter the result. </p>
271
- * <p>If no names or <code>connector-types</code> are provided, returns all connector profiles
272
- * in a paginated form. If there is no match, this operation returns an empty list.</p>
273
- */
274
- public describeConnectorProfiles(
275
- args: DescribeConnectorProfilesCommandInput,
276
- options?: __HttpHandlerOptions
277
- ): Promise<DescribeConnectorProfilesCommandOutput>;
278
- public describeConnectorProfiles(
279
- args: DescribeConnectorProfilesCommandInput,
280
- cb: (err: any, data?: DescribeConnectorProfilesCommandOutput) => void
281
- ): void;
282
- public describeConnectorProfiles(
283
- args: DescribeConnectorProfilesCommandInput,
284
- options: __HttpHandlerOptions,
285
- cb: (err: any, data?: DescribeConnectorProfilesCommandOutput) => void
286
- ): void;
287
- public describeConnectorProfiles(
288
- args: DescribeConnectorProfilesCommandInput,
289
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConnectorProfilesCommandOutput) => void),
290
- cb?: (err: any, data?: DescribeConnectorProfilesCommandOutput) => void
291
- ): Promise<DescribeConnectorProfilesCommandOutput> | void {
292
- const command = new DescribeConnectorProfilesCommand(args);
293
- if (typeof optionsOrCb === "function") {
294
- this.send(command, optionsOrCb);
295
- } else if (typeof cb === "function") {
296
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
297
- this.send(command, optionsOrCb || {}, cb);
298
- } else {
299
- return this.send(command, optionsOrCb);
300
- }
301
- }
302
-
303
- /**
304
- * <p> Describes the connectors vended by Amazon AppFlow for specified connector types. If you
305
- * don't specify a connector type, this operation describes all connectors vended by Amazon
306
- * AppFlow. If there are more connectors than can be returned in one page, the response contains
307
- * a <code>nextToken</code> object, which can be be passed in to the next call to the
308
- * <code>DescribeConnectors</code> API operation to retrieve the next page. </p>
309
- */
310
- public describeConnectors(
311
- args: DescribeConnectorsCommandInput,
312
- options?: __HttpHandlerOptions
313
- ): Promise<DescribeConnectorsCommandOutput>;
314
- public describeConnectors(
315
- args: DescribeConnectorsCommandInput,
316
- cb: (err: any, data?: DescribeConnectorsCommandOutput) => void
317
- ): void;
318
- public describeConnectors(
319
- args: DescribeConnectorsCommandInput,
320
- options: __HttpHandlerOptions,
321
- cb: (err: any, data?: DescribeConnectorsCommandOutput) => void
322
- ): void;
323
- public describeConnectors(
324
- args: DescribeConnectorsCommandInput,
325
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConnectorsCommandOutput) => void),
326
- cb?: (err: any, data?: DescribeConnectorsCommandOutput) => void
327
- ): Promise<DescribeConnectorsCommandOutput> | void {
328
- const command = new DescribeConnectorsCommand(args);
329
- if (typeof optionsOrCb === "function") {
330
- this.send(command, optionsOrCb);
331
- } else if (typeof cb === "function") {
332
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
333
- this.send(command, optionsOrCb || {}, cb);
334
- } else {
335
- return this.send(command, optionsOrCb);
336
- }
337
- }
338
-
339
- /**
340
- * <p> Provides a description of the specified flow. </p>
341
- */
342
- public describeFlow(
343
- args: DescribeFlowCommandInput,
344
- options?: __HttpHandlerOptions
345
- ): Promise<DescribeFlowCommandOutput>;
346
- public describeFlow(args: DescribeFlowCommandInput, cb: (err: any, data?: DescribeFlowCommandOutput) => void): void;
347
- public describeFlow(
348
- args: DescribeFlowCommandInput,
349
- options: __HttpHandlerOptions,
350
- cb: (err: any, data?: DescribeFlowCommandOutput) => void
351
- ): void;
352
- public describeFlow(
353
- args: DescribeFlowCommandInput,
354
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFlowCommandOutput) => void),
355
- cb?: (err: any, data?: DescribeFlowCommandOutput) => void
356
- ): Promise<DescribeFlowCommandOutput> | void {
357
- const command = new DescribeFlowCommand(args);
358
- if (typeof optionsOrCb === "function") {
359
- this.send(command, optionsOrCb);
360
- } else if (typeof cb === "function") {
361
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
362
- this.send(command, optionsOrCb || {}, cb);
363
- } else {
364
- return this.send(command, optionsOrCb);
365
- }
366
- }
367
-
368
- /**
369
- * <p> Fetches the execution history of the flow. </p>
370
- */
371
- public describeFlowExecutionRecords(
372
- args: DescribeFlowExecutionRecordsCommandInput,
373
- options?: __HttpHandlerOptions
374
- ): Promise<DescribeFlowExecutionRecordsCommandOutput>;
375
- public describeFlowExecutionRecords(
376
- args: DescribeFlowExecutionRecordsCommandInput,
377
- cb: (err: any, data?: DescribeFlowExecutionRecordsCommandOutput) => void
378
- ): void;
379
- public describeFlowExecutionRecords(
380
- args: DescribeFlowExecutionRecordsCommandInput,
381
- options: __HttpHandlerOptions,
382
- cb: (err: any, data?: DescribeFlowExecutionRecordsCommandOutput) => void
383
- ): void;
384
- public describeFlowExecutionRecords(
385
- args: DescribeFlowExecutionRecordsCommandInput,
386
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFlowExecutionRecordsCommandOutput) => void),
387
- cb?: (err: any, data?: DescribeFlowExecutionRecordsCommandOutput) => void
388
- ): Promise<DescribeFlowExecutionRecordsCommandOutput> | void {
389
- const command = new DescribeFlowExecutionRecordsCommand(args);
390
- if (typeof optionsOrCb === "function") {
391
- this.send(command, optionsOrCb);
392
- } else if (typeof cb === "function") {
393
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
394
- this.send(command, optionsOrCb || {}, cb);
395
- } else {
396
- return this.send(command, optionsOrCb);
397
- }
398
- }
399
-
400
- /**
401
- * <p> Returns the list of available connector entities supported by Amazon AppFlow. For
402
- * example, you can query Salesforce for <i>Account</i> and
403
- * <i>Opportunity</i> entities, or query ServiceNow for the
404
- * <i>Incident</i> entity. </p>
405
- */
406
- public listConnectorEntities(
407
- args: ListConnectorEntitiesCommandInput,
408
- options?: __HttpHandlerOptions
409
- ): Promise<ListConnectorEntitiesCommandOutput>;
410
- public listConnectorEntities(
411
- args: ListConnectorEntitiesCommandInput,
412
- cb: (err: any, data?: ListConnectorEntitiesCommandOutput) => void
413
- ): void;
414
- public listConnectorEntities(
415
- args: ListConnectorEntitiesCommandInput,
416
- options: __HttpHandlerOptions,
417
- cb: (err: any, data?: ListConnectorEntitiesCommandOutput) => void
418
- ): void;
419
- public listConnectorEntities(
420
- args: ListConnectorEntitiesCommandInput,
421
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListConnectorEntitiesCommandOutput) => void),
422
- cb?: (err: any, data?: ListConnectorEntitiesCommandOutput) => void
423
- ): Promise<ListConnectorEntitiesCommandOutput> | void {
424
- const command = new ListConnectorEntitiesCommand(args);
425
- if (typeof optionsOrCb === "function") {
426
- this.send(command, optionsOrCb);
427
- } else if (typeof cb === "function") {
428
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
429
- this.send(command, optionsOrCb || {}, cb);
430
- } else {
431
- return this.send(command, optionsOrCb);
432
- }
433
- }
434
-
435
- /**
436
- * <p> Lists all of the flows associated with your account. </p>
437
- */
438
- public listFlows(args: ListFlowsCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowsCommandOutput>;
439
- public listFlows(args: ListFlowsCommandInput, cb: (err: any, data?: ListFlowsCommandOutput) => void): void;
440
- public listFlows(
441
- args: ListFlowsCommandInput,
442
- options: __HttpHandlerOptions,
443
- cb: (err: any, data?: ListFlowsCommandOutput) => void
444
- ): void;
445
- public listFlows(
446
- args: ListFlowsCommandInput,
447
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFlowsCommandOutput) => void),
448
- cb?: (err: any, data?: ListFlowsCommandOutput) => void
449
- ): Promise<ListFlowsCommandOutput> | void {
450
- const command = new ListFlowsCommand(args);
451
- if (typeof optionsOrCb === "function") {
452
- this.send(command, optionsOrCb);
453
- } else if (typeof cb === "function") {
454
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
455
- this.send(command, optionsOrCb || {}, cb);
456
- } else {
457
- return this.send(command, optionsOrCb);
458
- }
459
- }
460
-
461
- /**
462
- * <p> Retrieves the tags that are associated with a specified flow. </p>
463
- */
464
- public listTagsForResource(
465
- args: ListTagsForResourceCommandInput,
466
- options?: __HttpHandlerOptions
467
- ): Promise<ListTagsForResourceCommandOutput>;
468
- public listTagsForResource(
469
- args: ListTagsForResourceCommandInput,
470
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
471
- ): void;
472
- public listTagsForResource(
473
- args: ListTagsForResourceCommandInput,
474
- options: __HttpHandlerOptions,
475
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
476
- ): void;
477
- public listTagsForResource(
478
- args: ListTagsForResourceCommandInput,
479
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
480
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
481
- ): Promise<ListTagsForResourceCommandOutput> | void {
482
- const command = new ListTagsForResourceCommand(args);
483
- if (typeof optionsOrCb === "function") {
484
- this.send(command, optionsOrCb);
485
- } else if (typeof cb === "function") {
486
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
487
- this.send(command, optionsOrCb || {}, cb);
488
- } else {
489
- return this.send(command, optionsOrCb);
490
- }
491
- }
492
-
493
- /**
494
- * <p> Activates an existing flow. For on-demand flows, this operation runs the flow
495
- * immediately. For schedule and event-triggered flows, this operation activates the flow. </p>
496
- */
497
- public startFlow(args: StartFlowCommandInput, options?: __HttpHandlerOptions): Promise<StartFlowCommandOutput>;
498
- public startFlow(args: StartFlowCommandInput, cb: (err: any, data?: StartFlowCommandOutput) => void): void;
499
- public startFlow(
500
- args: StartFlowCommandInput,
501
- options: __HttpHandlerOptions,
502
- cb: (err: any, data?: StartFlowCommandOutput) => void
503
- ): void;
504
- public startFlow(
505
- args: StartFlowCommandInput,
506
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartFlowCommandOutput) => void),
507
- cb?: (err: any, data?: StartFlowCommandOutput) => void
508
- ): Promise<StartFlowCommandOutput> | void {
509
- const command = new StartFlowCommand(args);
510
- if (typeof optionsOrCb === "function") {
511
- this.send(command, optionsOrCb);
512
- } else if (typeof cb === "function") {
513
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
514
- this.send(command, optionsOrCb || {}, cb);
515
- } else {
516
- return this.send(command, optionsOrCb);
517
- }
518
- }
519
-
520
- /**
521
- * <p> Deactivates the existing flow. For on-demand flows, this operation returns an
522
- * <code>unsupportedOperationException</code> error message. For schedule and event-triggered
523
- * flows, this operation deactivates the flow. </p>
524
- */
525
- public stopFlow(args: StopFlowCommandInput, options?: __HttpHandlerOptions): Promise<StopFlowCommandOutput>;
526
- public stopFlow(args: StopFlowCommandInput, cb: (err: any, data?: StopFlowCommandOutput) => void): void;
527
- public stopFlow(
528
- args: StopFlowCommandInput,
529
- options: __HttpHandlerOptions,
530
- cb: (err: any, data?: StopFlowCommandOutput) => void
531
- ): void;
532
- public stopFlow(
533
- args: StopFlowCommandInput,
534
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopFlowCommandOutput) => void),
535
- cb?: (err: any, data?: StopFlowCommandOutput) => void
536
- ): Promise<StopFlowCommandOutput> | void {
537
- const command = new StopFlowCommand(args);
538
- if (typeof optionsOrCb === "function") {
539
- this.send(command, optionsOrCb);
540
- } else if (typeof cb === "function") {
541
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
542
- this.send(command, optionsOrCb || {}, cb);
543
- } else {
544
- return this.send(command, optionsOrCb);
545
- }
546
- }
547
-
548
- /**
549
- * <p> Applies a tag to the specified flow. </p>
550
- */
551
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
552
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
553
- public tagResource(
554
- args: TagResourceCommandInput,
555
- options: __HttpHandlerOptions,
556
- cb: (err: any, data?: TagResourceCommandOutput) => void
557
- ): void;
558
- public tagResource(
559
- args: TagResourceCommandInput,
560
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
561
- cb?: (err: any, data?: TagResourceCommandOutput) => void
562
- ): Promise<TagResourceCommandOutput> | void {
563
- const command = new TagResourceCommand(args);
564
- if (typeof optionsOrCb === "function") {
565
- this.send(command, optionsOrCb);
566
- } else if (typeof cb === "function") {
567
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
568
- this.send(command, optionsOrCb || {}, cb);
569
- } else {
570
- return this.send(command, optionsOrCb);
571
- }
572
- }
573
-
574
- /**
575
- * <p> Removes a tag from the specified flow. </p>
576
- */
577
- public untagResource(
578
- args: UntagResourceCommandInput,
579
- options?: __HttpHandlerOptions
580
- ): Promise<UntagResourceCommandOutput>;
581
- public untagResource(
582
- args: UntagResourceCommandInput,
583
- cb: (err: any, data?: UntagResourceCommandOutput) => void
584
- ): void;
585
- public untagResource(
586
- args: UntagResourceCommandInput,
587
- options: __HttpHandlerOptions,
588
- cb: (err: any, data?: UntagResourceCommandOutput) => void
589
- ): void;
590
- public untagResource(
591
- args: UntagResourceCommandInput,
592
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
593
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
594
- ): Promise<UntagResourceCommandOutput> | void {
595
- const command = new UntagResourceCommand(args);
596
- if (typeof optionsOrCb === "function") {
597
- this.send(command, optionsOrCb);
598
- } else if (typeof cb === "function") {
599
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
600
- this.send(command, optionsOrCb || {}, cb);
601
- } else {
602
- return this.send(command, optionsOrCb);
603
- }
604
- }
605
-
606
- /**
607
- * <p> Updates a given connector profile associated with your account. </p>
608
- */
609
- public updateConnectorProfile(
610
- args: UpdateConnectorProfileCommandInput,
611
- options?: __HttpHandlerOptions
612
- ): Promise<UpdateConnectorProfileCommandOutput>;
613
- public updateConnectorProfile(
614
- args: UpdateConnectorProfileCommandInput,
615
- cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void
616
- ): void;
617
- public updateConnectorProfile(
618
- args: UpdateConnectorProfileCommandInput,
619
- options: __HttpHandlerOptions,
620
- cb: (err: any, data?: UpdateConnectorProfileCommandOutput) => void
621
- ): void;
622
- public updateConnectorProfile(
623
- args: UpdateConnectorProfileCommandInput,
624
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateConnectorProfileCommandOutput) => void),
625
- cb?: (err: any, data?: UpdateConnectorProfileCommandOutput) => void
626
- ): Promise<UpdateConnectorProfileCommandOutput> | void {
627
- const command = new UpdateConnectorProfileCommand(args);
628
- if (typeof optionsOrCb === "function") {
629
- this.send(command, optionsOrCb);
630
- } else if (typeof cb === "function") {
631
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
632
- this.send(command, optionsOrCb || {}, cb);
633
- } else {
634
- return this.send(command, optionsOrCb);
635
- }
636
- }
637
-
638
- /**
639
- * <p> Updates an existing flow. </p>
640
- */
641
- public updateFlow(args: UpdateFlowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFlowCommandOutput>;
642
- public updateFlow(args: UpdateFlowCommandInput, cb: (err: any, data?: UpdateFlowCommandOutput) => void): void;
643
- public updateFlow(
644
- args: UpdateFlowCommandInput,
645
- options: __HttpHandlerOptions,
646
- cb: (err: any, data?: UpdateFlowCommandOutput) => void
647
- ): void;
648
- public updateFlow(
649
- args: UpdateFlowCommandInput,
650
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFlowCommandOutput) => void),
651
- cb?: (err: any, data?: UpdateFlowCommandOutput) => void
652
- ): Promise<UpdateFlowCommandOutput> | void {
653
- const command = new UpdateFlowCommand(args);
654
- if (typeof optionsOrCb === "function") {
655
- this.send(command, optionsOrCb);
656
- } else if (typeof cb === "function") {
657
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
658
- this.send(command, optionsOrCb || {}, cb);
659
- } else {
660
- return this.send(command, optionsOrCb);
661
- }
662
- }
663
- }