@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
@@ -1,354 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import {
53
- CreateConnectorProfileCommandInput,
54
- CreateConnectorProfileCommandOutput,
55
- } from "./commands/CreateConnectorProfileCommand";
56
- import { CreateFlowCommandInput, CreateFlowCommandOutput } from "./commands/CreateFlowCommand";
57
- import {
58
- DeleteConnectorProfileCommandInput,
59
- DeleteConnectorProfileCommandOutput,
60
- } from "./commands/DeleteConnectorProfileCommand";
61
- import { DeleteFlowCommandInput, DeleteFlowCommandOutput } from "./commands/DeleteFlowCommand";
62
- import {
63
- DescribeConnectorEntityCommandInput,
64
- DescribeConnectorEntityCommandOutput,
65
- } from "./commands/DescribeConnectorEntityCommand";
66
- import {
67
- DescribeConnectorProfilesCommandInput,
68
- DescribeConnectorProfilesCommandOutput,
69
- } from "./commands/DescribeConnectorProfilesCommand";
70
- import { DescribeConnectorsCommandInput, DescribeConnectorsCommandOutput } from "./commands/DescribeConnectorsCommand";
71
- import { DescribeFlowCommandInput, DescribeFlowCommandOutput } from "./commands/DescribeFlowCommand";
72
- import {
73
- DescribeFlowExecutionRecordsCommandInput,
74
- DescribeFlowExecutionRecordsCommandOutput,
75
- } from "./commands/DescribeFlowExecutionRecordsCommand";
76
- import {
77
- ListConnectorEntitiesCommandInput,
78
- ListConnectorEntitiesCommandOutput,
79
- } from "./commands/ListConnectorEntitiesCommand";
80
- import { ListFlowsCommandInput, ListFlowsCommandOutput } from "./commands/ListFlowsCommand";
81
- import {
82
- ListTagsForResourceCommandInput,
83
- ListTagsForResourceCommandOutput,
84
- } from "./commands/ListTagsForResourceCommand";
85
- import { StartFlowCommandInput, StartFlowCommandOutput } from "./commands/StartFlowCommand";
86
- import { StopFlowCommandInput, StopFlowCommandOutput } from "./commands/StopFlowCommand";
87
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
88
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
89
- import {
90
- UpdateConnectorProfileCommandInput,
91
- UpdateConnectorProfileCommandOutput,
92
- } from "./commands/UpdateConnectorProfileCommand";
93
- import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
94
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
95
-
96
- export type ServiceInputTypes =
97
- | CreateConnectorProfileCommandInput
98
- | CreateFlowCommandInput
99
- | DeleteConnectorProfileCommandInput
100
- | DeleteFlowCommandInput
101
- | DescribeConnectorEntityCommandInput
102
- | DescribeConnectorProfilesCommandInput
103
- | DescribeConnectorsCommandInput
104
- | DescribeFlowCommandInput
105
- | DescribeFlowExecutionRecordsCommandInput
106
- | ListConnectorEntitiesCommandInput
107
- | ListFlowsCommandInput
108
- | ListTagsForResourceCommandInput
109
- | StartFlowCommandInput
110
- | StopFlowCommandInput
111
- | TagResourceCommandInput
112
- | UntagResourceCommandInput
113
- | UpdateConnectorProfileCommandInput
114
- | UpdateFlowCommandInput;
115
-
116
- export type ServiceOutputTypes =
117
- | CreateConnectorProfileCommandOutput
118
- | CreateFlowCommandOutput
119
- | DeleteConnectorProfileCommandOutput
120
- | DeleteFlowCommandOutput
121
- | DescribeConnectorEntityCommandOutput
122
- | DescribeConnectorProfilesCommandOutput
123
- | DescribeConnectorsCommandOutput
124
- | DescribeFlowCommandOutput
125
- | DescribeFlowExecutionRecordsCommandOutput
126
- | ListConnectorEntitiesCommandOutput
127
- | ListFlowsCommandOutput
128
- | ListTagsForResourceCommandOutput
129
- | StartFlowCommandOutput
130
- | StopFlowCommandOutput
131
- | TagResourceCommandOutput
132
- | UntagResourceCommandOutput
133
- | UpdateConnectorProfileCommandOutput
134
- | UpdateFlowCommandOutput;
135
-
136
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
137
- /**
138
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
139
- */
140
- requestHandler?: __HttpHandler;
141
-
142
- /**
143
- * A constructor for a class implementing the {@link __Hash} interface
144
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
145
- * @internal
146
- */
147
- sha256?: __HashConstructor;
148
-
149
- /**
150
- * The function that will be used to convert strings into HTTP endpoints.
151
- * @internal
152
- */
153
- urlParser?: __UrlParser;
154
-
155
- /**
156
- * A function that can calculate the length of a request body.
157
- * @internal
158
- */
159
- bodyLengthChecker?: (body: any) => number | undefined;
160
-
161
- /**
162
- * A function that converts a stream into an array of bytes.
163
- * @internal
164
- */
165
- streamCollector?: __StreamCollector;
166
-
167
- /**
168
- * The function that will be used to convert a base64-encoded string to a byte array.
169
- * @internal
170
- */
171
- base64Decoder?: __Decoder;
172
-
173
- /**
174
- * The function that will be used to convert binary data to a base64-encoded string.
175
- * @internal
176
- */
177
- base64Encoder?: __Encoder;
178
-
179
- /**
180
- * The function that will be used to convert a UTF8-encoded string to a byte array.
181
- * @internal
182
- */
183
- utf8Decoder?: __Decoder;
184
-
185
- /**
186
- * The function that will be used to convert binary data to a UTF-8 encoded string.
187
- * @internal
188
- */
189
- utf8Encoder?: __Encoder;
190
-
191
- /**
192
- * The runtime environment.
193
- * @internal
194
- */
195
- runtime?: string;
196
-
197
- /**
198
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
199
- * trait of an operation.
200
- */
201
- disableHostPrefix?: boolean;
202
-
203
- /**
204
- * Value for how many times a request will be made at most in case of retry.
205
- */
206
- maxAttempts?: number | __Provider<number>;
207
-
208
- /**
209
- * Specifies which retry algorithm to use.
210
- */
211
- retryMode?: string | __Provider<string>;
212
-
213
- /**
214
- * Optional logger for logging debug/info/warn/error.
215
- */
216
- logger?: __Logger;
217
-
218
- /**
219
- * Unique service identifier.
220
- * @internal
221
- */
222
- serviceId?: string;
223
-
224
- /**
225
- * The AWS region to which this client will send requests
226
- */
227
- region?: string | __Provider<string>;
228
-
229
- /**
230
- * Default credentials provider; Not available in browser runtime.
231
- * @internal
232
- */
233
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
234
-
235
- /**
236
- * Fetch related hostname, signing name or signing region with given region.
237
- * @internal
238
- */
239
- regionInfoProvider?: RegionInfoProvider;
240
-
241
- /**
242
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
243
- * @internal
244
- */
245
- defaultUserAgentProvider?: Provider<__UserAgent>;
246
- }
247
-
248
- type AppflowClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
249
- ClientDefaults &
250
- RegionInputConfig &
251
- EndpointsInputConfig &
252
- RetryInputConfig &
253
- HostHeaderInputConfig &
254
- AwsAuthInputConfig &
255
- UserAgentInputConfig;
256
- /**
257
- * The configuration interface of AppflowClient class constructor that set the region, credentials and other options.
258
- */
259
- export interface AppflowClientConfig extends AppflowClientConfigType {}
260
-
261
- type AppflowClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
262
- Required<ClientDefaults> &
263
- RegionResolvedConfig &
264
- EndpointsResolvedConfig &
265
- RetryResolvedConfig &
266
- HostHeaderResolvedConfig &
267
- AwsAuthResolvedConfig &
268
- UserAgentResolvedConfig;
269
- /**
270
- * The resolved configuration interface of AppflowClient class. This is resolved and normalized from the {@link AppflowClientConfig | constructor configuration interface}.
271
- */
272
- export interface AppflowClientResolvedConfig extends AppflowClientResolvedConfigType {}
273
-
274
- /**
275
- * <p>Welcome to the Amazon AppFlow API reference. This guide is for developers who need
276
- * detailed information about the Amazon AppFlow API operations, data types, and errors. </p>
277
- *
278
- * <p>Amazon AppFlow is a fully managed integration service that enables you to securely
279
- * transfer data between software as a service (SaaS) applications like Salesforce, Marketo,
280
- * Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift. </p>
281
- *
282
- *
283
- *
284
- * <p>Use the following links to get started on the Amazon AppFlow API:</p>
285
- *
286
- * <ul>
287
- * <li>
288
- * <p>
289
- * <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>
290
- * </li>
291
- * <li>
292
- * <p>
293
- * <a href="https://docs.aws.amazon.com/appflow/1.0/APIReference/API_Types.html">Data
294
- * types</a>: An alphabetical list of all Amazon AppFlow data types.</p>
295
- * </li>
296
- * <li>
297
- * <p>
298
- * <a href="https://docs.aws.amazon.com/appflow/1.0/APIReference/CommonParameters.html">Common parameters</a>: Parameters that all Query operations can use.</p>
299
- * </li>
300
- * <li>
301
- * <p>
302
- * <a href="https://docs.aws.amazon.com/appflow/1.0/APIReference/CommonErrors.html">Common
303
- * errors</a>: Client and server errors that all operations can return.</p>
304
- * </li>
305
- * </ul>
306
- *
307
- * <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
308
- * Guide</a>.</p>
309
- * <p>Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include
310
- * applicable OAuth attributes (such as <code>auth-code</code> and <code>redirecturi</code>) with
311
- * the connector-specific <code>ConnectorProfileProperties</code> when creating a new connector
312
- * profile using Amazon AppFlow API operations. For example, Salesforce users can refer to the
313
- * <a href="https://help.salesforce.com/articleView?id=remoteaccess_authenticate.htm">
314
- * <i>Authorize Apps with OAuth</i>
315
- * </a> documentation.</p>
316
- */
317
- export class AppflowClient extends __Client<
318
- __HttpHandlerOptions,
319
- ServiceInputTypes,
320
- ServiceOutputTypes,
321
- AppflowClientResolvedConfig
322
- > {
323
- /**
324
- * The resolved configuration of AppflowClient class. This is resolved and normalized from the {@link AppflowClientConfig | constructor configuration interface}.
325
- */
326
- readonly config: AppflowClientResolvedConfig;
327
-
328
- constructor(configuration: AppflowClientConfig) {
329
- const _config_0 = __getRuntimeConfig(configuration);
330
- const _config_1 = resolveRegionConfig(_config_0);
331
- const _config_2 = resolveEndpointsConfig(_config_1);
332
- const _config_3 = resolveRetryConfig(_config_2);
333
- const _config_4 = resolveHostHeaderConfig(_config_3);
334
- const _config_5 = resolveAwsAuthConfig(_config_4);
335
- const _config_6 = resolveUserAgentConfig(_config_5);
336
- super(_config_6);
337
- this.config = _config_6;
338
- this.middlewareStack.use(getRetryPlugin(this.config));
339
- this.middlewareStack.use(getContentLengthPlugin(this.config));
340
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
341
- this.middlewareStack.use(getLoggerPlugin(this.config));
342
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
343
- this.middlewareStack.use(getUserAgentPlugin(this.config));
344
- }
345
-
346
- /**
347
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
348
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
349
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
350
- */
351
- destroy(): void {
352
- super.destroy();
353
- }
354
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { CreateConnectorProfileRequest, CreateConnectorProfileResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateConnectorProfileCommand,
18
- serializeAws_restJson1CreateConnectorProfileCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateConnectorProfileCommandInput extends CreateConnectorProfileRequest {}
22
- export interface CreateConnectorProfileCommandOutput extends CreateConnectorProfileResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Creates a new connector profile associated with your Amazon Web Services account. There is a soft quota
26
- * of 100 connector profiles per Amazon Web Services account. If you need more connector profiles than this quota
27
- * allows, you can submit a request to the Amazon AppFlow team through the Amazon AppFlow support
28
- * channel. </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { AppflowClient, CreateConnectorProfileCommand } from "@aws-sdk/client-appflow"; // ES Modules import
33
- * // const { AppflowClient, CreateConnectorProfileCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
34
- * const client = new AppflowClient(config);
35
- * const command = new CreateConnectorProfileCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateConnectorProfileCommandInput} for command's `input` shape.
40
- * @see {@link CreateConnectorProfileCommandOutput} for command's `response` shape.
41
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class CreateConnectorProfileCommand extends $Command<
45
- CreateConnectorProfileCommandInput,
46
- CreateConnectorProfileCommandOutput,
47
- AppflowClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: CreateConnectorProfileCommandInput) {
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<CreateConnectorProfileCommandInput, CreateConnectorProfileCommandOutput> {
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 = "CreateConnectorProfileCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: CreateConnectorProfileRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: CreateConnectorProfileResponse.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: CreateConnectorProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1CreateConnectorProfileCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateConnectorProfileCommandOutput> {
93
- return deserializeAws_restJson1CreateConnectorProfileCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { CreateFlowRequest, CreateFlowResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateFlowCommand,
18
- serializeAws_restJson1CreateFlowCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateFlowCommandInput extends CreateFlowRequest {}
22
- export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Enables your application to create a new flow using Amazon AppFlow. You must create a
26
- * connector profile before calling this API. Please note that the Request Syntax below shows
27
- * syntax for multiple destinations, however, you can only transfer data to one item in this list
28
- * at a time. Amazon AppFlow does not currently support flows to multiple destinations at once. </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { AppflowClient, CreateFlowCommand } from "@aws-sdk/client-appflow"; // ES Modules import
33
- * // const { AppflowClient, CreateFlowCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
34
- * const client = new AppflowClient(config);
35
- * const command = new CreateFlowCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link CreateFlowCommandInput} for command's `input` shape.
40
- * @see {@link CreateFlowCommandOutput} for command's `response` shape.
41
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class CreateFlowCommand extends $Command<
45
- CreateFlowCommandInput,
46
- CreateFlowCommandOutput,
47
- AppflowClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: CreateFlowCommandInput) {
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<CreateFlowCommandInput, CreateFlowCommandOutput> {
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 = "CreateFlowCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: CreateFlowRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: CreateFlowResponse.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: CreateFlowCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1CreateFlowCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFlowCommandOutput> {
93
- return deserializeAws_restJson1CreateFlowCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
15
- import { DeleteConnectorProfileRequest, DeleteConnectorProfileResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1DeleteConnectorProfileCommand,
18
- serializeAws_restJson1DeleteConnectorProfileCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface DeleteConnectorProfileCommandInput extends DeleteConnectorProfileRequest {}
22
- export interface DeleteConnectorProfileCommandOutput extends DeleteConnectorProfileResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p> Enables you to delete an existing connector profile. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { AppflowClient, DeleteConnectorProfileCommand } from "@aws-sdk/client-appflow"; // ES Modules import
30
- * // const { AppflowClient, DeleteConnectorProfileCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
31
- * const client = new AppflowClient(config);
32
- * const command = new DeleteConnectorProfileCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteConnectorProfileCommandInput} for command's `input` shape.
37
- * @see {@link DeleteConnectorProfileCommandOutput} for command's `response` shape.
38
- * @see {@link AppflowClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteConnectorProfileCommand extends $Command<
42
- DeleteConnectorProfileCommandInput,
43
- DeleteConnectorProfileCommandOutput,
44
- AppflowClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteConnectorProfileCommandInput) {
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<DeleteConnectorProfileCommandInput, DeleteConnectorProfileCommandOutput> {
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 = "DeleteConnectorProfileCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteConnectorProfileRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteConnectorProfileResponse.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: DeleteConnectorProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteConnectorProfileCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteConnectorProfileCommandOutput> {
90
- return deserializeAws_restJson1DeleteConnectorProfileCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }