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