@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
@@ -1,96 +0,0 @@
1
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
2
- import { DeleteFlowRequest, DeleteFlowResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteFlowCommand,
5
- serializeAws_restJson1DeleteFlowCommand,
6
- } from "../protocols/Aws_restJson1";
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 DeleteFlowCommandInput extends DeleteFlowRequest {}
21
- export interface DeleteFlowCommandOutput extends DeleteFlowResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Enables your application to delete an existing flow. Before deleting the flow, Amazon
25
- * AppFlow validates the request by checking the flow configuration and status. You can delete
26
- * flows one at a time. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { AppflowClient, DeleteFlowCommand } from "@aws-sdk/client-appflow"; // ES Modules import
31
- * // const { AppflowClient, DeleteFlowCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
32
- * const client = new AppflowClient(config);
33
- * const command = new DeleteFlowCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteFlowCommandInput} for command's `input` shape.
38
- * @see {@link DeleteFlowCommandOutput} for command's `response` shape.
39
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteFlowCommand extends $Command<
43
- DeleteFlowCommandInput,
44
- DeleteFlowCommandOutput,
45
- AppflowClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteFlowCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: AppflowClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DeleteFlowCommandInput, DeleteFlowCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "AppflowClient";
70
- const commandName = "DeleteFlowCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteFlowRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeleteFlowResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DeleteFlowCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DeleteFlowCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteFlowCommandOutput> {
91
- return deserializeAws_restJson1DeleteFlowCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,95 +0,0 @@
1
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
2
- import { DescribeConnectorEntityRequest, DescribeConnectorEntityResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeConnectorEntityCommand,
5
- serializeAws_restJson1DescribeConnectorEntityCommand,
6
- } from "../protocols/Aws_restJson1";
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 DescribeConnectorEntityCommandInput extends DescribeConnectorEntityRequest {}
21
- export interface DescribeConnectorEntityCommandOutput extends DescribeConnectorEntityResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Provides details regarding the entity used with the connector, with a description of the
25
- * data model for each entity. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppflowClient, DescribeConnectorEntityCommand } from "@aws-sdk/client-appflow"; // ES Modules import
30
- * // const { AppflowClient, DescribeConnectorEntityCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
31
- * const client = new AppflowClient(config);
32
- * const command = new DescribeConnectorEntityCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeConnectorEntityCommandInput} for command's `input` shape.
37
- * @see {@link DescribeConnectorEntityCommandOutput} for command's `response` shape.
38
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeConnectorEntityCommand extends $Command<
42
- DescribeConnectorEntityCommandInput,
43
- DescribeConnectorEntityCommandOutput,
44
- AppflowClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeConnectorEntityCommandInput) {
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: AppflowClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeConnectorEntityCommandInput, DescribeConnectorEntityCommandOutput> {
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 = "AppflowClient";
69
- const commandName = "DescribeConnectorEntityCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeConnectorEntityRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeConnectorEntityResponse.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: DescribeConnectorEntityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DescribeConnectorEntityCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeConnectorEntityCommandOutput> {
90
- return deserializeAws_restJson1DescribeConnectorEntityCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,101 +0,0 @@
1
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
2
- import { DescribeConnectorProfilesRequest, DescribeConnectorProfilesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeConnectorProfilesCommand,
5
- serializeAws_restJson1DescribeConnectorProfilesCommand,
6
- } from "../protocols/Aws_restJson1";
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 DescribeConnectorProfilesCommandInput extends DescribeConnectorProfilesRequest {}
21
- export interface DescribeConnectorProfilesCommandOutput extends DescribeConnectorProfilesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns a list of <code>connector-profile</code> details matching the provided
25
- * <code>connector-profile</code> names and <code>connector-types</code>. Both input lists are
26
- * optional, and you can use them to filter the result. </p>
27
- * <p>If no names or <code>connector-types</code> are provided, returns all connector profiles
28
- * in a paginated form. If there is no match, this operation returns an empty list.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { AppflowClient, DescribeConnectorProfilesCommand } from "@aws-sdk/client-appflow"; // ES Modules import
33
- * // const { AppflowClient, DescribeConnectorProfilesCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
34
- * const client = new AppflowClient(config);
35
- * const command = new DescribeConnectorProfilesCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DescribeConnectorProfilesCommandInput} for command's `input` shape.
40
- * @see {@link DescribeConnectorProfilesCommandOutput} for command's `response` shape.
41
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DescribeConnectorProfilesCommand extends $Command<
45
- DescribeConnectorProfilesCommandInput,
46
- DescribeConnectorProfilesCommandOutput,
47
- AppflowClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DescribeConnectorProfilesCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: AppflowClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<DescribeConnectorProfilesCommandInput, DescribeConnectorProfilesCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "AppflowClient";
72
- const commandName = "DescribeConnectorProfilesCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DescribeConnectorProfilesRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: DescribeConnectorProfilesResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: DescribeConnectorProfilesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1DescribeConnectorProfilesCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<DescribeConnectorProfilesCommandOutput> {
96
- return deserializeAws_restJson1DescribeConnectorProfilesCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,98 +0,0 @@
1
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
2
- import { DescribeConnectorsRequest, DescribeConnectorsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeConnectorsCommand,
5
- serializeAws_restJson1DescribeConnectorsCommand,
6
- } from "../protocols/Aws_restJson1";
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 DescribeConnectorsCommandInput extends DescribeConnectorsRequest {}
21
- export interface DescribeConnectorsCommandOutput extends DescribeConnectorsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Describes the connectors vended by Amazon AppFlow for specified connector types. If you
25
- * don't specify a connector type, this operation describes all connectors vended by Amazon
26
- * AppFlow. If there are more connectors than can be returned in one page, the response contains
27
- * a <code>nextToken</code> object, which can be be passed in to the next call to the
28
- * <code>DescribeConnectors</code> API operation to retrieve the next page. </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { AppflowClient, DescribeConnectorsCommand } from "@aws-sdk/client-appflow"; // ES Modules import
33
- * // const { AppflowClient, DescribeConnectorsCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
34
- * const client = new AppflowClient(config);
35
- * const command = new DescribeConnectorsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DescribeConnectorsCommandInput} for command's `input` shape.
40
- * @see {@link DescribeConnectorsCommandOutput} for command's `response` shape.
41
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DescribeConnectorsCommand extends $Command<
45
- DescribeConnectorsCommandInput,
46
- DescribeConnectorsCommandOutput,
47
- AppflowClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DescribeConnectorsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: AppflowClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<DescribeConnectorsCommandInput, DescribeConnectorsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "AppflowClient";
72
- const commandName = "DescribeConnectorsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DescribeConnectorsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: DescribeConnectorsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: DescribeConnectorsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1DescribeConnectorsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeConnectorsCommandOutput> {
93
- return deserializeAws_restJson1DescribeConnectorsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,94 +0,0 @@
1
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
2
- import { DescribeFlowRequest, DescribeFlowResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeFlowCommand,
5
- serializeAws_restJson1DescribeFlowCommand,
6
- } from "../protocols/Aws_restJson1";
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 DescribeFlowCommandInput extends DescribeFlowRequest {}
21
- export interface DescribeFlowCommandOutput extends DescribeFlowResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Provides a description of the specified flow. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { AppflowClient, DescribeFlowCommand } from "@aws-sdk/client-appflow"; // ES Modules import
29
- * // const { AppflowClient, DescribeFlowCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
30
- * const client = new AppflowClient(config);
31
- * const command = new DescribeFlowCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeFlowCommandInput} for command's `input` shape.
36
- * @see {@link DescribeFlowCommandOutput} for command's `response` shape.
37
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeFlowCommand extends $Command<
41
- DescribeFlowCommandInput,
42
- DescribeFlowCommandOutput,
43
- AppflowClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeFlowCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: AppflowClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeFlowCommandInput, DescribeFlowCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "AppflowClient";
68
- const commandName = "DescribeFlowCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeFlowRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeFlowResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeFlowCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DescribeFlowCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFlowCommandOutput> {
89
- return deserializeAws_restJson1DescribeFlowCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,99 +0,0 @@
1
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
2
- import { DescribeFlowExecutionRecordsRequest, DescribeFlowExecutionRecordsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeFlowExecutionRecordsCommand,
5
- serializeAws_restJson1DescribeFlowExecutionRecordsCommand,
6
- } from "../protocols/Aws_restJson1";
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 DescribeFlowExecutionRecordsCommandInput extends DescribeFlowExecutionRecordsRequest {}
21
- export interface DescribeFlowExecutionRecordsCommandOutput
22
- extends DescribeFlowExecutionRecordsResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p> Fetches the execution history of the flow. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { AppflowClient, DescribeFlowExecutionRecordsCommand } from "@aws-sdk/client-appflow"; // ES Modules import
31
- * // const { AppflowClient, DescribeFlowExecutionRecordsCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
32
- * const client = new AppflowClient(config);
33
- * const command = new DescribeFlowExecutionRecordsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeFlowExecutionRecordsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeFlowExecutionRecordsCommandOutput} for command's `response` shape.
39
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeFlowExecutionRecordsCommand extends $Command<
43
- DescribeFlowExecutionRecordsCommandInput,
44
- DescribeFlowExecutionRecordsCommandOutput,
45
- AppflowClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeFlowExecutionRecordsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: AppflowClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<DescribeFlowExecutionRecordsCommandInput, DescribeFlowExecutionRecordsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "AppflowClient";
70
- const commandName = "DescribeFlowExecutionRecordsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeFlowExecutionRecordsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeFlowExecutionRecordsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: DescribeFlowExecutionRecordsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1DescribeFlowExecutionRecordsCommand(input, context);
88
- }
89
-
90
- private deserialize(
91
- output: __HttpResponse,
92
- context: __SerdeContext
93
- ): Promise<DescribeFlowExecutionRecordsCommandOutput> {
94
- return deserializeAws_restJson1DescribeFlowExecutionRecordsCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,97 +0,0 @@
1
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
2
- import { ListConnectorEntitiesRequest, ListConnectorEntitiesResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1ListConnectorEntitiesCommand,
5
- serializeAws_restJson1ListConnectorEntitiesCommand,
6
- } from "../protocols/Aws_restJson1";
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 ListConnectorEntitiesCommandInput extends ListConnectorEntitiesRequest {}
21
- export interface ListConnectorEntitiesCommandOutput extends ListConnectorEntitiesResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p> Returns the list of available connector entities supported by Amazon AppFlow. For
25
- * example, you can query Salesforce for <i>Account</i> and
26
- * <i>Opportunity</i> entities, or query ServiceNow for the
27
- * <i>Incident</i> entity. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { AppflowClient, ListConnectorEntitiesCommand } from "@aws-sdk/client-appflow"; // ES Modules import
32
- * // const { AppflowClient, ListConnectorEntitiesCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
33
- * const client = new AppflowClient(config);
34
- * const command = new ListConnectorEntitiesCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link ListConnectorEntitiesCommandInput} for command's `input` shape.
39
- * @see {@link ListConnectorEntitiesCommandOutput} for command's `response` shape.
40
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class ListConnectorEntitiesCommand extends $Command<
44
- ListConnectorEntitiesCommandInput,
45
- ListConnectorEntitiesCommandOutput,
46
- AppflowClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: ListConnectorEntitiesCommandInput) {
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: AppflowClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<ListConnectorEntitiesCommandInput, ListConnectorEntitiesCommandOutput> {
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 = "AppflowClient";
71
- const commandName = "ListConnectorEntitiesCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: ListConnectorEntitiesRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: ListConnectorEntitiesResponse.filterSensitiveLog,
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: ListConnectorEntitiesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1ListConnectorEntitiesCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListConnectorEntitiesCommandOutput> {
92
- return deserializeAws_restJson1ListConnectorEntitiesCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }