@aws-sdk/client-appflow 3.490.0 → 3.495.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 (44) hide show
  1. package/dist-cjs/Appflow.js +1 -61
  2. package/dist-cjs/AppflowClient.js +1 -43
  3. package/dist-cjs/commands/CancelFlowExecutionsCommand.js +1 -28
  4. package/dist-cjs/commands/CreateConnectorProfileCommand.js +1 -29
  5. package/dist-cjs/commands/CreateFlowCommand.js +1 -28
  6. package/dist-cjs/commands/DeleteConnectorProfileCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteFlowCommand.js +1 -28
  8. package/dist-cjs/commands/DescribeConnectorCommand.js +1 -28
  9. package/dist-cjs/commands/DescribeConnectorEntityCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js +1 -28
  11. package/dist-cjs/commands/DescribeConnectorsCommand.js +1 -28
  12. package/dist-cjs/commands/DescribeFlowCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js +1 -28
  14. package/dist-cjs/commands/ListConnectorEntitiesCommand.js +1 -28
  15. package/dist-cjs/commands/ListConnectorsCommand.js +1 -28
  16. package/dist-cjs/commands/ListFlowsCommand.js +1 -28
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  18. package/dist-cjs/commands/RegisterConnectorCommand.js +1 -28
  19. package/dist-cjs/commands/ResetConnectorMetadataCacheCommand.js +1 -28
  20. package/dist-cjs/commands/StartFlowCommand.js +1 -28
  21. package/dist-cjs/commands/StopFlowCommand.js +1 -28
  22. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  23. package/dist-cjs/commands/UnregisterConnectorCommand.js +1 -28
  24. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  25. package/dist-cjs/commands/UpdateConnectorProfileCommand.js +1 -29
  26. package/dist-cjs/commands/UpdateConnectorRegistrationCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateFlowCommand.js +1 -28
  28. package/dist-cjs/commands/index.js +1 -28
  29. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  30. package/dist-cjs/extensionConfiguration.js +1 -2
  31. package/dist-cjs/index.js +3570 -11
  32. package/dist-cjs/models/AppflowServiceException.js +1 -12
  33. package/dist-cjs/models/index.js +1 -4
  34. package/dist-cjs/models/models_0.js +1 -806
  35. package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js +1 -7
  36. package/dist-cjs/pagination/DescribeConnectorsPaginator.js +1 -7
  37. package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js +1 -7
  38. package/dist-cjs/pagination/Interfaces.js +1 -2
  39. package/dist-cjs/pagination/ListConnectorsPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListFlowsPaginator.js +1 -7
  41. package/dist-cjs/pagination/index.js +1 -9
  42. package/dist-cjs/protocols/Aws_restJson1.js +1 -1928
  43. package/dist-cjs/runtimeExtensions.js +1 -22
  44. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,3571 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppflowServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./AppflowClient"), exports);
6
- tslib_1.__exportStar(require("./Appflow"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var AppflowServiceException_1 = require("./models/AppflowServiceException");
12
- Object.defineProperty(exports, "AppflowServiceException", { enumerable: true, get: function () { return AppflowServiceException_1.AppflowServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ AggregationType: () => AggregationType,
26
+ AmplitudeConnectorOperator: () => AmplitudeConnectorOperator,
27
+ AmplitudeConnectorProfileCredentialsFilterSensitiveLog: () => AmplitudeConnectorProfileCredentialsFilterSensitiveLog,
28
+ ApiKeyCredentialsFilterSensitiveLog: () => ApiKeyCredentialsFilterSensitiveLog,
29
+ Appflow: () => Appflow,
30
+ AppflowClient: () => AppflowClient,
31
+ AppflowServiceException: () => AppflowServiceException,
32
+ AuthenticationType: () => AuthenticationType,
33
+ BasicAuthCredentialsFilterSensitiveLog: () => BasicAuthCredentialsFilterSensitiveLog,
34
+ CancelFlowExecutionsCommand: () => CancelFlowExecutionsCommand,
35
+ CatalogType: () => CatalogType,
36
+ ConflictException: () => ConflictException,
37
+ ConnectionMode: () => ConnectionMode,
38
+ ConnectorAuthenticationException: () => ConnectorAuthenticationException,
39
+ ConnectorProfileConfigFilterSensitiveLog: () => ConnectorProfileConfigFilterSensitiveLog,
40
+ ConnectorProfileCredentialsFilterSensitiveLog: () => ConnectorProfileCredentialsFilterSensitiveLog,
41
+ ConnectorProvisioningType: () => ConnectorProvisioningType,
42
+ ConnectorServerException: () => ConnectorServerException,
43
+ ConnectorType: () => ConnectorType,
44
+ CreateConnectorProfileCommand: () => CreateConnectorProfileCommand,
45
+ CreateConnectorProfileRequestFilterSensitiveLog: () => CreateConnectorProfileRequestFilterSensitiveLog,
46
+ CreateFlowCommand: () => CreateFlowCommand,
47
+ CustomAuthCredentialsFilterSensitiveLog: () => CustomAuthCredentialsFilterSensitiveLog,
48
+ CustomConnectorProfileCredentialsFilterSensitiveLog: () => CustomConnectorProfileCredentialsFilterSensitiveLog,
49
+ DataPullMode: () => DataPullMode,
50
+ DataTransferApiType: () => DataTransferApiType,
51
+ DatadogConnectorOperator: () => DatadogConnectorOperator,
52
+ DatadogConnectorProfileCredentialsFilterSensitiveLog: () => DatadogConnectorProfileCredentialsFilterSensitiveLog,
53
+ DeleteConnectorProfileCommand: () => DeleteConnectorProfileCommand,
54
+ DeleteFlowCommand: () => DeleteFlowCommand,
55
+ DescribeConnectorCommand: () => DescribeConnectorCommand,
56
+ DescribeConnectorEntityCommand: () => DescribeConnectorEntityCommand,
57
+ DescribeConnectorProfilesCommand: () => DescribeConnectorProfilesCommand,
58
+ DescribeConnectorsCommand: () => DescribeConnectorsCommand,
59
+ DescribeFlowCommand: () => DescribeFlowCommand,
60
+ DescribeFlowExecutionRecordsCommand: () => DescribeFlowExecutionRecordsCommand,
61
+ DynatraceConnectorOperator: () => DynatraceConnectorOperator,
62
+ ExecutionStatus: () => ExecutionStatus,
63
+ FileType: () => FileType,
64
+ FlowStatus: () => FlowStatus,
65
+ GoogleAnalyticsConnectorOperator: () => GoogleAnalyticsConnectorOperator,
66
+ GoogleAnalyticsConnectorProfileCredentialsFilterSensitiveLog: () => GoogleAnalyticsConnectorProfileCredentialsFilterSensitiveLog,
67
+ HoneycodeConnectorProfileCredentialsFilterSensitiveLog: () => HoneycodeConnectorProfileCredentialsFilterSensitiveLog,
68
+ InforNexusConnectorOperator: () => InforNexusConnectorOperator,
69
+ InforNexusConnectorProfileCredentialsFilterSensitiveLog: () => InforNexusConnectorProfileCredentialsFilterSensitiveLog,
70
+ InternalServerException: () => InternalServerException,
71
+ ListConnectorEntitiesCommand: () => ListConnectorEntitiesCommand,
72
+ ListConnectorsCommand: () => ListConnectorsCommand,
73
+ ListFlowsCommand: () => ListFlowsCommand,
74
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
75
+ MarketoConnectorOperator: () => MarketoConnectorOperator,
76
+ MarketoConnectorProfileCredentialsFilterSensitiveLog: () => MarketoConnectorProfileCredentialsFilterSensitiveLog,
77
+ OAuth2CredentialsFilterSensitiveLog: () => OAuth2CredentialsFilterSensitiveLog,
78
+ OAuth2CustomPropType: () => OAuth2CustomPropType,
79
+ OAuth2GrantType: () => OAuth2GrantType,
80
+ OAuthCredentialsFilterSensitiveLog: () => OAuthCredentialsFilterSensitiveLog,
81
+ Operator: () => Operator,
82
+ OperatorPropertiesKeys: () => OperatorPropertiesKeys,
83
+ Operators: () => Operators,
84
+ PardotConnectorOperator: () => PardotConnectorOperator,
85
+ PardotConnectorProfileCredentialsFilterSensitiveLog: () => PardotConnectorProfileCredentialsFilterSensitiveLog,
86
+ PathPrefix: () => PathPrefix,
87
+ PrefixFormat: () => PrefixFormat,
88
+ PrefixType: () => PrefixType,
89
+ PrivateConnectionProvisioningFailureCause: () => PrivateConnectionProvisioningFailureCause,
90
+ PrivateConnectionProvisioningStatus: () => PrivateConnectionProvisioningStatus,
91
+ RedshiftConnectorProfileCredentialsFilterSensitiveLog: () => RedshiftConnectorProfileCredentialsFilterSensitiveLog,
92
+ RegisterConnectorCommand: () => RegisterConnectorCommand,
93
+ ResetConnectorMetadataCacheCommand: () => ResetConnectorMetadataCacheCommand,
94
+ ResourceNotFoundException: () => ResourceNotFoundException,
95
+ S3ConnectorOperator: () => S3ConnectorOperator,
96
+ S3InputFileType: () => S3InputFileType,
97
+ SAPODataConnectorOperator: () => SAPODataConnectorOperator,
98
+ SAPODataConnectorProfileCredentialsFilterSensitiveLog: () => SAPODataConnectorProfileCredentialsFilterSensitiveLog,
99
+ SalesforceConnectorOperator: () => SalesforceConnectorOperator,
100
+ SalesforceConnectorProfileCredentialsFilterSensitiveLog: () => SalesforceConnectorProfileCredentialsFilterSensitiveLog,
101
+ SalesforceDataTransferApi: () => SalesforceDataTransferApi,
102
+ ScheduleFrequencyType: () => ScheduleFrequencyType,
103
+ ServiceNowConnectorOperator: () => ServiceNowConnectorOperator,
104
+ ServiceNowConnectorProfileCredentialsFilterSensitiveLog: () => ServiceNowConnectorProfileCredentialsFilterSensitiveLog,
105
+ ServiceQuotaExceededException: () => ServiceQuotaExceededException,
106
+ SingularConnectorOperator: () => SingularConnectorOperator,
107
+ SingularConnectorProfileCredentialsFilterSensitiveLog: () => SingularConnectorProfileCredentialsFilterSensitiveLog,
108
+ SlackConnectorOperator: () => SlackConnectorOperator,
109
+ SlackConnectorProfileCredentialsFilterSensitiveLog: () => SlackConnectorProfileCredentialsFilterSensitiveLog,
110
+ SnowflakeConnectorProfileCredentialsFilterSensitiveLog: () => SnowflakeConnectorProfileCredentialsFilterSensitiveLog,
111
+ StartFlowCommand: () => StartFlowCommand,
112
+ StopFlowCommand: () => StopFlowCommand,
113
+ SupportedDataTransferType: () => SupportedDataTransferType,
114
+ TagResourceCommand: () => TagResourceCommand,
115
+ TaskType: () => TaskType,
116
+ ThrottlingException: () => ThrottlingException,
117
+ TrendmicroConnectorOperator: () => TrendmicroConnectorOperator,
118
+ TrendmicroConnectorProfileCredentialsFilterSensitiveLog: () => TrendmicroConnectorProfileCredentialsFilterSensitiveLog,
119
+ TriggerType: () => TriggerType,
120
+ UnregisterConnectorCommand: () => UnregisterConnectorCommand,
121
+ UnsupportedOperationException: () => UnsupportedOperationException,
122
+ UntagResourceCommand: () => UntagResourceCommand,
123
+ UpdateConnectorProfileCommand: () => UpdateConnectorProfileCommand,
124
+ UpdateConnectorProfileRequestFilterSensitiveLog: () => UpdateConnectorProfileRequestFilterSensitiveLog,
125
+ UpdateConnectorRegistrationCommand: () => UpdateConnectorRegistrationCommand,
126
+ UpdateFlowCommand: () => UpdateFlowCommand,
127
+ ValidationException: () => ValidationException,
128
+ VeevaConnectorOperator: () => VeevaConnectorOperator,
129
+ VeevaConnectorProfileCredentialsFilterSensitiveLog: () => VeevaConnectorProfileCredentialsFilterSensitiveLog,
130
+ WriteOperationType: () => WriteOperationType,
131
+ ZendeskConnectorOperator: () => ZendeskConnectorOperator,
132
+ ZendeskConnectorProfileCredentialsFilterSensitiveLog: () => ZendeskConnectorProfileCredentialsFilterSensitiveLog,
133
+ __Client: () => import_smithy_client.Client,
134
+ paginateDescribeConnectorProfiles: () => paginateDescribeConnectorProfiles,
135
+ paginateDescribeConnectors: () => paginateDescribeConnectors,
136
+ paginateDescribeFlowExecutionRecords: () => paginateDescribeFlowExecutionRecords,
137
+ paginateListConnectors: () => paginateListConnectors,
138
+ paginateListFlows: () => paginateListFlows
139
+ });
140
+ module.exports = __toCommonJS(src_exports);
141
+
142
+ // src/AppflowClient.ts
143
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
144
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
145
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
146
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
147
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
148
+ var import_config_resolver = require("@smithy/config-resolver");
149
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
150
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
151
+ var import_middleware_retry = require("@smithy/middleware-retry");
152
+
153
+
154
+ // src/endpoint/EndpointParameters.ts
155
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
156
+ return {
157
+ ...options,
158
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
159
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
160
+ defaultSigningName: "appflow"
161
+ };
162
+ }, "resolveClientEndpointParameters");
163
+ var commonParams = {
164
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
165
+ Endpoint: { type: "builtInParams", name: "endpoint" },
166
+ Region: { type: "builtInParams", name: "region" },
167
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
168
+ };
169
+
170
+ // src/AppflowClient.ts
171
+ var import_runtimeConfig = require("././runtimeConfig");
172
+
173
+ // src/runtimeExtensions.ts
174
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
175
+ var import_protocol_http = require("@smithy/protocol-http");
176
+ var import_smithy_client = require("@smithy/smithy-client");
177
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
178
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
179
+ const extensionConfiguration = {
180
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
181
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
182
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
183
+ };
184
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
185
+ return {
186
+ ...runtimeConfig,
187
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
188
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
189
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
190
+ };
191
+ }, "resolveRuntimeExtensions");
192
+
193
+ // src/AppflowClient.ts
194
+ var _AppflowClient = class _AppflowClient extends import_smithy_client.Client {
195
+ constructor(...[configuration]) {
196
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
197
+ const _config_1 = resolveClientEndpointParameters(_config_0);
198
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
199
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
200
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
201
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
202
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
203
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
204
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
205
+ super(_config_8);
206
+ this.config = _config_8;
207
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
208
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
209
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
210
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
211
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
212
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
213
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
214
+ }
215
+ /**
216
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
217
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
218
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
219
+ */
220
+ destroy() {
221
+ super.destroy();
222
+ }
223
+ };
224
+ __name(_AppflowClient, "AppflowClient");
225
+ var AppflowClient = _AppflowClient;
226
+
227
+ // src/Appflow.ts
228
+
229
+
230
+ // src/commands/CancelFlowExecutionsCommand.ts
231
+
232
+ var import_middleware_serde = require("@smithy/middleware-serde");
233
+
234
+ var import_types = require("@smithy/types");
235
+
236
+ // src/protocols/Aws_restJson1.ts
237
+ var import_core = require("@smithy/core");
238
+
239
+ var import_uuid = require("uuid");
240
+
241
+ // src/models/AppflowServiceException.ts
242
+
243
+ var _AppflowServiceException = class _AppflowServiceException extends import_smithy_client.ServiceException {
244
+ /**
245
+ * @internal
246
+ */
247
+ constructor(options) {
248
+ super(options);
249
+ Object.setPrototypeOf(this, _AppflowServiceException.prototype);
250
+ }
251
+ };
252
+ __name(_AppflowServiceException, "AppflowServiceException");
253
+ var AppflowServiceException = _AppflowServiceException;
254
+
255
+ // src/models/models_0.ts
256
+
257
+ var _AccessDeniedException = class _AccessDeniedException extends AppflowServiceException {
258
+ /**
259
+ * @internal
260
+ */
261
+ constructor(opts) {
262
+ super({
263
+ name: "AccessDeniedException",
264
+ $fault: "client",
265
+ ...opts
266
+ });
267
+ this.name = "AccessDeniedException";
268
+ this.$fault = "client";
269
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
270
+ }
271
+ };
272
+ __name(_AccessDeniedException, "AccessDeniedException");
273
+ var AccessDeniedException = _AccessDeniedException;
274
+ var AggregationType = {
275
+ NONE: "None",
276
+ SINGLE_FILE: "SingleFile"
277
+ };
278
+ var AmplitudeConnectorOperator = {
279
+ BETWEEN: "BETWEEN"
280
+ };
281
+ var OAuth2CustomPropType = {
282
+ AUTH_URL: "AUTH_URL",
283
+ TOKEN_URL: "TOKEN_URL"
284
+ };
285
+ var OAuth2GrantType = {
286
+ AUTHORIZATION_CODE: "AUTHORIZATION_CODE",
287
+ CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS",
288
+ JWT_BEARER: "JWT_BEARER"
289
+ };
290
+ var AuthenticationType = {
291
+ APIKEY: "APIKEY",
292
+ BASIC: "BASIC",
293
+ CUSTOM: "CUSTOM",
294
+ OAUTH2: "OAUTH2"
295
+ };
296
+ var _InternalServerException = class _InternalServerException extends AppflowServiceException {
297
+ /**
298
+ * @internal
299
+ */
300
+ constructor(opts) {
301
+ super({
302
+ name: "InternalServerException",
303
+ $fault: "server",
304
+ ...opts
305
+ });
306
+ this.name = "InternalServerException";
307
+ this.$fault = "server";
308
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
309
+ }
310
+ };
311
+ __name(_InternalServerException, "InternalServerException");
312
+ var InternalServerException = _InternalServerException;
313
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends AppflowServiceException {
314
+ /**
315
+ * @internal
316
+ */
317
+ constructor(opts) {
318
+ super({
319
+ name: "ResourceNotFoundException",
320
+ $fault: "client",
321
+ ...opts
322
+ });
323
+ this.name = "ResourceNotFoundException";
324
+ this.$fault = "client";
325
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
326
+ }
327
+ };
328
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
329
+ var ResourceNotFoundException = _ResourceNotFoundException;
330
+ var _ThrottlingException = class _ThrottlingException extends AppflowServiceException {
331
+ /**
332
+ * @internal
333
+ */
334
+ constructor(opts) {
335
+ super({
336
+ name: "ThrottlingException",
337
+ $fault: "client",
338
+ ...opts
339
+ });
340
+ this.name = "ThrottlingException";
341
+ this.$fault = "client";
342
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
343
+ }
344
+ };
345
+ __name(_ThrottlingException, "ThrottlingException");
346
+ var ThrottlingException = _ThrottlingException;
347
+ var _ValidationException = class _ValidationException extends AppflowServiceException {
348
+ /**
349
+ * @internal
350
+ */
351
+ constructor(opts) {
352
+ super({
353
+ name: "ValidationException",
354
+ $fault: "client",
355
+ ...opts
356
+ });
357
+ this.name = "ValidationException";
358
+ this.$fault = "client";
359
+ Object.setPrototypeOf(this, _ValidationException.prototype);
360
+ }
361
+ };
362
+ __name(_ValidationException, "ValidationException");
363
+ var ValidationException = _ValidationException;
364
+ var CatalogType = {
365
+ GLUE: "GLUE"
366
+ };
367
+ var _ConflictException = class _ConflictException extends AppflowServiceException {
368
+ /**
369
+ * @internal
370
+ */
371
+ constructor(opts) {
372
+ super({
373
+ name: "ConflictException",
374
+ $fault: "client",
375
+ ...opts
376
+ });
377
+ this.name = "ConflictException";
378
+ this.$fault = "client";
379
+ Object.setPrototypeOf(this, _ConflictException.prototype);
380
+ }
381
+ };
382
+ __name(_ConflictException, "ConflictException");
383
+ var ConflictException = _ConflictException;
384
+ var ConnectionMode = {
385
+ PRIVATE: "Private",
386
+ PUBLIC: "Public"
387
+ };
388
+ var _ConnectorAuthenticationException = class _ConnectorAuthenticationException extends AppflowServiceException {
389
+ /**
390
+ * @internal
391
+ */
392
+ constructor(opts) {
393
+ super({
394
+ name: "ConnectorAuthenticationException",
395
+ $fault: "client",
396
+ ...opts
397
+ });
398
+ this.name = "ConnectorAuthenticationException";
399
+ this.$fault = "client";
400
+ Object.setPrototypeOf(this, _ConnectorAuthenticationException.prototype);
401
+ }
402
+ };
403
+ __name(_ConnectorAuthenticationException, "ConnectorAuthenticationException");
404
+ var ConnectorAuthenticationException = _ConnectorAuthenticationException;
405
+ var SalesforceDataTransferApi = {
406
+ AUTOMATIC: "AUTOMATIC",
407
+ BULKV2: "BULKV2",
408
+ REST_SYNC: "REST_SYNC"
409
+ };
410
+ var ConnectorProvisioningType = {
411
+ LAMBDA: "LAMBDA"
412
+ };
413
+ var ConnectorType = {
414
+ AMPLITUDE: "Amplitude",
415
+ CUSTOMCONNECTOR: "CustomConnector",
416
+ CUSTOMERPROFILES: "CustomerProfiles",
417
+ DATADOG: "Datadog",
418
+ DYNATRACE: "Dynatrace",
419
+ EVENTBRIDGE: "EventBridge",
420
+ GOOGLEANALYTICS: "Googleanalytics",
421
+ HONEYCODE: "Honeycode",
422
+ INFORNEXUS: "Infornexus",
423
+ LOOKOUTMETRICS: "LookoutMetrics",
424
+ MARKETO: "Marketo",
425
+ PARDOT: "Pardot",
426
+ REDSHIFT: "Redshift",
427
+ S3: "S3",
428
+ SALESFORCE: "Salesforce",
429
+ SAPODATA: "SAPOData",
430
+ SERVICENOW: "Servicenow",
431
+ SINGULAR: "Singular",
432
+ SLACK: "Slack",
433
+ SNOWFLAKE: "Snowflake",
434
+ TRENDMICRO: "Trendmicro",
435
+ UPSOLVER: "Upsolver",
436
+ VEEVA: "Veeva",
437
+ ZENDESK: "Zendesk"
438
+ };
439
+ var DataTransferApiType = {
440
+ ASYNC: "ASYNC",
441
+ AUTOMATIC: "AUTOMATIC",
442
+ SYNC: "SYNC"
443
+ };
444
+ var SupportedDataTransferType = {
445
+ FILE: "FILE",
446
+ RECORD: "RECORD"
447
+ };
448
+ var Operators = {
449
+ ADDITION: "ADDITION",
450
+ BETWEEN: "BETWEEN",
451
+ CONTAINS: "CONTAINS",
452
+ DIVISION: "DIVISION",
453
+ EQUAL_TO: "EQUAL_TO",
454
+ GREATER_THAN: "GREATER_THAN",
455
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
456
+ LESS_THAN: "LESS_THAN",
457
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
458
+ MASK_ALL: "MASK_ALL",
459
+ MASK_FIRST_N: "MASK_FIRST_N",
460
+ MASK_LAST_N: "MASK_LAST_N",
461
+ MULTIPLICATION: "MULTIPLICATION",
462
+ NOT_EQUAL_TO: "NOT_EQUAL_TO",
463
+ NO_OP: "NO_OP",
464
+ PROJECTION: "PROJECTION",
465
+ SUBTRACTION: "SUBTRACTION",
466
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
467
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
468
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
469
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
470
+ };
471
+ var ScheduleFrequencyType = {
472
+ BYMINUTE: "BYMINUTE",
473
+ DAILY: "DAILY",
474
+ HOURLY: "HOURLY",
475
+ MONTHLY: "MONTHLY",
476
+ ONCE: "ONCE",
477
+ WEEKLY: "WEEKLY"
478
+ };
479
+ var TriggerType = {
480
+ EVENT: "Event",
481
+ ONDEMAND: "OnDemand",
482
+ SCHEDULED: "Scheduled"
483
+ };
484
+ var WriteOperationType = {
485
+ DELETE: "DELETE",
486
+ INSERT: "INSERT",
487
+ UPDATE: "UPDATE",
488
+ UPSERT: "UPSERT"
489
+ };
490
+ var Operator = {
491
+ ADDITION: "ADDITION",
492
+ BETWEEN: "BETWEEN",
493
+ CONTAINS: "CONTAINS",
494
+ DIVISION: "DIVISION",
495
+ EQUAL_TO: "EQUAL_TO",
496
+ GREATER_THAN: "GREATER_THAN",
497
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
498
+ LESS_THAN: "LESS_THAN",
499
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
500
+ MASK_ALL: "MASK_ALL",
501
+ MASK_FIRST_N: "MASK_FIRST_N",
502
+ MASK_LAST_N: "MASK_LAST_N",
503
+ MULTIPLICATION: "MULTIPLICATION",
504
+ NOT_EQUAL_TO: "NOT_EQUAL_TO",
505
+ NO_OP: "NO_OP",
506
+ PROJECTION: "PROJECTION",
507
+ SUBTRACTION: "SUBTRACTION",
508
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
509
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
510
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
511
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
512
+ };
513
+ var DatadogConnectorOperator = {
514
+ ADDITION: "ADDITION",
515
+ BETWEEN: "BETWEEN",
516
+ DIVISION: "DIVISION",
517
+ EQUAL_TO: "EQUAL_TO",
518
+ MASK_ALL: "MASK_ALL",
519
+ MASK_FIRST_N: "MASK_FIRST_N",
520
+ MASK_LAST_N: "MASK_LAST_N",
521
+ MULTIPLICATION: "MULTIPLICATION",
522
+ NO_OP: "NO_OP",
523
+ PROJECTION: "PROJECTION",
524
+ SUBTRACTION: "SUBTRACTION",
525
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
526
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
527
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
528
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
529
+ };
530
+ var DynatraceConnectorOperator = {
531
+ ADDITION: "ADDITION",
532
+ BETWEEN: "BETWEEN",
533
+ DIVISION: "DIVISION",
534
+ EQUAL_TO: "EQUAL_TO",
535
+ MASK_ALL: "MASK_ALL",
536
+ MASK_FIRST_N: "MASK_FIRST_N",
537
+ MASK_LAST_N: "MASK_LAST_N",
538
+ MULTIPLICATION: "MULTIPLICATION",
539
+ NO_OP: "NO_OP",
540
+ PROJECTION: "PROJECTION",
541
+ SUBTRACTION: "SUBTRACTION",
542
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
543
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
544
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
545
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
546
+ };
547
+ var GoogleAnalyticsConnectorOperator = {
548
+ BETWEEN: "BETWEEN",
549
+ PROJECTION: "PROJECTION"
550
+ };
551
+ var InforNexusConnectorOperator = {
552
+ ADDITION: "ADDITION",
553
+ BETWEEN: "BETWEEN",
554
+ DIVISION: "DIVISION",
555
+ EQUAL_TO: "EQUAL_TO",
556
+ MASK_ALL: "MASK_ALL",
557
+ MASK_FIRST_N: "MASK_FIRST_N",
558
+ MASK_LAST_N: "MASK_LAST_N",
559
+ MULTIPLICATION: "MULTIPLICATION",
560
+ NO_OP: "NO_OP",
561
+ PROJECTION: "PROJECTION",
562
+ SUBTRACTION: "SUBTRACTION",
563
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
564
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
565
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
566
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
567
+ };
568
+ var MarketoConnectorOperator = {
569
+ ADDITION: "ADDITION",
570
+ BETWEEN: "BETWEEN",
571
+ DIVISION: "DIVISION",
572
+ GREATER_THAN: "GREATER_THAN",
573
+ LESS_THAN: "LESS_THAN",
574
+ MASK_ALL: "MASK_ALL",
575
+ MASK_FIRST_N: "MASK_FIRST_N",
576
+ MASK_LAST_N: "MASK_LAST_N",
577
+ MULTIPLICATION: "MULTIPLICATION",
578
+ NO_OP: "NO_OP",
579
+ PROJECTION: "PROJECTION",
580
+ SUBTRACTION: "SUBTRACTION",
581
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
582
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
583
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
584
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
585
+ };
586
+ var PardotConnectorOperator = {
587
+ ADDITION: "ADDITION",
588
+ DIVISION: "DIVISION",
589
+ EQUAL_TO: "EQUAL_TO",
590
+ MASK_ALL: "MASK_ALL",
591
+ MASK_FIRST_N: "MASK_FIRST_N",
592
+ MASK_LAST_N: "MASK_LAST_N",
593
+ MULTIPLICATION: "MULTIPLICATION",
594
+ NO_OP: "NO_OP",
595
+ PROJECTION: "PROJECTION",
596
+ SUBTRACTION: "SUBTRACTION",
597
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
598
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
599
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
600
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
601
+ };
602
+ var S3ConnectorOperator = {
603
+ ADDITION: "ADDITION",
604
+ BETWEEN: "BETWEEN",
605
+ DIVISION: "DIVISION",
606
+ EQUAL_TO: "EQUAL_TO",
607
+ GREATER_THAN: "GREATER_THAN",
608
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
609
+ LESS_THAN: "LESS_THAN",
610
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
611
+ MASK_ALL: "MASK_ALL",
612
+ MASK_FIRST_N: "MASK_FIRST_N",
613
+ MASK_LAST_N: "MASK_LAST_N",
614
+ MULTIPLICATION: "MULTIPLICATION",
615
+ NOT_EQUAL_TO: "NOT_EQUAL_TO",
616
+ NO_OP: "NO_OP",
617
+ PROJECTION: "PROJECTION",
618
+ SUBTRACTION: "SUBTRACTION",
619
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
620
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
621
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
622
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
623
+ };
624
+ var SalesforceConnectorOperator = {
625
+ ADDITION: "ADDITION",
626
+ BETWEEN: "BETWEEN",
627
+ CONTAINS: "CONTAINS",
628
+ DIVISION: "DIVISION",
629
+ EQUAL_TO: "EQUAL_TO",
630
+ GREATER_THAN: "GREATER_THAN",
631
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
632
+ LESS_THAN: "LESS_THAN",
633
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
634
+ MASK_ALL: "MASK_ALL",
635
+ MASK_FIRST_N: "MASK_FIRST_N",
636
+ MASK_LAST_N: "MASK_LAST_N",
637
+ MULTIPLICATION: "MULTIPLICATION",
638
+ NOT_EQUAL_TO: "NOT_EQUAL_TO",
639
+ NO_OP: "NO_OP",
640
+ PROJECTION: "PROJECTION",
641
+ SUBTRACTION: "SUBTRACTION",
642
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
643
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
644
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
645
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
646
+ };
647
+ var SAPODataConnectorOperator = {
648
+ ADDITION: "ADDITION",
649
+ BETWEEN: "BETWEEN",
650
+ CONTAINS: "CONTAINS",
651
+ DIVISION: "DIVISION",
652
+ EQUAL_TO: "EQUAL_TO",
653
+ GREATER_THAN: "GREATER_THAN",
654
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
655
+ LESS_THAN: "LESS_THAN",
656
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
657
+ MASK_ALL: "MASK_ALL",
658
+ MASK_FIRST_N: "MASK_FIRST_N",
659
+ MASK_LAST_N: "MASK_LAST_N",
660
+ MULTIPLICATION: "MULTIPLICATION",
661
+ NOT_EQUAL_TO: "NOT_EQUAL_TO",
662
+ NO_OP: "NO_OP",
663
+ PROJECTION: "PROJECTION",
664
+ SUBTRACTION: "SUBTRACTION",
665
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
666
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
667
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
668
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
669
+ };
670
+ var ServiceNowConnectorOperator = {
671
+ ADDITION: "ADDITION",
672
+ BETWEEN: "BETWEEN",
673
+ CONTAINS: "CONTAINS",
674
+ DIVISION: "DIVISION",
675
+ EQUAL_TO: "EQUAL_TO",
676
+ GREATER_THAN: "GREATER_THAN",
677
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
678
+ LESS_THAN: "LESS_THAN",
679
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
680
+ MASK_ALL: "MASK_ALL",
681
+ MASK_FIRST_N: "MASK_FIRST_N",
682
+ MASK_LAST_N: "MASK_LAST_N",
683
+ MULTIPLICATION: "MULTIPLICATION",
684
+ NOT_EQUAL_TO: "NOT_EQUAL_TO",
685
+ NO_OP: "NO_OP",
686
+ PROJECTION: "PROJECTION",
687
+ SUBTRACTION: "SUBTRACTION",
688
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
689
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
690
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
691
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
692
+ };
693
+ var SingularConnectorOperator = {
694
+ ADDITION: "ADDITION",
695
+ DIVISION: "DIVISION",
696
+ EQUAL_TO: "EQUAL_TO",
697
+ MASK_ALL: "MASK_ALL",
698
+ MASK_FIRST_N: "MASK_FIRST_N",
699
+ MASK_LAST_N: "MASK_LAST_N",
700
+ MULTIPLICATION: "MULTIPLICATION",
701
+ NO_OP: "NO_OP",
702
+ PROJECTION: "PROJECTION",
703
+ SUBTRACTION: "SUBTRACTION",
704
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
705
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
706
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
707
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
708
+ };
709
+ var SlackConnectorOperator = {
710
+ ADDITION: "ADDITION",
711
+ BETWEEN: "BETWEEN",
712
+ DIVISION: "DIVISION",
713
+ EQUAL_TO: "EQUAL_TO",
714
+ GREATER_THAN: "GREATER_THAN",
715
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
716
+ LESS_THAN: "LESS_THAN",
717
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
718
+ MASK_ALL: "MASK_ALL",
719
+ MASK_FIRST_N: "MASK_FIRST_N",
720
+ MASK_LAST_N: "MASK_LAST_N",
721
+ MULTIPLICATION: "MULTIPLICATION",
722
+ NO_OP: "NO_OP",
723
+ PROJECTION: "PROJECTION",
724
+ SUBTRACTION: "SUBTRACTION",
725
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
726
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
727
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
728
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
729
+ };
730
+ var TrendmicroConnectorOperator = {
731
+ ADDITION: "ADDITION",
732
+ DIVISION: "DIVISION",
733
+ EQUAL_TO: "EQUAL_TO",
734
+ MASK_ALL: "MASK_ALL",
735
+ MASK_FIRST_N: "MASK_FIRST_N",
736
+ MASK_LAST_N: "MASK_LAST_N",
737
+ MULTIPLICATION: "MULTIPLICATION",
738
+ NO_OP: "NO_OP",
739
+ PROJECTION: "PROJECTION",
740
+ SUBTRACTION: "SUBTRACTION",
741
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
742
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
743
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
744
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
745
+ };
746
+ var VeevaConnectorOperator = {
747
+ ADDITION: "ADDITION",
748
+ BETWEEN: "BETWEEN",
749
+ CONTAINS: "CONTAINS",
750
+ DIVISION: "DIVISION",
751
+ EQUAL_TO: "EQUAL_TO",
752
+ GREATER_THAN: "GREATER_THAN",
753
+ GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",
754
+ LESS_THAN: "LESS_THAN",
755
+ LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO",
756
+ MASK_ALL: "MASK_ALL",
757
+ MASK_FIRST_N: "MASK_FIRST_N",
758
+ MASK_LAST_N: "MASK_LAST_N",
759
+ MULTIPLICATION: "MULTIPLICATION",
760
+ NOT_EQUAL_TO: "NOT_EQUAL_TO",
761
+ NO_OP: "NO_OP",
762
+ PROJECTION: "PROJECTION",
763
+ SUBTRACTION: "SUBTRACTION",
764
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
765
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
766
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
767
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
768
+ };
769
+ var ZendeskConnectorOperator = {
770
+ ADDITION: "ADDITION",
771
+ DIVISION: "DIVISION",
772
+ GREATER_THAN: "GREATER_THAN",
773
+ MASK_ALL: "MASK_ALL",
774
+ MASK_FIRST_N: "MASK_FIRST_N",
775
+ MASK_LAST_N: "MASK_LAST_N",
776
+ MULTIPLICATION: "MULTIPLICATION",
777
+ NO_OP: "NO_OP",
778
+ PROJECTION: "PROJECTION",
779
+ SUBTRACTION: "SUBTRACTION",
780
+ VALIDATE_NON_NEGATIVE: "VALIDATE_NON_NEGATIVE",
781
+ VALIDATE_NON_NULL: "VALIDATE_NON_NULL",
782
+ VALIDATE_NON_ZERO: "VALIDATE_NON_ZERO",
783
+ VALIDATE_NUMERIC: "VALIDATE_NUMERIC"
784
+ };
785
+ var PrivateConnectionProvisioningFailureCause = {
786
+ ACCESS_DENIED: "ACCESS_DENIED",
787
+ CONNECTOR_AUTHENTICATION: "CONNECTOR_AUTHENTICATION",
788
+ CONNECTOR_SERVER: "CONNECTOR_SERVER",
789
+ INTERNAL_SERVER: "INTERNAL_SERVER",
790
+ VALIDATION: "VALIDATION"
791
+ };
792
+ var PrivateConnectionProvisioningStatus = {
793
+ CREATED: "CREATED",
794
+ FAILED: "FAILED",
795
+ PENDING: "PENDING"
796
+ };
797
+ var _ConnectorServerException = class _ConnectorServerException extends AppflowServiceException {
798
+ /**
799
+ * @internal
800
+ */
801
+ constructor(opts) {
802
+ super({
803
+ name: "ConnectorServerException",
804
+ $fault: "client",
805
+ ...opts
806
+ });
807
+ this.name = "ConnectorServerException";
808
+ this.$fault = "client";
809
+ Object.setPrototypeOf(this, _ConnectorServerException.prototype);
810
+ }
811
+ };
812
+ __name(_ConnectorServerException, "ConnectorServerException");
813
+ var ConnectorServerException = _ConnectorServerException;
814
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends AppflowServiceException {
815
+ /**
816
+ * @internal
817
+ */
818
+ constructor(opts) {
819
+ super({
820
+ name: "ServiceQuotaExceededException",
821
+ $fault: "client",
822
+ ...opts
823
+ });
824
+ this.name = "ServiceQuotaExceededException";
825
+ this.$fault = "client";
826
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
827
+ }
828
+ };
829
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
830
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
831
+ var FileType = {
832
+ CSV: "CSV",
833
+ JSON: "JSON",
834
+ PARQUET: "PARQUET"
835
+ };
836
+ var PathPrefix = {
837
+ EXECUTION_ID: "EXECUTION_ID",
838
+ SCHEMA_VERSION: "SCHEMA_VERSION"
839
+ };
840
+ var PrefixFormat = {
841
+ DAY: "DAY",
842
+ HOUR: "HOUR",
843
+ MINUTE: "MINUTE",
844
+ MONTH: "MONTH",
845
+ YEAR: "YEAR"
846
+ };
847
+ var PrefixType = {
848
+ FILENAME: "FILENAME",
849
+ PATH: "PATH",
850
+ PATH_AND_FILENAME: "PATH_AND_FILENAME"
851
+ };
852
+ var S3InputFileType = {
853
+ CSV: "CSV",
854
+ JSON: "JSON"
855
+ };
856
+ var OperatorPropertiesKeys = {
857
+ CONCAT_FORMAT: "CONCAT_FORMAT",
858
+ DATA_TYPE: "DATA_TYPE",
859
+ DESTINATION_DATA_TYPE: "DESTINATION_DATA_TYPE",
860
+ EXCLUDE_SOURCE_FIELDS_LIST: "EXCLUDE_SOURCE_FIELDS_LIST",
861
+ INCLUDE_NEW_FIELDS: "INCLUDE_NEW_FIELDS",
862
+ LOWER_BOUND: "LOWER_BOUND",
863
+ MASK_LENGTH: "MASK_LENGTH",
864
+ MASK_VALUE: "MASK_VALUE",
865
+ MATH_OPERATION_FIELDS_ORDER: "MATH_OPERATION_FIELDS_ORDER",
866
+ ORDERED_PARTITION_KEYS_LIST: "ORDERED_PARTITION_KEYS_LIST",
867
+ SOURCE_DATA_TYPE: "SOURCE_DATA_TYPE",
868
+ SUBFIELD_CATEGORY_MAP: "SUBFIELD_CATEGORY_MAP",
869
+ TRUNCATE_LENGTH: "TRUNCATE_LENGTH",
870
+ UPPER_BOUND: "UPPER_BOUND",
871
+ VALIDATION_ACTION: "VALIDATION_ACTION",
872
+ VALUE: "VALUE",
873
+ VALUES: "VALUES"
874
+ };
875
+ var TaskType = {
876
+ ARITHMETIC: "Arithmetic",
877
+ FILTER: "Filter",
878
+ MAP: "Map",
879
+ MAP_ALL: "Map_all",
880
+ MASK: "Mask",
881
+ MERGE: "Merge",
882
+ PARTITION: "Partition",
883
+ PASSTHROUGH: "Passthrough",
884
+ TRUNCATE: "Truncate",
885
+ VALIDATE: "Validate"
886
+ };
887
+ var DataPullMode = {
888
+ COMPLETE: "Complete",
889
+ INCREMENTAL: "Incremental"
890
+ };
891
+ var FlowStatus = {
892
+ ACTIVE: "Active",
893
+ DELETED: "Deleted",
894
+ DEPRECATED: "Deprecated",
895
+ DRAFT: "Draft",
896
+ ERRORED: "Errored",
897
+ SUSPENDED: "Suspended"
898
+ };
899
+ var ExecutionStatus = {
900
+ CANCELED: "Canceled",
901
+ CANCELSTARTED: "CancelStarted",
902
+ ERROR: "Error",
903
+ INPROGRESS: "InProgress",
904
+ SUCCESSFUL: "Successful"
905
+ };
906
+ var _UnsupportedOperationException = class _UnsupportedOperationException extends AppflowServiceException {
907
+ /**
908
+ * @internal
909
+ */
910
+ constructor(opts) {
911
+ super({
912
+ name: "UnsupportedOperationException",
913
+ $fault: "client",
914
+ ...opts
915
+ });
916
+ this.name = "UnsupportedOperationException";
917
+ this.$fault = "client";
918
+ Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);
919
+ }
920
+ };
921
+ __name(_UnsupportedOperationException, "UnsupportedOperationException");
922
+ var UnsupportedOperationException = _UnsupportedOperationException;
923
+ var AmplitudeConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
924
+ ...obj,
925
+ ...obj.apiKey && { apiKey: import_smithy_client.SENSITIVE_STRING },
926
+ ...obj.secretKey && { secretKey: import_smithy_client.SENSITIVE_STRING }
927
+ }), "AmplitudeConnectorProfileCredentialsFilterSensitiveLog");
928
+ var ApiKeyCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
929
+ ...obj,
930
+ ...obj.apiKey && { apiKey: import_smithy_client.SENSITIVE_STRING },
931
+ ...obj.apiSecretKey && { apiSecretKey: import_smithy_client.SENSITIVE_STRING }
932
+ }), "ApiKeyCredentialsFilterSensitiveLog");
933
+ var BasicAuthCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
934
+ ...obj,
935
+ ...obj.password && { password: import_smithy_client.SENSITIVE_STRING }
936
+ }), "BasicAuthCredentialsFilterSensitiveLog");
937
+ var CustomAuthCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
938
+ ...obj,
939
+ ...obj.credentialsMap && { credentialsMap: import_smithy_client.SENSITIVE_STRING }
940
+ }), "CustomAuthCredentialsFilterSensitiveLog");
941
+ var OAuth2CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
942
+ ...obj,
943
+ ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING },
944
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
945
+ }), "OAuth2CredentialsFilterSensitiveLog");
946
+ var CustomConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
947
+ ...obj,
948
+ ...obj.basic && { basic: BasicAuthCredentialsFilterSensitiveLog(obj.basic) },
949
+ ...obj.oauth2 && { oauth2: OAuth2CredentialsFilterSensitiveLog(obj.oauth2) },
950
+ ...obj.apiKey && { apiKey: ApiKeyCredentialsFilterSensitiveLog(obj.apiKey) },
951
+ ...obj.custom && { custom: CustomAuthCredentialsFilterSensitiveLog(obj.custom) }
952
+ }), "CustomConnectorProfileCredentialsFilterSensitiveLog");
953
+ var DatadogConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
954
+ ...obj,
955
+ ...obj.apiKey && { apiKey: import_smithy_client.SENSITIVE_STRING }
956
+ }), "DatadogConnectorProfileCredentialsFilterSensitiveLog");
957
+ var GoogleAnalyticsConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
958
+ ...obj,
959
+ ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING },
960
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
961
+ }), "GoogleAnalyticsConnectorProfileCredentialsFilterSensitiveLog");
962
+ var HoneycodeConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
963
+ ...obj,
964
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
965
+ }), "HoneycodeConnectorProfileCredentialsFilterSensitiveLog");
966
+ var InforNexusConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
967
+ ...obj,
968
+ ...obj.accessKeyId && { accessKeyId: import_smithy_client.SENSITIVE_STRING }
969
+ }), "InforNexusConnectorProfileCredentialsFilterSensitiveLog");
970
+ var MarketoConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
971
+ ...obj,
972
+ ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING },
973
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
974
+ }), "MarketoConnectorProfileCredentialsFilterSensitiveLog");
975
+ var PardotConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
976
+ ...obj,
977
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING },
978
+ ...obj.clientCredentialsArn && { clientCredentialsArn: import_smithy_client.SENSITIVE_STRING }
979
+ }), "PardotConnectorProfileCredentialsFilterSensitiveLog");
980
+ var RedshiftConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
981
+ ...obj,
982
+ ...obj.password && { password: import_smithy_client.SENSITIVE_STRING }
983
+ }), "RedshiftConnectorProfileCredentialsFilterSensitiveLog");
984
+ var SalesforceConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
985
+ ...obj,
986
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING },
987
+ ...obj.clientCredentialsArn && { clientCredentialsArn: import_smithy_client.SENSITIVE_STRING },
988
+ ...obj.jwtToken && { jwtToken: import_smithy_client.SENSITIVE_STRING }
989
+ }), "SalesforceConnectorProfileCredentialsFilterSensitiveLog");
990
+ var OAuthCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
991
+ ...obj,
992
+ ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING },
993
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
994
+ }), "OAuthCredentialsFilterSensitiveLog");
995
+ var SAPODataConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
996
+ ...obj,
997
+ ...obj.basicAuthCredentials && {
998
+ basicAuthCredentials: BasicAuthCredentialsFilterSensitiveLog(obj.basicAuthCredentials)
999
+ },
1000
+ ...obj.oAuthCredentials && { oAuthCredentials: OAuthCredentialsFilterSensitiveLog(obj.oAuthCredentials) }
1001
+ }), "SAPODataConnectorProfileCredentialsFilterSensitiveLog");
1002
+ var ServiceNowConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1003
+ ...obj,
1004
+ ...obj.password && { password: import_smithy_client.SENSITIVE_STRING },
1005
+ ...obj.oAuth2Credentials && { oAuth2Credentials: OAuth2CredentialsFilterSensitiveLog(obj.oAuth2Credentials) }
1006
+ }), "ServiceNowConnectorProfileCredentialsFilterSensitiveLog");
1007
+ var SingularConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1008
+ ...obj,
1009
+ ...obj.apiKey && { apiKey: import_smithy_client.SENSITIVE_STRING }
1010
+ }), "SingularConnectorProfileCredentialsFilterSensitiveLog");
1011
+ var SlackConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1012
+ ...obj,
1013
+ ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING },
1014
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
1015
+ }), "SlackConnectorProfileCredentialsFilterSensitiveLog");
1016
+ var SnowflakeConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1017
+ ...obj,
1018
+ ...obj.password && { password: import_smithy_client.SENSITIVE_STRING }
1019
+ }), "SnowflakeConnectorProfileCredentialsFilterSensitiveLog");
1020
+ var TrendmicroConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1021
+ ...obj,
1022
+ ...obj.apiSecretKey && { apiSecretKey: import_smithy_client.SENSITIVE_STRING }
1023
+ }), "TrendmicroConnectorProfileCredentialsFilterSensitiveLog");
1024
+ var VeevaConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1025
+ ...obj,
1026
+ ...obj.password && { password: import_smithy_client.SENSITIVE_STRING }
1027
+ }), "VeevaConnectorProfileCredentialsFilterSensitiveLog");
1028
+ var ZendeskConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1029
+ ...obj,
1030
+ ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING },
1031
+ ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
1032
+ }), "ZendeskConnectorProfileCredentialsFilterSensitiveLog");
1033
+ var ConnectorProfileCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1034
+ ...obj,
1035
+ ...obj.Amplitude && { Amplitude: AmplitudeConnectorProfileCredentialsFilterSensitiveLog(obj.Amplitude) },
1036
+ ...obj.Datadog && { Datadog: DatadogConnectorProfileCredentialsFilterSensitiveLog(obj.Datadog) },
1037
+ ...obj.GoogleAnalytics && {
1038
+ GoogleAnalytics: GoogleAnalyticsConnectorProfileCredentialsFilterSensitiveLog(obj.GoogleAnalytics)
1039
+ },
1040
+ ...obj.Honeycode && { Honeycode: HoneycodeConnectorProfileCredentialsFilterSensitiveLog(obj.Honeycode) },
1041
+ ...obj.InforNexus && { InforNexus: InforNexusConnectorProfileCredentialsFilterSensitiveLog(obj.InforNexus) },
1042
+ ...obj.Marketo && { Marketo: MarketoConnectorProfileCredentialsFilterSensitiveLog(obj.Marketo) },
1043
+ ...obj.Redshift && { Redshift: RedshiftConnectorProfileCredentialsFilterSensitiveLog(obj.Redshift) },
1044
+ ...obj.Salesforce && { Salesforce: SalesforceConnectorProfileCredentialsFilterSensitiveLog(obj.Salesforce) },
1045
+ ...obj.ServiceNow && { ServiceNow: ServiceNowConnectorProfileCredentialsFilterSensitiveLog(obj.ServiceNow) },
1046
+ ...obj.Singular && { Singular: SingularConnectorProfileCredentialsFilterSensitiveLog(obj.Singular) },
1047
+ ...obj.Slack && { Slack: SlackConnectorProfileCredentialsFilterSensitiveLog(obj.Slack) },
1048
+ ...obj.Snowflake && { Snowflake: SnowflakeConnectorProfileCredentialsFilterSensitiveLog(obj.Snowflake) },
1049
+ ...obj.Trendmicro && { Trendmicro: TrendmicroConnectorProfileCredentialsFilterSensitiveLog(obj.Trendmicro) },
1050
+ ...obj.Veeva && { Veeva: VeevaConnectorProfileCredentialsFilterSensitiveLog(obj.Veeva) },
1051
+ ...obj.Zendesk && { Zendesk: ZendeskConnectorProfileCredentialsFilterSensitiveLog(obj.Zendesk) },
1052
+ ...obj.SAPOData && { SAPOData: SAPODataConnectorProfileCredentialsFilterSensitiveLog(obj.SAPOData) },
1053
+ ...obj.CustomConnector && {
1054
+ CustomConnector: CustomConnectorProfileCredentialsFilterSensitiveLog(obj.CustomConnector)
1055
+ },
1056
+ ...obj.Pardot && { Pardot: PardotConnectorProfileCredentialsFilterSensitiveLog(obj.Pardot) }
1057
+ }), "ConnectorProfileCredentialsFilterSensitiveLog");
1058
+ var ConnectorProfileConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1059
+ ...obj,
1060
+ ...obj.connectorProfileCredentials && {
1061
+ connectorProfileCredentials: ConnectorProfileCredentialsFilterSensitiveLog(obj.connectorProfileCredentials)
1062
+ }
1063
+ }), "ConnectorProfileConfigFilterSensitiveLog");
1064
+ var CreateConnectorProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1065
+ ...obj
1066
+ }), "CreateConnectorProfileRequestFilterSensitiveLog");
1067
+ var UpdateConnectorProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1068
+ ...obj
1069
+ }), "UpdateConnectorProfileRequestFilterSensitiveLog");
1070
+
1071
+ // src/protocols/Aws_restJson1.ts
1072
+ var se_CancelFlowExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1073
+ const b = (0, import_core.requestBuilder)(input, context);
1074
+ const headers = {
1075
+ "content-type": "application/json"
1076
+ };
1077
+ b.bp("/cancel-flow-executions");
1078
+ let body;
1079
+ body = JSON.stringify(
1080
+ (0, import_smithy_client.take)(input, {
1081
+ executionIds: (_) => (0, import_smithy_client._json)(_),
1082
+ flowName: []
1083
+ })
1084
+ );
1085
+ b.m("POST").h(headers).b(body);
1086
+ return b.build();
1087
+ }, "se_CancelFlowExecutionsCommand");
1088
+ var se_CreateConnectorProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
1089
+ const b = (0, import_core.requestBuilder)(input, context);
1090
+ const headers = {
1091
+ "content-type": "application/json"
1092
+ };
1093
+ b.bp("/create-connector-profile");
1094
+ let body;
1095
+ body = JSON.stringify(
1096
+ (0, import_smithy_client.take)(input, {
1097
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1098
+ connectionMode: [],
1099
+ connectorLabel: [],
1100
+ connectorProfileConfig: (_) => (0, import_smithy_client._json)(_),
1101
+ connectorProfileName: [],
1102
+ connectorType: [],
1103
+ kmsArn: []
1104
+ })
1105
+ );
1106
+ b.m("POST").h(headers).b(body);
1107
+ return b.build();
1108
+ }, "se_CreateConnectorProfileCommand");
1109
+ var se_CreateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1110
+ const b = (0, import_core.requestBuilder)(input, context);
1111
+ const headers = {
1112
+ "content-type": "application/json"
1113
+ };
1114
+ b.bp("/create-flow");
1115
+ let body;
1116
+ body = JSON.stringify(
1117
+ (0, import_smithy_client.take)(input, {
1118
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1119
+ description: [],
1120
+ destinationFlowConfigList: (_) => (0, import_smithy_client._json)(_),
1121
+ flowName: [],
1122
+ kmsArn: [],
1123
+ metadataCatalogConfig: (_) => (0, import_smithy_client._json)(_),
1124
+ sourceFlowConfig: (_) => (0, import_smithy_client._json)(_),
1125
+ tags: (_) => (0, import_smithy_client._json)(_),
1126
+ tasks: (_) => (0, import_smithy_client._json)(_),
1127
+ triggerConfig: (_) => se_TriggerConfig(_, context)
1128
+ })
1129
+ );
1130
+ b.m("POST").h(headers).b(body);
1131
+ return b.build();
1132
+ }, "se_CreateFlowCommand");
1133
+ var se_DeleteConnectorProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
1134
+ const b = (0, import_core.requestBuilder)(input, context);
1135
+ const headers = {
1136
+ "content-type": "application/json"
1137
+ };
1138
+ b.bp("/delete-connector-profile");
1139
+ let body;
1140
+ body = JSON.stringify(
1141
+ (0, import_smithy_client.take)(input, {
1142
+ connectorProfileName: [],
1143
+ forceDelete: []
1144
+ })
1145
+ );
1146
+ b.m("POST").h(headers).b(body);
1147
+ return b.build();
1148
+ }, "se_DeleteConnectorProfileCommand");
1149
+ var se_DeleteFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1150
+ const b = (0, import_core.requestBuilder)(input, context);
1151
+ const headers = {
1152
+ "content-type": "application/json"
1153
+ };
1154
+ b.bp("/delete-flow");
1155
+ let body;
1156
+ body = JSON.stringify(
1157
+ (0, import_smithy_client.take)(input, {
1158
+ flowName: [],
1159
+ forceDelete: []
1160
+ })
1161
+ );
1162
+ b.m("POST").h(headers).b(body);
1163
+ return b.build();
1164
+ }, "se_DeleteFlowCommand");
1165
+ var se_DescribeConnectorCommand = /* @__PURE__ */ __name(async (input, context) => {
1166
+ const b = (0, import_core.requestBuilder)(input, context);
1167
+ const headers = {
1168
+ "content-type": "application/json"
1169
+ };
1170
+ b.bp("/describe-connector");
1171
+ let body;
1172
+ body = JSON.stringify(
1173
+ (0, import_smithy_client.take)(input, {
1174
+ connectorLabel: [],
1175
+ connectorType: []
1176
+ })
1177
+ );
1178
+ b.m("POST").h(headers).b(body);
1179
+ return b.build();
1180
+ }, "se_DescribeConnectorCommand");
1181
+ var se_DescribeConnectorEntityCommand = /* @__PURE__ */ __name(async (input, context) => {
1182
+ const b = (0, import_core.requestBuilder)(input, context);
1183
+ const headers = {
1184
+ "content-type": "application/json"
1185
+ };
1186
+ b.bp("/describe-connector-entity");
1187
+ let body;
1188
+ body = JSON.stringify(
1189
+ (0, import_smithy_client.take)(input, {
1190
+ apiVersion: [],
1191
+ connectorEntityName: [],
1192
+ connectorProfileName: [],
1193
+ connectorType: []
1194
+ })
1195
+ );
1196
+ b.m("POST").h(headers).b(body);
1197
+ return b.build();
1198
+ }, "se_DescribeConnectorEntityCommand");
1199
+ var se_DescribeConnectorProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
1200
+ const b = (0, import_core.requestBuilder)(input, context);
1201
+ const headers = {
1202
+ "content-type": "application/json"
1203
+ };
1204
+ b.bp("/describe-connector-profiles");
1205
+ let body;
1206
+ body = JSON.stringify(
1207
+ (0, import_smithy_client.take)(input, {
1208
+ connectorLabel: [],
1209
+ connectorProfileNames: (_) => (0, import_smithy_client._json)(_),
1210
+ connectorType: [],
1211
+ maxResults: [],
1212
+ nextToken: []
1213
+ })
1214
+ );
1215
+ b.m("POST").h(headers).b(body);
1216
+ return b.build();
1217
+ }, "se_DescribeConnectorProfilesCommand");
1218
+ var se_DescribeConnectorsCommand = /* @__PURE__ */ __name(async (input, context) => {
1219
+ const b = (0, import_core.requestBuilder)(input, context);
1220
+ const headers = {
1221
+ "content-type": "application/json"
1222
+ };
1223
+ b.bp("/describe-connectors");
1224
+ let body;
1225
+ body = JSON.stringify(
1226
+ (0, import_smithy_client.take)(input, {
1227
+ connectorTypes: (_) => (0, import_smithy_client._json)(_),
1228
+ maxResults: [],
1229
+ nextToken: []
1230
+ })
1231
+ );
1232
+ b.m("POST").h(headers).b(body);
1233
+ return b.build();
1234
+ }, "se_DescribeConnectorsCommand");
1235
+ var se_DescribeFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1236
+ const b = (0, import_core.requestBuilder)(input, context);
1237
+ const headers = {
1238
+ "content-type": "application/json"
1239
+ };
1240
+ b.bp("/describe-flow");
1241
+ let body;
1242
+ body = JSON.stringify(
1243
+ (0, import_smithy_client.take)(input, {
1244
+ flowName: []
1245
+ })
1246
+ );
1247
+ b.m("POST").h(headers).b(body);
1248
+ return b.build();
1249
+ }, "se_DescribeFlowCommand");
1250
+ var se_DescribeFlowExecutionRecordsCommand = /* @__PURE__ */ __name(async (input, context) => {
1251
+ const b = (0, import_core.requestBuilder)(input, context);
1252
+ const headers = {
1253
+ "content-type": "application/json"
1254
+ };
1255
+ b.bp("/describe-flow-execution-records");
1256
+ let body;
1257
+ body = JSON.stringify(
1258
+ (0, import_smithy_client.take)(input, {
1259
+ flowName: [],
1260
+ maxResults: [],
1261
+ nextToken: []
1262
+ })
1263
+ );
1264
+ b.m("POST").h(headers).b(body);
1265
+ return b.build();
1266
+ }, "se_DescribeFlowExecutionRecordsCommand");
1267
+ var se_ListConnectorEntitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
1268
+ const b = (0, import_core.requestBuilder)(input, context);
1269
+ const headers = {
1270
+ "content-type": "application/json"
1271
+ };
1272
+ b.bp("/list-connector-entities");
1273
+ let body;
1274
+ body = JSON.stringify(
1275
+ (0, import_smithy_client.take)(input, {
1276
+ apiVersion: [],
1277
+ connectorProfileName: [],
1278
+ connectorType: [],
1279
+ entitiesPath: [],
1280
+ maxResults: [],
1281
+ nextToken: []
1282
+ })
1283
+ );
1284
+ b.m("POST").h(headers).b(body);
1285
+ return b.build();
1286
+ }, "se_ListConnectorEntitiesCommand");
1287
+ var se_ListConnectorsCommand = /* @__PURE__ */ __name(async (input, context) => {
1288
+ const b = (0, import_core.requestBuilder)(input, context);
1289
+ const headers = {
1290
+ "content-type": "application/json"
1291
+ };
1292
+ b.bp("/list-connectors");
1293
+ let body;
1294
+ body = JSON.stringify(
1295
+ (0, import_smithy_client.take)(input, {
1296
+ maxResults: [],
1297
+ nextToken: []
1298
+ })
1299
+ );
1300
+ b.m("POST").h(headers).b(body);
1301
+ return b.build();
1302
+ }, "se_ListConnectorsCommand");
1303
+ var se_ListFlowsCommand = /* @__PURE__ */ __name(async (input, context) => {
1304
+ const b = (0, import_core.requestBuilder)(input, context);
1305
+ const headers = {
1306
+ "content-type": "application/json"
1307
+ };
1308
+ b.bp("/list-flows");
1309
+ let body;
1310
+ body = JSON.stringify(
1311
+ (0, import_smithy_client.take)(input, {
1312
+ maxResults: [],
1313
+ nextToken: []
1314
+ })
1315
+ );
1316
+ b.m("POST").h(headers).b(body);
1317
+ return b.build();
1318
+ }, "se_ListFlowsCommand");
1319
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1320
+ const b = (0, import_core.requestBuilder)(input, context);
1321
+ const headers = {};
1322
+ b.bp("/tags/{resourceArn}");
1323
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1324
+ let body;
1325
+ b.m("GET").h(headers).b(body);
1326
+ return b.build();
1327
+ }, "se_ListTagsForResourceCommand");
1328
+ var se_RegisterConnectorCommand = /* @__PURE__ */ __name(async (input, context) => {
1329
+ const b = (0, import_core.requestBuilder)(input, context);
1330
+ const headers = {
1331
+ "content-type": "application/json"
1332
+ };
1333
+ b.bp("/register-connector");
1334
+ let body;
1335
+ body = JSON.stringify(
1336
+ (0, import_smithy_client.take)(input, {
1337
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1338
+ connectorLabel: [],
1339
+ connectorProvisioningConfig: (_) => (0, import_smithy_client._json)(_),
1340
+ connectorProvisioningType: [],
1341
+ description: []
1342
+ })
1343
+ );
1344
+ b.m("POST").h(headers).b(body);
1345
+ return b.build();
1346
+ }, "se_RegisterConnectorCommand");
1347
+ var se_ResetConnectorMetadataCacheCommand = /* @__PURE__ */ __name(async (input, context) => {
1348
+ const b = (0, import_core.requestBuilder)(input, context);
1349
+ const headers = {
1350
+ "content-type": "application/json"
1351
+ };
1352
+ b.bp("/reset-connector-metadata-cache");
1353
+ let body;
1354
+ body = JSON.stringify(
1355
+ (0, import_smithy_client.take)(input, {
1356
+ apiVersion: [],
1357
+ connectorEntityName: [],
1358
+ connectorProfileName: [],
1359
+ connectorType: [],
1360
+ entitiesPath: []
1361
+ })
1362
+ );
1363
+ b.m("POST").h(headers).b(body);
1364
+ return b.build();
1365
+ }, "se_ResetConnectorMetadataCacheCommand");
1366
+ var se_StartFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1367
+ const b = (0, import_core.requestBuilder)(input, context);
1368
+ const headers = {
1369
+ "content-type": "application/json"
1370
+ };
1371
+ b.bp("/start-flow");
1372
+ let body;
1373
+ body = JSON.stringify(
1374
+ (0, import_smithy_client.take)(input, {
1375
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1376
+ flowName: []
1377
+ })
1378
+ );
1379
+ b.m("POST").h(headers).b(body);
1380
+ return b.build();
1381
+ }, "se_StartFlowCommand");
1382
+ var se_StopFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1383
+ const b = (0, import_core.requestBuilder)(input, context);
1384
+ const headers = {
1385
+ "content-type": "application/json"
1386
+ };
1387
+ b.bp("/stop-flow");
1388
+ let body;
1389
+ body = JSON.stringify(
1390
+ (0, import_smithy_client.take)(input, {
1391
+ flowName: []
1392
+ })
1393
+ );
1394
+ b.m("POST").h(headers).b(body);
1395
+ return b.build();
1396
+ }, "se_StopFlowCommand");
1397
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1398
+ const b = (0, import_core.requestBuilder)(input, context);
1399
+ const headers = {
1400
+ "content-type": "application/json"
1401
+ };
1402
+ b.bp("/tags/{resourceArn}");
1403
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1404
+ let body;
1405
+ body = JSON.stringify(
1406
+ (0, import_smithy_client.take)(input, {
1407
+ tags: (_) => (0, import_smithy_client._json)(_)
1408
+ })
1409
+ );
1410
+ b.m("POST").h(headers).b(body);
1411
+ return b.build();
1412
+ }, "se_TagResourceCommand");
1413
+ var se_UnregisterConnectorCommand = /* @__PURE__ */ __name(async (input, context) => {
1414
+ const b = (0, import_core.requestBuilder)(input, context);
1415
+ const headers = {
1416
+ "content-type": "application/json"
1417
+ };
1418
+ b.bp("/unregister-connector");
1419
+ let body;
1420
+ body = JSON.stringify(
1421
+ (0, import_smithy_client.take)(input, {
1422
+ connectorLabel: [],
1423
+ forceDelete: []
1424
+ })
1425
+ );
1426
+ b.m("POST").h(headers).b(body);
1427
+ return b.build();
1428
+ }, "se_UnregisterConnectorCommand");
1429
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1430
+ const b = (0, import_core.requestBuilder)(input, context);
1431
+ const headers = {};
1432
+ b.bp("/tags/{resourceArn}");
1433
+ b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1434
+ const query = (0, import_smithy_client.map)({
1435
+ [_tK]: [
1436
+ (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
1437
+ () => (input[_tK] || []).map((_entry) => _entry)
1438
+ ]
1439
+ });
1440
+ let body;
1441
+ b.m("DELETE").h(headers).q(query).b(body);
1442
+ return b.build();
1443
+ }, "se_UntagResourceCommand");
1444
+ var se_UpdateConnectorProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
1445
+ const b = (0, import_core.requestBuilder)(input, context);
1446
+ const headers = {
1447
+ "content-type": "application/json"
1448
+ };
1449
+ b.bp("/update-connector-profile");
1450
+ let body;
1451
+ body = JSON.stringify(
1452
+ (0, import_smithy_client.take)(input, {
1453
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1454
+ connectionMode: [],
1455
+ connectorProfileConfig: (_) => (0, import_smithy_client._json)(_),
1456
+ connectorProfileName: []
1457
+ })
1458
+ );
1459
+ b.m("POST").h(headers).b(body);
1460
+ return b.build();
1461
+ }, "se_UpdateConnectorProfileCommand");
1462
+ var se_UpdateConnectorRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
1463
+ const b = (0, import_core.requestBuilder)(input, context);
1464
+ const headers = {
1465
+ "content-type": "application/json"
1466
+ };
1467
+ b.bp("/update-connector-registration");
1468
+ let body;
1469
+ body = JSON.stringify(
1470
+ (0, import_smithy_client.take)(input, {
1471
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1472
+ connectorLabel: [],
1473
+ connectorProvisioningConfig: (_) => (0, import_smithy_client._json)(_),
1474
+ description: []
1475
+ })
1476
+ );
1477
+ b.m("POST").h(headers).b(body);
1478
+ return b.build();
1479
+ }, "se_UpdateConnectorRegistrationCommand");
1480
+ var se_UpdateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1481
+ const b = (0, import_core.requestBuilder)(input, context);
1482
+ const headers = {
1483
+ "content-type": "application/json"
1484
+ };
1485
+ b.bp("/update-flow");
1486
+ let body;
1487
+ body = JSON.stringify(
1488
+ (0, import_smithy_client.take)(input, {
1489
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1490
+ description: [],
1491
+ destinationFlowConfigList: (_) => (0, import_smithy_client._json)(_),
1492
+ flowName: [],
1493
+ metadataCatalogConfig: (_) => (0, import_smithy_client._json)(_),
1494
+ sourceFlowConfig: (_) => (0, import_smithy_client._json)(_),
1495
+ tasks: (_) => (0, import_smithy_client._json)(_),
1496
+ triggerConfig: (_) => se_TriggerConfig(_, context)
1497
+ })
1498
+ );
1499
+ b.m("POST").h(headers).b(body);
1500
+ return b.build();
1501
+ }, "se_UpdateFlowCommand");
1502
+ var de_CancelFlowExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1503
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1504
+ return de_CancelFlowExecutionsCommandError(output, context);
1505
+ }
1506
+ const contents = (0, import_smithy_client.map)({
1507
+ $metadata: deserializeMetadata(output)
1508
+ });
1509
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1510
+ const doc = (0, import_smithy_client.take)(data, {
1511
+ invalidExecutions: import_smithy_client._json
1512
+ });
1513
+ Object.assign(contents, doc);
1514
+ return contents;
1515
+ }, "de_CancelFlowExecutionsCommand");
1516
+ var de_CancelFlowExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1517
+ const parsedOutput = {
1518
+ ...output,
1519
+ body: await parseErrorBody(output.body, context)
1520
+ };
1521
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1522
+ switch (errorCode) {
1523
+ case "AccessDeniedException":
1524
+ case "com.amazonaws.appflow#AccessDeniedException":
1525
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1526
+ case "InternalServerException":
1527
+ case "com.amazonaws.appflow#InternalServerException":
1528
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1529
+ case "ResourceNotFoundException":
1530
+ case "com.amazonaws.appflow#ResourceNotFoundException":
1531
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1532
+ case "ThrottlingException":
1533
+ case "com.amazonaws.appflow#ThrottlingException":
1534
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1535
+ case "ValidationException":
1536
+ case "com.amazonaws.appflow#ValidationException":
1537
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1538
+ default:
1539
+ const parsedBody = parsedOutput.body;
1540
+ return throwDefaultError({
1541
+ output,
1542
+ parsedBody,
1543
+ errorCode
1544
+ });
1545
+ }
1546
+ }, "de_CancelFlowExecutionsCommandError");
1547
+ var de_CreateConnectorProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
1548
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1549
+ return de_CreateConnectorProfileCommandError(output, context);
1550
+ }
1551
+ const contents = (0, import_smithy_client.map)({
1552
+ $metadata: deserializeMetadata(output)
1553
+ });
1554
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1555
+ const doc = (0, import_smithy_client.take)(data, {
1556
+ connectorProfileArn: import_smithy_client.expectString
1557
+ });
1558
+ Object.assign(contents, doc);
1559
+ return contents;
1560
+ }, "de_CreateConnectorProfileCommand");
1561
+ var de_CreateConnectorProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
1562
+ const parsedOutput = {
1563
+ ...output,
1564
+ body: await parseErrorBody(output.body, context)
1565
+ };
1566
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1567
+ switch (errorCode) {
1568
+ case "ConflictException":
1569
+ case "com.amazonaws.appflow#ConflictException":
1570
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1571
+ case "ConnectorAuthenticationException":
1572
+ case "com.amazonaws.appflow#ConnectorAuthenticationException":
1573
+ throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
1574
+ case "InternalServerException":
1575
+ case "com.amazonaws.appflow#InternalServerException":
1576
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1577
+ case "ServiceQuotaExceededException":
1578
+ case "com.amazonaws.appflow#ServiceQuotaExceededException":
1579
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1580
+ case "ValidationException":
1581
+ case "com.amazonaws.appflow#ValidationException":
1582
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1583
+ default:
1584
+ const parsedBody = parsedOutput.body;
1585
+ return throwDefaultError({
1586
+ output,
1587
+ parsedBody,
1588
+ errorCode
1589
+ });
1590
+ }
1591
+ }, "de_CreateConnectorProfileCommandError");
1592
+ var de_CreateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
1593
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1594
+ return de_CreateFlowCommandError(output, context);
1595
+ }
1596
+ const contents = (0, import_smithy_client.map)({
1597
+ $metadata: deserializeMetadata(output)
1598
+ });
1599
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1600
+ const doc = (0, import_smithy_client.take)(data, {
1601
+ flowArn: import_smithy_client.expectString,
1602
+ flowStatus: import_smithy_client.expectString
1603
+ });
1604
+ Object.assign(contents, doc);
1605
+ return contents;
1606
+ }, "de_CreateFlowCommand");
1607
+ var de_CreateFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
1608
+ const parsedOutput = {
1609
+ ...output,
1610
+ body: await parseErrorBody(output.body, context)
1611
+ };
1612
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1613
+ switch (errorCode) {
1614
+ case "AccessDeniedException":
1615
+ case "com.amazonaws.appflow#AccessDeniedException":
1616
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1617
+ case "ConflictException":
1618
+ case "com.amazonaws.appflow#ConflictException":
1619
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1620
+ case "ConnectorAuthenticationException":
1621
+ case "com.amazonaws.appflow#ConnectorAuthenticationException":
1622
+ throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
1623
+ case "ConnectorServerException":
1624
+ case "com.amazonaws.appflow#ConnectorServerException":
1625
+ throw await de_ConnectorServerExceptionRes(parsedOutput, context);
1626
+ case "InternalServerException":
1627
+ case "com.amazonaws.appflow#InternalServerException":
1628
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1629
+ case "ResourceNotFoundException":
1630
+ case "com.amazonaws.appflow#ResourceNotFoundException":
1631
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1632
+ case "ServiceQuotaExceededException":
1633
+ case "com.amazonaws.appflow#ServiceQuotaExceededException":
1634
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1635
+ case "ValidationException":
1636
+ case "com.amazonaws.appflow#ValidationException":
1637
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1638
+ default:
1639
+ const parsedBody = parsedOutput.body;
1640
+ return throwDefaultError({
1641
+ output,
1642
+ parsedBody,
1643
+ errorCode
1644
+ });
1645
+ }
1646
+ }, "de_CreateFlowCommandError");
1647
+ var de_DeleteConnectorProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
1648
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1649
+ return de_DeleteConnectorProfileCommandError(output, context);
1650
+ }
1651
+ const contents = (0, import_smithy_client.map)({
1652
+ $metadata: deserializeMetadata(output)
1653
+ });
1654
+ await (0, import_smithy_client.collectBody)(output.body, context);
1655
+ return contents;
1656
+ }, "de_DeleteConnectorProfileCommand");
1657
+ var de_DeleteConnectorProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
1658
+ const parsedOutput = {
1659
+ ...output,
1660
+ body: await parseErrorBody(output.body, context)
1661
+ };
1662
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1663
+ switch (errorCode) {
1664
+ case "ConflictException":
1665
+ case "com.amazonaws.appflow#ConflictException":
1666
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1667
+ case "InternalServerException":
1668
+ case "com.amazonaws.appflow#InternalServerException":
1669
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1670
+ case "ResourceNotFoundException":
1671
+ case "com.amazonaws.appflow#ResourceNotFoundException":
1672
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1673
+ default:
1674
+ const parsedBody = parsedOutput.body;
1675
+ return throwDefaultError({
1676
+ output,
1677
+ parsedBody,
1678
+ errorCode
1679
+ });
1680
+ }
1681
+ }, "de_DeleteConnectorProfileCommandError");
1682
+ var de_DeleteFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
1683
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1684
+ return de_DeleteFlowCommandError(output, context);
1685
+ }
1686
+ const contents = (0, import_smithy_client.map)({
1687
+ $metadata: deserializeMetadata(output)
1688
+ });
1689
+ await (0, import_smithy_client.collectBody)(output.body, context);
1690
+ return contents;
1691
+ }, "de_DeleteFlowCommand");
1692
+ var de_DeleteFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
1693
+ const parsedOutput = {
1694
+ ...output,
1695
+ body: await parseErrorBody(output.body, context)
1696
+ };
1697
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1698
+ switch (errorCode) {
1699
+ case "ConflictException":
1700
+ case "com.amazonaws.appflow#ConflictException":
1701
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1702
+ case "InternalServerException":
1703
+ case "com.amazonaws.appflow#InternalServerException":
1704
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1705
+ case "ResourceNotFoundException":
1706
+ case "com.amazonaws.appflow#ResourceNotFoundException":
1707
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1708
+ default:
1709
+ const parsedBody = parsedOutput.body;
1710
+ return throwDefaultError({
1711
+ output,
1712
+ parsedBody,
1713
+ errorCode
1714
+ });
1715
+ }
1716
+ }, "de_DeleteFlowCommandError");
1717
+ var de_DescribeConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
1718
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1719
+ return de_DescribeConnectorCommandError(output, context);
1720
+ }
1721
+ const contents = (0, import_smithy_client.map)({
1722
+ $metadata: deserializeMetadata(output)
1723
+ });
1724
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1725
+ const doc = (0, import_smithy_client.take)(data, {
1726
+ connectorConfiguration: (_) => de_ConnectorConfiguration(_, context)
1727
+ });
1728
+ Object.assign(contents, doc);
1729
+ return contents;
1730
+ }, "de_DescribeConnectorCommand");
1731
+ var de_DescribeConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
1732
+ const parsedOutput = {
1733
+ ...output,
1734
+ body: await parseErrorBody(output.body, context)
1735
+ };
1736
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1737
+ switch (errorCode) {
1738
+ case "InternalServerException":
1739
+ case "com.amazonaws.appflow#InternalServerException":
1740
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1741
+ case "ResourceNotFoundException":
1742
+ case "com.amazonaws.appflow#ResourceNotFoundException":
1743
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1744
+ case "ValidationException":
1745
+ case "com.amazonaws.appflow#ValidationException":
1746
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1747
+ default:
1748
+ const parsedBody = parsedOutput.body;
1749
+ return throwDefaultError({
1750
+ output,
1751
+ parsedBody,
1752
+ errorCode
1753
+ });
1754
+ }
1755
+ }, "de_DescribeConnectorCommandError");
1756
+ var de_DescribeConnectorEntityCommand = /* @__PURE__ */ __name(async (output, context) => {
1757
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1758
+ return de_DescribeConnectorEntityCommandError(output, context);
1759
+ }
1760
+ const contents = (0, import_smithy_client.map)({
1761
+ $metadata: deserializeMetadata(output)
1762
+ });
1763
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1764
+ const doc = (0, import_smithy_client.take)(data, {
1765
+ connectorEntityFields: (_) => de_ConnectorEntityFieldList(_, context)
1766
+ });
1767
+ Object.assign(contents, doc);
1768
+ return contents;
1769
+ }, "de_DescribeConnectorEntityCommand");
1770
+ var de_DescribeConnectorEntityCommandError = /* @__PURE__ */ __name(async (output, context) => {
1771
+ const parsedOutput = {
1772
+ ...output,
1773
+ body: await parseErrorBody(output.body, context)
1774
+ };
1775
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1776
+ switch (errorCode) {
1777
+ case "ConnectorAuthenticationException":
1778
+ case "com.amazonaws.appflow#ConnectorAuthenticationException":
1779
+ throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
1780
+ case "ConnectorServerException":
1781
+ case "com.amazonaws.appflow#ConnectorServerException":
1782
+ throw await de_ConnectorServerExceptionRes(parsedOutput, context);
1783
+ case "InternalServerException":
1784
+ case "com.amazonaws.appflow#InternalServerException":
1785
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1786
+ case "ResourceNotFoundException":
1787
+ case "com.amazonaws.appflow#ResourceNotFoundException":
1788
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1789
+ case "ValidationException":
1790
+ case "com.amazonaws.appflow#ValidationException":
1791
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1792
+ default:
1793
+ const parsedBody = parsedOutput.body;
1794
+ return throwDefaultError({
1795
+ output,
1796
+ parsedBody,
1797
+ errorCode
1798
+ });
1799
+ }
1800
+ }, "de_DescribeConnectorEntityCommandError");
1801
+ var de_DescribeConnectorProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
1802
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1803
+ return de_DescribeConnectorProfilesCommandError(output, context);
1804
+ }
1805
+ const contents = (0, import_smithy_client.map)({
1806
+ $metadata: deserializeMetadata(output)
1807
+ });
1808
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1809
+ const doc = (0, import_smithy_client.take)(data, {
1810
+ connectorProfileDetails: (_) => de_ConnectorProfileDetailList(_, context),
1811
+ nextToken: import_smithy_client.expectString
1812
+ });
1813
+ Object.assign(contents, doc);
1814
+ return contents;
1815
+ }, "de_DescribeConnectorProfilesCommand");
1816
+ var de_DescribeConnectorProfilesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1817
+ const parsedOutput = {
1818
+ ...output,
1819
+ body: await parseErrorBody(output.body, context)
1820
+ };
1821
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1822
+ switch (errorCode) {
1823
+ case "InternalServerException":
1824
+ case "com.amazonaws.appflow#InternalServerException":
1825
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1826
+ case "ValidationException":
1827
+ case "com.amazonaws.appflow#ValidationException":
1828
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1829
+ default:
1830
+ const parsedBody = parsedOutput.body;
1831
+ return throwDefaultError({
1832
+ output,
1833
+ parsedBody,
1834
+ errorCode
1835
+ });
1836
+ }
1837
+ }, "de_DescribeConnectorProfilesCommandError");
1838
+ var de_DescribeConnectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
1839
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1840
+ return de_DescribeConnectorsCommandError(output, context);
1841
+ }
1842
+ const contents = (0, import_smithy_client.map)({
1843
+ $metadata: deserializeMetadata(output)
1844
+ });
1845
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1846
+ const doc = (0, import_smithy_client.take)(data, {
1847
+ connectorConfigurations: (_) => de_ConnectorConfigurationsMap(_, context),
1848
+ connectors: (_) => de_ConnectorList(_, context),
1849
+ nextToken: import_smithy_client.expectString
1850
+ });
1851
+ Object.assign(contents, doc);
1852
+ return contents;
1853
+ }, "de_DescribeConnectorsCommand");
1854
+ var de_DescribeConnectorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1855
+ const parsedOutput = {
1856
+ ...output,
1857
+ body: await parseErrorBody(output.body, context)
1858
+ };
1859
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1860
+ switch (errorCode) {
1861
+ case "InternalServerException":
1862
+ case "com.amazonaws.appflow#InternalServerException":
1863
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1864
+ case "ValidationException":
1865
+ case "com.amazonaws.appflow#ValidationException":
1866
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1867
+ default:
1868
+ const parsedBody = parsedOutput.body;
1869
+ return throwDefaultError({
1870
+ output,
1871
+ parsedBody,
1872
+ errorCode
1873
+ });
1874
+ }
1875
+ }, "de_DescribeConnectorsCommandError");
1876
+ var de_DescribeFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
1877
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1878
+ return de_DescribeFlowCommandError(output, context);
1879
+ }
1880
+ const contents = (0, import_smithy_client.map)({
1881
+ $metadata: deserializeMetadata(output)
1882
+ });
1883
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1884
+ const doc = (0, import_smithy_client.take)(data, {
1885
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1886
+ createdBy: import_smithy_client.expectString,
1887
+ description: import_smithy_client.expectString,
1888
+ destinationFlowConfigList: import_smithy_client._json,
1889
+ flowArn: import_smithy_client.expectString,
1890
+ flowName: import_smithy_client.expectString,
1891
+ flowStatus: import_smithy_client.expectString,
1892
+ flowStatusMessage: import_smithy_client.expectString,
1893
+ kmsArn: import_smithy_client.expectString,
1894
+ lastRunExecutionDetails: (_) => de_ExecutionDetails(_, context),
1895
+ lastRunMetadataCatalogDetails: import_smithy_client._json,
1896
+ lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1897
+ lastUpdatedBy: import_smithy_client.expectString,
1898
+ metadataCatalogConfig: import_smithy_client._json,
1899
+ schemaVersion: import_smithy_client.expectLong,
1900
+ sourceFlowConfig: import_smithy_client._json,
1901
+ tags: import_smithy_client._json,
1902
+ tasks: import_smithy_client._json,
1903
+ triggerConfig: (_) => de_TriggerConfig(_, context)
1904
+ });
1905
+ Object.assign(contents, doc);
1906
+ return contents;
1907
+ }, "de_DescribeFlowCommand");
1908
+ var de_DescribeFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
1909
+ const parsedOutput = {
1910
+ ...output,
1911
+ body: await parseErrorBody(output.body, context)
1912
+ };
1913
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1914
+ switch (errorCode) {
1915
+ case "InternalServerException":
1916
+ case "com.amazonaws.appflow#InternalServerException":
1917
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1918
+ case "ResourceNotFoundException":
1919
+ case "com.amazonaws.appflow#ResourceNotFoundException":
1920
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1921
+ default:
1922
+ const parsedBody = parsedOutput.body;
1923
+ return throwDefaultError({
1924
+ output,
1925
+ parsedBody,
1926
+ errorCode
1927
+ });
1928
+ }
1929
+ }, "de_DescribeFlowCommandError");
1930
+ var de_DescribeFlowExecutionRecordsCommand = /* @__PURE__ */ __name(async (output, context) => {
1931
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1932
+ return de_DescribeFlowExecutionRecordsCommandError(output, context);
1933
+ }
1934
+ const contents = (0, import_smithy_client.map)({
1935
+ $metadata: deserializeMetadata(output)
1936
+ });
1937
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1938
+ const doc = (0, import_smithy_client.take)(data, {
1939
+ flowExecutions: (_) => de_FlowExecutionList(_, context),
1940
+ nextToken: import_smithy_client.expectString
1941
+ });
1942
+ Object.assign(contents, doc);
1943
+ return contents;
1944
+ }, "de_DescribeFlowExecutionRecordsCommand");
1945
+ var de_DescribeFlowExecutionRecordsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1946
+ const parsedOutput = {
1947
+ ...output,
1948
+ body: await parseErrorBody(output.body, context)
1949
+ };
1950
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1951
+ switch (errorCode) {
1952
+ case "InternalServerException":
1953
+ case "com.amazonaws.appflow#InternalServerException":
1954
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1955
+ case "ResourceNotFoundException":
1956
+ case "com.amazonaws.appflow#ResourceNotFoundException":
1957
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1958
+ case "ValidationException":
1959
+ case "com.amazonaws.appflow#ValidationException":
1960
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1961
+ default:
1962
+ const parsedBody = parsedOutput.body;
1963
+ return throwDefaultError({
1964
+ output,
1965
+ parsedBody,
1966
+ errorCode
1967
+ });
1968
+ }
1969
+ }, "de_DescribeFlowExecutionRecordsCommandError");
1970
+ var de_ListConnectorEntitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
1971
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1972
+ return de_ListConnectorEntitiesCommandError(output, context);
1973
+ }
1974
+ const contents = (0, import_smithy_client.map)({
1975
+ $metadata: deserializeMetadata(output)
1976
+ });
1977
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1978
+ const doc = (0, import_smithy_client.take)(data, {
1979
+ connectorEntityMap: import_smithy_client._json,
1980
+ nextToken: import_smithy_client.expectString
1981
+ });
1982
+ Object.assign(contents, doc);
1983
+ return contents;
1984
+ }, "de_ListConnectorEntitiesCommand");
1985
+ var de_ListConnectorEntitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1986
+ const parsedOutput = {
1987
+ ...output,
1988
+ body: await parseErrorBody(output.body, context)
1989
+ };
1990
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1991
+ switch (errorCode) {
1992
+ case "ConnectorAuthenticationException":
1993
+ case "com.amazonaws.appflow#ConnectorAuthenticationException":
1994
+ throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
1995
+ case "ConnectorServerException":
1996
+ case "com.amazonaws.appflow#ConnectorServerException":
1997
+ throw await de_ConnectorServerExceptionRes(parsedOutput, context);
1998
+ case "InternalServerException":
1999
+ case "com.amazonaws.appflow#InternalServerException":
2000
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2001
+ case "ResourceNotFoundException":
2002
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2003
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2004
+ case "ValidationException":
2005
+ case "com.amazonaws.appflow#ValidationException":
2006
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2007
+ default:
2008
+ const parsedBody = parsedOutput.body;
2009
+ return throwDefaultError({
2010
+ output,
2011
+ parsedBody,
2012
+ errorCode
2013
+ });
2014
+ }
2015
+ }, "de_ListConnectorEntitiesCommandError");
2016
+ var de_ListConnectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
2017
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2018
+ return de_ListConnectorsCommandError(output, context);
2019
+ }
2020
+ const contents = (0, import_smithy_client.map)({
2021
+ $metadata: deserializeMetadata(output)
2022
+ });
2023
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2024
+ const doc = (0, import_smithy_client.take)(data, {
2025
+ connectors: (_) => de_ConnectorList(_, context),
2026
+ nextToken: import_smithy_client.expectString
2027
+ });
2028
+ Object.assign(contents, doc);
2029
+ return contents;
2030
+ }, "de_ListConnectorsCommand");
2031
+ var de_ListConnectorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2032
+ const parsedOutput = {
2033
+ ...output,
2034
+ body: await parseErrorBody(output.body, context)
2035
+ };
2036
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2037
+ switch (errorCode) {
2038
+ case "InternalServerException":
2039
+ case "com.amazonaws.appflow#InternalServerException":
2040
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2041
+ case "ValidationException":
2042
+ case "com.amazonaws.appflow#ValidationException":
2043
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2044
+ default:
2045
+ const parsedBody = parsedOutput.body;
2046
+ return throwDefaultError({
2047
+ output,
2048
+ parsedBody,
2049
+ errorCode
2050
+ });
2051
+ }
2052
+ }, "de_ListConnectorsCommandError");
2053
+ var de_ListFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {
2054
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2055
+ return de_ListFlowsCommandError(output, context);
2056
+ }
2057
+ const contents = (0, import_smithy_client.map)({
2058
+ $metadata: deserializeMetadata(output)
2059
+ });
2060
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2061
+ const doc = (0, import_smithy_client.take)(data, {
2062
+ flows: (_) => de_FlowList(_, context),
2063
+ nextToken: import_smithy_client.expectString
2064
+ });
2065
+ Object.assign(contents, doc);
2066
+ return contents;
2067
+ }, "de_ListFlowsCommand");
2068
+ var de_ListFlowsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2069
+ const parsedOutput = {
2070
+ ...output,
2071
+ body: await parseErrorBody(output.body, context)
2072
+ };
2073
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2074
+ switch (errorCode) {
2075
+ case "InternalServerException":
2076
+ case "com.amazonaws.appflow#InternalServerException":
2077
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2078
+ case "ValidationException":
2079
+ case "com.amazonaws.appflow#ValidationException":
2080
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2081
+ default:
2082
+ const parsedBody = parsedOutput.body;
2083
+ return throwDefaultError({
2084
+ output,
2085
+ parsedBody,
2086
+ errorCode
2087
+ });
2088
+ }
2089
+ }, "de_ListFlowsCommandError");
2090
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2091
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2092
+ return de_ListTagsForResourceCommandError(output, context);
2093
+ }
2094
+ const contents = (0, import_smithy_client.map)({
2095
+ $metadata: deserializeMetadata(output)
2096
+ });
2097
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2098
+ const doc = (0, import_smithy_client.take)(data, {
2099
+ tags: import_smithy_client._json
2100
+ });
2101
+ Object.assign(contents, doc);
2102
+ return contents;
2103
+ }, "de_ListTagsForResourceCommand");
2104
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2105
+ const parsedOutput = {
2106
+ ...output,
2107
+ body: await parseErrorBody(output.body, context)
2108
+ };
2109
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2110
+ switch (errorCode) {
2111
+ case "InternalServerException":
2112
+ case "com.amazonaws.appflow#InternalServerException":
2113
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2114
+ case "ResourceNotFoundException":
2115
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2116
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2117
+ case "ValidationException":
2118
+ case "com.amazonaws.appflow#ValidationException":
2119
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2120
+ default:
2121
+ const parsedBody = parsedOutput.body;
2122
+ return throwDefaultError({
2123
+ output,
2124
+ parsedBody,
2125
+ errorCode
2126
+ });
2127
+ }
2128
+ }, "de_ListTagsForResourceCommandError");
2129
+ var de_RegisterConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
2130
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2131
+ return de_RegisterConnectorCommandError(output, context);
2132
+ }
2133
+ const contents = (0, import_smithy_client.map)({
2134
+ $metadata: deserializeMetadata(output)
2135
+ });
2136
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2137
+ const doc = (0, import_smithy_client.take)(data, {
2138
+ connectorArn: import_smithy_client.expectString
2139
+ });
2140
+ Object.assign(contents, doc);
2141
+ return contents;
2142
+ }, "de_RegisterConnectorCommand");
2143
+ var de_RegisterConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
2144
+ const parsedOutput = {
2145
+ ...output,
2146
+ body: await parseErrorBody(output.body, context)
2147
+ };
2148
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2149
+ switch (errorCode) {
2150
+ case "AccessDeniedException":
2151
+ case "com.amazonaws.appflow#AccessDeniedException":
2152
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2153
+ case "ConflictException":
2154
+ case "com.amazonaws.appflow#ConflictException":
2155
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2156
+ case "ConnectorAuthenticationException":
2157
+ case "com.amazonaws.appflow#ConnectorAuthenticationException":
2158
+ throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
2159
+ case "ConnectorServerException":
2160
+ case "com.amazonaws.appflow#ConnectorServerException":
2161
+ throw await de_ConnectorServerExceptionRes(parsedOutput, context);
2162
+ case "InternalServerException":
2163
+ case "com.amazonaws.appflow#InternalServerException":
2164
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2165
+ case "ResourceNotFoundException":
2166
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2167
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2168
+ case "ServiceQuotaExceededException":
2169
+ case "com.amazonaws.appflow#ServiceQuotaExceededException":
2170
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2171
+ case "ThrottlingException":
2172
+ case "com.amazonaws.appflow#ThrottlingException":
2173
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2174
+ case "ValidationException":
2175
+ case "com.amazonaws.appflow#ValidationException":
2176
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2177
+ default:
2178
+ const parsedBody = parsedOutput.body;
2179
+ return throwDefaultError({
2180
+ output,
2181
+ parsedBody,
2182
+ errorCode
2183
+ });
2184
+ }
2185
+ }, "de_RegisterConnectorCommandError");
2186
+ var de_ResetConnectorMetadataCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
2187
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2188
+ return de_ResetConnectorMetadataCacheCommandError(output, context);
2189
+ }
2190
+ const contents = (0, import_smithy_client.map)({
2191
+ $metadata: deserializeMetadata(output)
2192
+ });
2193
+ await (0, import_smithy_client.collectBody)(output.body, context);
2194
+ return contents;
2195
+ }, "de_ResetConnectorMetadataCacheCommand");
2196
+ var de_ResetConnectorMetadataCacheCommandError = /* @__PURE__ */ __name(async (output, context) => {
2197
+ const parsedOutput = {
2198
+ ...output,
2199
+ body: await parseErrorBody(output.body, context)
2200
+ };
2201
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2202
+ switch (errorCode) {
2203
+ case "ConflictException":
2204
+ case "com.amazonaws.appflow#ConflictException":
2205
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2206
+ case "InternalServerException":
2207
+ case "com.amazonaws.appflow#InternalServerException":
2208
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2209
+ case "ResourceNotFoundException":
2210
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2211
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2212
+ case "ValidationException":
2213
+ case "com.amazonaws.appflow#ValidationException":
2214
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2215
+ default:
2216
+ const parsedBody = parsedOutput.body;
2217
+ return throwDefaultError({
2218
+ output,
2219
+ parsedBody,
2220
+ errorCode
2221
+ });
2222
+ }
2223
+ }, "de_ResetConnectorMetadataCacheCommandError");
2224
+ var de_StartFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2225
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2226
+ return de_StartFlowCommandError(output, context);
2227
+ }
2228
+ const contents = (0, import_smithy_client.map)({
2229
+ $metadata: deserializeMetadata(output)
2230
+ });
2231
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2232
+ const doc = (0, import_smithy_client.take)(data, {
2233
+ executionId: import_smithy_client.expectString,
2234
+ flowArn: import_smithy_client.expectString,
2235
+ flowStatus: import_smithy_client.expectString
2236
+ });
2237
+ Object.assign(contents, doc);
2238
+ return contents;
2239
+ }, "de_StartFlowCommand");
2240
+ var de_StartFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
2241
+ const parsedOutput = {
2242
+ ...output,
2243
+ body: await parseErrorBody(output.body, context)
2244
+ };
2245
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2246
+ switch (errorCode) {
2247
+ case "ConflictException":
2248
+ case "com.amazonaws.appflow#ConflictException":
2249
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2250
+ case "InternalServerException":
2251
+ case "com.amazonaws.appflow#InternalServerException":
2252
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2253
+ case "ResourceNotFoundException":
2254
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2255
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2256
+ case "ServiceQuotaExceededException":
2257
+ case "com.amazonaws.appflow#ServiceQuotaExceededException":
2258
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2259
+ default:
2260
+ const parsedBody = parsedOutput.body;
2261
+ return throwDefaultError({
2262
+ output,
2263
+ parsedBody,
2264
+ errorCode
2265
+ });
2266
+ }
2267
+ }, "de_StartFlowCommandError");
2268
+ var de_StopFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2269
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2270
+ return de_StopFlowCommandError(output, context);
2271
+ }
2272
+ const contents = (0, import_smithy_client.map)({
2273
+ $metadata: deserializeMetadata(output)
2274
+ });
2275
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2276
+ const doc = (0, import_smithy_client.take)(data, {
2277
+ flowArn: import_smithy_client.expectString,
2278
+ flowStatus: import_smithy_client.expectString
2279
+ });
2280
+ Object.assign(contents, doc);
2281
+ return contents;
2282
+ }, "de_StopFlowCommand");
2283
+ var de_StopFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
2284
+ const parsedOutput = {
2285
+ ...output,
2286
+ body: await parseErrorBody(output.body, context)
2287
+ };
2288
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2289
+ switch (errorCode) {
2290
+ case "ConflictException":
2291
+ case "com.amazonaws.appflow#ConflictException":
2292
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2293
+ case "InternalServerException":
2294
+ case "com.amazonaws.appflow#InternalServerException":
2295
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2296
+ case "ResourceNotFoundException":
2297
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2298
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2299
+ case "UnsupportedOperationException":
2300
+ case "com.amazonaws.appflow#UnsupportedOperationException":
2301
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
2302
+ default:
2303
+ const parsedBody = parsedOutput.body;
2304
+ return throwDefaultError({
2305
+ output,
2306
+ parsedBody,
2307
+ errorCode
2308
+ });
2309
+ }
2310
+ }, "de_StopFlowCommandError");
2311
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2312
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2313
+ return de_TagResourceCommandError(output, context);
2314
+ }
2315
+ const contents = (0, import_smithy_client.map)({
2316
+ $metadata: deserializeMetadata(output)
2317
+ });
2318
+ await (0, import_smithy_client.collectBody)(output.body, context);
2319
+ return contents;
2320
+ }, "de_TagResourceCommand");
2321
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2322
+ const parsedOutput = {
2323
+ ...output,
2324
+ body: await parseErrorBody(output.body, context)
2325
+ };
2326
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2327
+ switch (errorCode) {
2328
+ case "InternalServerException":
2329
+ case "com.amazonaws.appflow#InternalServerException":
2330
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2331
+ case "ResourceNotFoundException":
2332
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2333
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2334
+ case "ValidationException":
2335
+ case "com.amazonaws.appflow#ValidationException":
2336
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2337
+ default:
2338
+ const parsedBody = parsedOutput.body;
2339
+ return throwDefaultError({
2340
+ output,
2341
+ parsedBody,
2342
+ errorCode
2343
+ });
2344
+ }
2345
+ }, "de_TagResourceCommandError");
2346
+ var de_UnregisterConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
2347
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2348
+ return de_UnregisterConnectorCommandError(output, context);
2349
+ }
2350
+ const contents = (0, import_smithy_client.map)({
2351
+ $metadata: deserializeMetadata(output)
2352
+ });
2353
+ await (0, import_smithy_client.collectBody)(output.body, context);
2354
+ return contents;
2355
+ }, "de_UnregisterConnectorCommand");
2356
+ var de_UnregisterConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
2357
+ const parsedOutput = {
2358
+ ...output,
2359
+ body: await parseErrorBody(output.body, context)
2360
+ };
2361
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2362
+ switch (errorCode) {
2363
+ case "ConflictException":
2364
+ case "com.amazonaws.appflow#ConflictException":
2365
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2366
+ case "InternalServerException":
2367
+ case "com.amazonaws.appflow#InternalServerException":
2368
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2369
+ case "ResourceNotFoundException":
2370
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2371
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2372
+ default:
2373
+ const parsedBody = parsedOutput.body;
2374
+ return throwDefaultError({
2375
+ output,
2376
+ parsedBody,
2377
+ errorCode
2378
+ });
2379
+ }
2380
+ }, "de_UnregisterConnectorCommandError");
2381
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2382
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2383
+ return de_UntagResourceCommandError(output, context);
2384
+ }
2385
+ const contents = (0, import_smithy_client.map)({
2386
+ $metadata: deserializeMetadata(output)
2387
+ });
2388
+ await (0, import_smithy_client.collectBody)(output.body, context);
2389
+ return contents;
2390
+ }, "de_UntagResourceCommand");
2391
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2392
+ const parsedOutput = {
2393
+ ...output,
2394
+ body: await parseErrorBody(output.body, context)
2395
+ };
2396
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2397
+ switch (errorCode) {
2398
+ case "InternalServerException":
2399
+ case "com.amazonaws.appflow#InternalServerException":
2400
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2401
+ case "ResourceNotFoundException":
2402
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2403
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2404
+ case "ValidationException":
2405
+ case "com.amazonaws.appflow#ValidationException":
2406
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2407
+ default:
2408
+ const parsedBody = parsedOutput.body;
2409
+ return throwDefaultError({
2410
+ output,
2411
+ parsedBody,
2412
+ errorCode
2413
+ });
2414
+ }
2415
+ }, "de_UntagResourceCommandError");
2416
+ var de_UpdateConnectorProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
2417
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2418
+ return de_UpdateConnectorProfileCommandError(output, context);
2419
+ }
2420
+ const contents = (0, import_smithy_client.map)({
2421
+ $metadata: deserializeMetadata(output)
2422
+ });
2423
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2424
+ const doc = (0, import_smithy_client.take)(data, {
2425
+ connectorProfileArn: import_smithy_client.expectString
2426
+ });
2427
+ Object.assign(contents, doc);
2428
+ return contents;
2429
+ }, "de_UpdateConnectorProfileCommand");
2430
+ var de_UpdateConnectorProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
2431
+ const parsedOutput = {
2432
+ ...output,
2433
+ body: await parseErrorBody(output.body, context)
2434
+ };
2435
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2436
+ switch (errorCode) {
2437
+ case "ConflictException":
2438
+ case "com.amazonaws.appflow#ConflictException":
2439
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2440
+ case "ConnectorAuthenticationException":
2441
+ case "com.amazonaws.appflow#ConnectorAuthenticationException":
2442
+ throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
2443
+ case "InternalServerException":
2444
+ case "com.amazonaws.appflow#InternalServerException":
2445
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2446
+ case "ResourceNotFoundException":
2447
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2448
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2449
+ case "ValidationException":
2450
+ case "com.amazonaws.appflow#ValidationException":
2451
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2452
+ default:
2453
+ const parsedBody = parsedOutput.body;
2454
+ return throwDefaultError({
2455
+ output,
2456
+ parsedBody,
2457
+ errorCode
2458
+ });
2459
+ }
2460
+ }, "de_UpdateConnectorProfileCommandError");
2461
+ var de_UpdateConnectorRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
2462
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2463
+ return de_UpdateConnectorRegistrationCommandError(output, context);
2464
+ }
2465
+ const contents = (0, import_smithy_client.map)({
2466
+ $metadata: deserializeMetadata(output)
2467
+ });
2468
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2469
+ const doc = (0, import_smithy_client.take)(data, {
2470
+ connectorArn: import_smithy_client.expectString
2471
+ });
2472
+ Object.assign(contents, doc);
2473
+ return contents;
2474
+ }, "de_UpdateConnectorRegistrationCommand");
2475
+ var de_UpdateConnectorRegistrationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2476
+ const parsedOutput = {
2477
+ ...output,
2478
+ body: await parseErrorBody(output.body, context)
2479
+ };
2480
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2481
+ switch (errorCode) {
2482
+ case "AccessDeniedException":
2483
+ case "com.amazonaws.appflow#AccessDeniedException":
2484
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2485
+ case "ConflictException":
2486
+ case "com.amazonaws.appflow#ConflictException":
2487
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2488
+ case "ConnectorAuthenticationException":
2489
+ case "com.amazonaws.appflow#ConnectorAuthenticationException":
2490
+ throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
2491
+ case "ConnectorServerException":
2492
+ case "com.amazonaws.appflow#ConnectorServerException":
2493
+ throw await de_ConnectorServerExceptionRes(parsedOutput, context);
2494
+ case "InternalServerException":
2495
+ case "com.amazonaws.appflow#InternalServerException":
2496
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2497
+ case "ResourceNotFoundException":
2498
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2499
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2500
+ case "ServiceQuotaExceededException":
2501
+ case "com.amazonaws.appflow#ServiceQuotaExceededException":
2502
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2503
+ case "ThrottlingException":
2504
+ case "com.amazonaws.appflow#ThrottlingException":
2505
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2506
+ case "ValidationException":
2507
+ case "com.amazonaws.appflow#ValidationException":
2508
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2509
+ default:
2510
+ const parsedBody = parsedOutput.body;
2511
+ return throwDefaultError({
2512
+ output,
2513
+ parsedBody,
2514
+ errorCode
2515
+ });
2516
+ }
2517
+ }, "de_UpdateConnectorRegistrationCommandError");
2518
+ var de_UpdateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2519
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2520
+ return de_UpdateFlowCommandError(output, context);
2521
+ }
2522
+ const contents = (0, import_smithy_client.map)({
2523
+ $metadata: deserializeMetadata(output)
2524
+ });
2525
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
2526
+ const doc = (0, import_smithy_client.take)(data, {
2527
+ flowStatus: import_smithy_client.expectString
2528
+ });
2529
+ Object.assign(contents, doc);
2530
+ return contents;
2531
+ }, "de_UpdateFlowCommand");
2532
+ var de_UpdateFlowCommandError = /* @__PURE__ */ __name(async (output, context) => {
2533
+ const parsedOutput = {
2534
+ ...output,
2535
+ body: await parseErrorBody(output.body, context)
2536
+ };
2537
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2538
+ switch (errorCode) {
2539
+ case "AccessDeniedException":
2540
+ case "com.amazonaws.appflow#AccessDeniedException":
2541
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2542
+ case "ConflictException":
2543
+ case "com.amazonaws.appflow#ConflictException":
2544
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2545
+ case "ConnectorAuthenticationException":
2546
+ case "com.amazonaws.appflow#ConnectorAuthenticationException":
2547
+ throw await de_ConnectorAuthenticationExceptionRes(parsedOutput, context);
2548
+ case "ConnectorServerException":
2549
+ case "com.amazonaws.appflow#ConnectorServerException":
2550
+ throw await de_ConnectorServerExceptionRes(parsedOutput, context);
2551
+ case "InternalServerException":
2552
+ case "com.amazonaws.appflow#InternalServerException":
2553
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2554
+ case "ResourceNotFoundException":
2555
+ case "com.amazonaws.appflow#ResourceNotFoundException":
2556
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2557
+ case "ServiceQuotaExceededException":
2558
+ case "com.amazonaws.appflow#ServiceQuotaExceededException":
2559
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2560
+ case "ValidationException":
2561
+ case "com.amazonaws.appflow#ValidationException":
2562
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2563
+ default:
2564
+ const parsedBody = parsedOutput.body;
2565
+ return throwDefaultError({
2566
+ output,
2567
+ parsedBody,
2568
+ errorCode
2569
+ });
2570
+ }
2571
+ }, "de_UpdateFlowCommandError");
2572
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(AppflowServiceException);
2573
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2574
+ const contents = (0, import_smithy_client.map)({});
2575
+ const data = parsedOutput.body;
2576
+ const doc = (0, import_smithy_client.take)(data, {
2577
+ message: import_smithy_client.expectString
2578
+ });
2579
+ Object.assign(contents, doc);
2580
+ const exception = new AccessDeniedException({
2581
+ $metadata: deserializeMetadata(parsedOutput),
2582
+ ...contents
2583
+ });
2584
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2585
+ }, "de_AccessDeniedExceptionRes");
2586
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2587
+ const contents = (0, import_smithy_client.map)({});
2588
+ const data = parsedOutput.body;
2589
+ const doc = (0, import_smithy_client.take)(data, {
2590
+ message: import_smithy_client.expectString
2591
+ });
2592
+ Object.assign(contents, doc);
2593
+ const exception = new ConflictException({
2594
+ $metadata: deserializeMetadata(parsedOutput),
2595
+ ...contents
2596
+ });
2597
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2598
+ }, "de_ConflictExceptionRes");
2599
+ var de_ConnectorAuthenticationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2600
+ const contents = (0, import_smithy_client.map)({});
2601
+ const data = parsedOutput.body;
2602
+ const doc = (0, import_smithy_client.take)(data, {
2603
+ message: import_smithy_client.expectString
2604
+ });
2605
+ Object.assign(contents, doc);
2606
+ const exception = new ConnectorAuthenticationException({
2607
+ $metadata: deserializeMetadata(parsedOutput),
2608
+ ...contents
2609
+ });
2610
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2611
+ }, "de_ConnectorAuthenticationExceptionRes");
2612
+ var de_ConnectorServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2613
+ const contents = (0, import_smithy_client.map)({});
2614
+ const data = parsedOutput.body;
2615
+ const doc = (0, import_smithy_client.take)(data, {
2616
+ message: import_smithy_client.expectString
2617
+ });
2618
+ Object.assign(contents, doc);
2619
+ const exception = new ConnectorServerException({
2620
+ $metadata: deserializeMetadata(parsedOutput),
2621
+ ...contents
2622
+ });
2623
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2624
+ }, "de_ConnectorServerExceptionRes");
2625
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2626
+ const contents = (0, import_smithy_client.map)({});
2627
+ const data = parsedOutput.body;
2628
+ const doc = (0, import_smithy_client.take)(data, {
2629
+ message: import_smithy_client.expectString
2630
+ });
2631
+ Object.assign(contents, doc);
2632
+ const exception = new InternalServerException({
2633
+ $metadata: deserializeMetadata(parsedOutput),
2634
+ ...contents
2635
+ });
2636
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2637
+ }, "de_InternalServerExceptionRes");
2638
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2639
+ const contents = (0, import_smithy_client.map)({});
2640
+ const data = parsedOutput.body;
2641
+ const doc = (0, import_smithy_client.take)(data, {
2642
+ message: import_smithy_client.expectString
2643
+ });
2644
+ Object.assign(contents, doc);
2645
+ const exception = new ResourceNotFoundException({
2646
+ $metadata: deserializeMetadata(parsedOutput),
2647
+ ...contents
2648
+ });
2649
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2650
+ }, "de_ResourceNotFoundExceptionRes");
2651
+ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2652
+ const contents = (0, import_smithy_client.map)({});
2653
+ const data = parsedOutput.body;
2654
+ const doc = (0, import_smithy_client.take)(data, {
2655
+ message: import_smithy_client.expectString
2656
+ });
2657
+ Object.assign(contents, doc);
2658
+ const exception = new ServiceQuotaExceededException({
2659
+ $metadata: deserializeMetadata(parsedOutput),
2660
+ ...contents
2661
+ });
2662
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2663
+ }, "de_ServiceQuotaExceededExceptionRes");
2664
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2665
+ const contents = (0, import_smithy_client.map)({});
2666
+ const data = parsedOutput.body;
2667
+ const doc = (0, import_smithy_client.take)(data, {
2668
+ message: import_smithy_client.expectString
2669
+ });
2670
+ Object.assign(contents, doc);
2671
+ const exception = new ThrottlingException({
2672
+ $metadata: deserializeMetadata(parsedOutput),
2673
+ ...contents
2674
+ });
2675
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2676
+ }, "de_ThrottlingExceptionRes");
2677
+ var de_UnsupportedOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2678
+ const contents = (0, import_smithy_client.map)({});
2679
+ const data = parsedOutput.body;
2680
+ const doc = (0, import_smithy_client.take)(data, {
2681
+ message: import_smithy_client.expectString
2682
+ });
2683
+ Object.assign(contents, doc);
2684
+ const exception = new UnsupportedOperationException({
2685
+ $metadata: deserializeMetadata(parsedOutput),
2686
+ ...contents
2687
+ });
2688
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2689
+ }, "de_UnsupportedOperationExceptionRes");
2690
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2691
+ const contents = (0, import_smithy_client.map)({});
2692
+ const data = parsedOutput.body;
2693
+ const doc = (0, import_smithy_client.take)(data, {
2694
+ message: import_smithy_client.expectString
2695
+ });
2696
+ Object.assign(contents, doc);
2697
+ const exception = new ValidationException({
2698
+ $metadata: deserializeMetadata(parsedOutput),
2699
+ ...contents
2700
+ });
2701
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2702
+ }, "de_ValidationExceptionRes");
2703
+ var se_ScheduledTriggerProperties = /* @__PURE__ */ __name((input, context) => {
2704
+ return (0, import_smithy_client.take)(input, {
2705
+ dataPullMode: [],
2706
+ firstExecutionFrom: (_) => Math.round(_.getTime() / 1e3),
2707
+ flowErrorDeactivationThreshold: [],
2708
+ scheduleEndTime: (_) => Math.round(_.getTime() / 1e3),
2709
+ scheduleExpression: [],
2710
+ scheduleOffset: [],
2711
+ scheduleStartTime: (_) => Math.round(_.getTime() / 1e3),
2712
+ timezone: []
2713
+ });
2714
+ }, "se_ScheduledTriggerProperties");
2715
+ var se_TriggerConfig = /* @__PURE__ */ __name((input, context) => {
2716
+ return (0, import_smithy_client.take)(input, {
2717
+ triggerProperties: (_) => se_TriggerProperties(_, context),
2718
+ triggerType: []
2719
+ });
2720
+ }, "se_TriggerConfig");
2721
+ var se_TriggerProperties = /* @__PURE__ */ __name((input, context) => {
2722
+ return (0, import_smithy_client.take)(input, {
2723
+ Scheduled: (_) => se_ScheduledTriggerProperties(_, context)
2724
+ });
2725
+ }, "se_TriggerProperties");
2726
+ var de_ConnectorConfiguration = /* @__PURE__ */ __name((output, context) => {
2727
+ return (0, import_smithy_client.take)(output, {
2728
+ authenticationConfig: import_smithy_client._json,
2729
+ canUseAsDestination: import_smithy_client.expectBoolean,
2730
+ canUseAsSource: import_smithy_client.expectBoolean,
2731
+ connectorArn: import_smithy_client.expectString,
2732
+ connectorDescription: import_smithy_client.expectString,
2733
+ connectorLabel: import_smithy_client.expectString,
2734
+ connectorMetadata: import_smithy_client._json,
2735
+ connectorModes: import_smithy_client._json,
2736
+ connectorName: import_smithy_client.expectString,
2737
+ connectorOwner: import_smithy_client.expectString,
2738
+ connectorProvisioningConfig: import_smithy_client._json,
2739
+ connectorProvisioningType: import_smithy_client.expectString,
2740
+ connectorRuntimeSettings: import_smithy_client._json,
2741
+ connectorType: import_smithy_client.expectString,
2742
+ connectorVersion: import_smithy_client.expectString,
2743
+ isPrivateLinkEnabled: import_smithy_client.expectBoolean,
2744
+ isPrivateLinkEndpointUrlRequired: import_smithy_client.expectBoolean,
2745
+ logoURL: import_smithy_client.expectString,
2746
+ registeredAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2747
+ registeredBy: import_smithy_client.expectString,
2748
+ supportedApiVersions: import_smithy_client._json,
2749
+ supportedDataTransferApis: import_smithy_client._json,
2750
+ supportedDataTransferTypes: import_smithy_client._json,
2751
+ supportedDestinationConnectors: import_smithy_client._json,
2752
+ supportedOperators: import_smithy_client._json,
2753
+ supportedSchedulingFrequencies: import_smithy_client._json,
2754
+ supportedTriggerTypes: import_smithy_client._json,
2755
+ supportedWriteOperations: import_smithy_client._json
2756
+ });
2757
+ }, "de_ConnectorConfiguration");
2758
+ var de_ConnectorConfigurationsMap = /* @__PURE__ */ __name((output, context) => {
2759
+ return Object.entries(output).reduce(
2760
+ (acc, [key, value]) => {
2761
+ if (value === null) {
2762
+ return acc;
2763
+ }
2764
+ acc[key] = de_ConnectorConfiguration(value, context);
2765
+ return acc;
2766
+ },
2767
+ {}
2768
+ );
2769
+ }, "de_ConnectorConfigurationsMap");
2770
+ var de_ConnectorDetail = /* @__PURE__ */ __name((output, context) => {
2771
+ return (0, import_smithy_client.take)(output, {
2772
+ applicationType: import_smithy_client.expectString,
2773
+ connectorDescription: import_smithy_client.expectString,
2774
+ connectorLabel: import_smithy_client.expectString,
2775
+ connectorModes: import_smithy_client._json,
2776
+ connectorName: import_smithy_client.expectString,
2777
+ connectorOwner: import_smithy_client.expectString,
2778
+ connectorProvisioningType: import_smithy_client.expectString,
2779
+ connectorType: import_smithy_client.expectString,
2780
+ connectorVersion: import_smithy_client.expectString,
2781
+ registeredAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2782
+ registeredBy: import_smithy_client.expectString,
2783
+ supportedDataTransferTypes: import_smithy_client._json
2784
+ });
2785
+ }, "de_ConnectorDetail");
2786
+ var de_ConnectorEntityField = /* @__PURE__ */ __name((output, context) => {
2787
+ return (0, import_smithy_client.take)(output, {
2788
+ customProperties: import_smithy_client._json,
2789
+ defaultValue: import_smithy_client.expectString,
2790
+ description: import_smithy_client.expectString,
2791
+ destinationProperties: import_smithy_client._json,
2792
+ identifier: import_smithy_client.expectString,
2793
+ isDeprecated: import_smithy_client.expectBoolean,
2794
+ isPrimaryKey: import_smithy_client.expectBoolean,
2795
+ label: import_smithy_client.expectString,
2796
+ parentIdentifier: import_smithy_client.expectString,
2797
+ sourceProperties: import_smithy_client._json,
2798
+ supportedFieldTypeDetails: (_) => de_SupportedFieldTypeDetails(_, context)
2799
+ });
2800
+ }, "de_ConnectorEntityField");
2801
+ var de_ConnectorEntityFieldList = /* @__PURE__ */ __name((output, context) => {
2802
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2803
+ return de_ConnectorEntityField(entry, context);
2804
+ });
2805
+ return retVal;
2806
+ }, "de_ConnectorEntityFieldList");
2807
+ var de_ConnectorList = /* @__PURE__ */ __name((output, context) => {
2808
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2809
+ return de_ConnectorDetail(entry, context);
2810
+ });
2811
+ return retVal;
2812
+ }, "de_ConnectorList");
2813
+ var de_ConnectorProfile = /* @__PURE__ */ __name((output, context) => {
2814
+ return (0, import_smithy_client.take)(output, {
2815
+ connectionMode: import_smithy_client.expectString,
2816
+ connectorLabel: import_smithy_client.expectString,
2817
+ connectorProfileArn: import_smithy_client.expectString,
2818
+ connectorProfileName: import_smithy_client.expectString,
2819
+ connectorProfileProperties: import_smithy_client._json,
2820
+ connectorType: import_smithy_client.expectString,
2821
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2822
+ credentialsArn: import_smithy_client.expectString,
2823
+ lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2824
+ privateConnectionProvisioningState: import_smithy_client._json
2825
+ });
2826
+ }, "de_ConnectorProfile");
2827
+ var de_ConnectorProfileDetailList = /* @__PURE__ */ __name((output, context) => {
2828
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2829
+ return de_ConnectorProfile(entry, context);
2830
+ });
2831
+ return retVal;
2832
+ }, "de_ConnectorProfileDetailList");
2833
+ var de_ExecutionDetails = /* @__PURE__ */ __name((output, context) => {
2834
+ return (0, import_smithy_client.take)(output, {
2835
+ mostRecentExecutionMessage: import_smithy_client.expectString,
2836
+ mostRecentExecutionStatus: import_smithy_client.expectString,
2837
+ mostRecentExecutionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2838
+ });
2839
+ }, "de_ExecutionDetails");
2840
+ var de_ExecutionRecord = /* @__PURE__ */ __name((output, context) => {
2841
+ return (0, import_smithy_client.take)(output, {
2842
+ dataPullEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2843
+ dataPullStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2844
+ executionId: import_smithy_client.expectString,
2845
+ executionResult: import_smithy_client._json,
2846
+ executionStatus: import_smithy_client.expectString,
2847
+ lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2848
+ metadataCatalogDetails: import_smithy_client._json,
2849
+ startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2850
+ });
2851
+ }, "de_ExecutionRecord");
2852
+ var de_FieldTypeDetails = /* @__PURE__ */ __name((output, context) => {
2853
+ return (0, import_smithy_client.take)(output, {
2854
+ fieldLengthRange: (_) => de_Range(_, context),
2855
+ fieldType: import_smithy_client.expectString,
2856
+ fieldValueRange: (_) => de_Range(_, context),
2857
+ filterOperators: import_smithy_client._json,
2858
+ supportedDateFormat: import_smithy_client.expectString,
2859
+ supportedValues: import_smithy_client._json,
2860
+ valueRegexPattern: import_smithy_client.expectString
2861
+ });
2862
+ }, "de_FieldTypeDetails");
2863
+ var de_FlowDefinition = /* @__PURE__ */ __name((output, context) => {
2864
+ return (0, import_smithy_client.take)(output, {
2865
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2866
+ createdBy: import_smithy_client.expectString,
2867
+ description: import_smithy_client.expectString,
2868
+ destinationConnectorLabel: import_smithy_client.expectString,
2869
+ destinationConnectorType: import_smithy_client.expectString,
2870
+ flowArn: import_smithy_client.expectString,
2871
+ flowName: import_smithy_client.expectString,
2872
+ flowStatus: import_smithy_client.expectString,
2873
+ lastRunExecutionDetails: (_) => de_ExecutionDetails(_, context),
2874
+ lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2875
+ lastUpdatedBy: import_smithy_client.expectString,
2876
+ sourceConnectorLabel: import_smithy_client.expectString,
2877
+ sourceConnectorType: import_smithy_client.expectString,
2878
+ tags: import_smithy_client._json,
2879
+ triggerType: import_smithy_client.expectString
2880
+ });
2881
+ }, "de_FlowDefinition");
2882
+ var de_FlowExecutionList = /* @__PURE__ */ __name((output, context) => {
2883
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2884
+ return de_ExecutionRecord(entry, context);
2885
+ });
2886
+ return retVal;
2887
+ }, "de_FlowExecutionList");
2888
+ var de_FlowList = /* @__PURE__ */ __name((output, context) => {
2889
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2890
+ return de_FlowDefinition(entry, context);
2891
+ });
2892
+ return retVal;
2893
+ }, "de_FlowList");
2894
+ var de_Range = /* @__PURE__ */ __name((output, context) => {
2895
+ return (0, import_smithy_client.take)(output, {
2896
+ maximum: import_smithy_client.limitedParseDouble,
2897
+ minimum: import_smithy_client.limitedParseDouble
2898
+ });
2899
+ }, "de_Range");
2900
+ var de_ScheduledTriggerProperties = /* @__PURE__ */ __name((output, context) => {
2901
+ return (0, import_smithy_client.take)(output, {
2902
+ dataPullMode: import_smithy_client.expectString,
2903
+ firstExecutionFrom: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2904
+ flowErrorDeactivationThreshold: import_smithy_client.expectInt32,
2905
+ scheduleEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2906
+ scheduleExpression: import_smithy_client.expectString,
2907
+ scheduleOffset: import_smithy_client.expectLong,
2908
+ scheduleStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2909
+ timezone: import_smithy_client.expectString
2910
+ });
2911
+ }, "de_ScheduledTriggerProperties");
2912
+ var de_SupportedFieldTypeDetails = /* @__PURE__ */ __name((output, context) => {
2913
+ return (0, import_smithy_client.take)(output, {
2914
+ v1: (_) => de_FieldTypeDetails(_, context)
2915
+ });
2916
+ }, "de_SupportedFieldTypeDetails");
2917
+ var de_TriggerConfig = /* @__PURE__ */ __name((output, context) => {
2918
+ return (0, import_smithy_client.take)(output, {
2919
+ triggerProperties: (_) => de_TriggerProperties(_, context),
2920
+ triggerType: import_smithy_client.expectString
2921
+ });
2922
+ }, "de_TriggerConfig");
2923
+ var de_TriggerProperties = /* @__PURE__ */ __name((output, context) => {
2924
+ return (0, import_smithy_client.take)(output, {
2925
+ Scheduled: (_) => de_ScheduledTriggerProperties(_, context)
2926
+ });
2927
+ }, "de_TriggerProperties");
2928
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2929
+ httpStatusCode: output.statusCode,
2930
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2931
+ extendedRequestId: output.headers["x-amz-id-2"],
2932
+ cfId: output.headers["x-amz-cf-id"]
2933
+ }), "deserializeMetadata");
2934
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2935
+ var _tK = "tagKeys";
2936
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2937
+ if (encoded.length) {
2938
+ return JSON.parse(encoded);
2939
+ }
2940
+ return {};
2941
+ }), "parseBody");
2942
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2943
+ const value = await parseBody(errorBody, context);
2944
+ value.message = value.message ?? value.Message;
2945
+ return value;
2946
+ }, "parseErrorBody");
2947
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2948
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2949
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2950
+ let cleanValue = rawValue;
2951
+ if (typeof cleanValue === "number") {
2952
+ cleanValue = cleanValue.toString();
2953
+ }
2954
+ if (cleanValue.indexOf(",") >= 0) {
2955
+ cleanValue = cleanValue.split(",")[0];
2956
+ }
2957
+ if (cleanValue.indexOf(":") >= 0) {
2958
+ cleanValue = cleanValue.split(":")[0];
2959
+ }
2960
+ if (cleanValue.indexOf("#") >= 0) {
2961
+ cleanValue = cleanValue.split("#")[1];
2962
+ }
2963
+ return cleanValue;
2964
+ }, "sanitizeErrorCode");
2965
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2966
+ if (headerKey !== void 0) {
2967
+ return sanitizeErrorCode(output.headers[headerKey]);
2968
+ }
2969
+ if (data.code !== void 0) {
2970
+ return sanitizeErrorCode(data.code);
2971
+ }
2972
+ if (data["__type"] !== void 0) {
2973
+ return sanitizeErrorCode(data["__type"]);
2974
+ }
2975
+ }, "loadRestJsonErrorCode");
2976
+
2977
+ // src/commands/CancelFlowExecutionsCommand.ts
2978
+ var _CancelFlowExecutionsCommand = class _CancelFlowExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
2979
+ ...commonParams
2980
+ }).m(function(Command, cs, config, o) {
2981
+ return [
2982
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2983
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2984
+ ];
2985
+ }).s("SandstoneConfigurationServiceLambda", "CancelFlowExecutions", {}).n("AppflowClient", "CancelFlowExecutionsCommand").f(void 0, void 0).ser(se_CancelFlowExecutionsCommand).de(de_CancelFlowExecutionsCommand).build() {
2986
+ };
2987
+ __name(_CancelFlowExecutionsCommand, "CancelFlowExecutionsCommand");
2988
+ var CancelFlowExecutionsCommand = _CancelFlowExecutionsCommand;
2989
+
2990
+ // src/commands/CreateConnectorProfileCommand.ts
2991
+
2992
+
2993
+
2994
+
2995
+ var _CreateConnectorProfileCommand = class _CreateConnectorProfileCommand extends import_smithy_client.Command.classBuilder().ep({
2996
+ ...commonParams
2997
+ }).m(function(Command, cs, config, o) {
2998
+ return [
2999
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3000
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3001
+ ];
3002
+ }).s("SandstoneConfigurationServiceLambda", "CreateConnectorProfile", {}).n("AppflowClient", "CreateConnectorProfileCommand").f(CreateConnectorProfileRequestFilterSensitiveLog, void 0).ser(se_CreateConnectorProfileCommand).de(de_CreateConnectorProfileCommand).build() {
3003
+ };
3004
+ __name(_CreateConnectorProfileCommand, "CreateConnectorProfileCommand");
3005
+ var CreateConnectorProfileCommand = _CreateConnectorProfileCommand;
3006
+
3007
+ // src/commands/CreateFlowCommand.ts
3008
+
3009
+
3010
+
3011
+
3012
+ var _CreateFlowCommand = class _CreateFlowCommand extends import_smithy_client.Command.classBuilder().ep({
3013
+ ...commonParams
3014
+ }).m(function(Command, cs, config, o) {
3015
+ return [
3016
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3017
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3018
+ ];
3019
+ }).s("SandstoneConfigurationServiceLambda", "CreateFlow", {}).n("AppflowClient", "CreateFlowCommand").f(void 0, void 0).ser(se_CreateFlowCommand).de(de_CreateFlowCommand).build() {
3020
+ };
3021
+ __name(_CreateFlowCommand, "CreateFlowCommand");
3022
+ var CreateFlowCommand = _CreateFlowCommand;
3023
+
3024
+ // src/commands/DeleteConnectorProfileCommand.ts
3025
+
3026
+
3027
+
3028
+
3029
+ var _DeleteConnectorProfileCommand = class _DeleteConnectorProfileCommand extends import_smithy_client.Command.classBuilder().ep({
3030
+ ...commonParams
3031
+ }).m(function(Command, cs, config, o) {
3032
+ return [
3033
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3034
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3035
+ ];
3036
+ }).s("SandstoneConfigurationServiceLambda", "DeleteConnectorProfile", {}).n("AppflowClient", "DeleteConnectorProfileCommand").f(void 0, void 0).ser(se_DeleteConnectorProfileCommand).de(de_DeleteConnectorProfileCommand).build() {
3037
+ };
3038
+ __name(_DeleteConnectorProfileCommand, "DeleteConnectorProfileCommand");
3039
+ var DeleteConnectorProfileCommand = _DeleteConnectorProfileCommand;
3040
+
3041
+ // src/commands/DeleteFlowCommand.ts
3042
+
3043
+
3044
+
3045
+
3046
+ var _DeleteFlowCommand = class _DeleteFlowCommand extends import_smithy_client.Command.classBuilder().ep({
3047
+ ...commonParams
3048
+ }).m(function(Command, cs, config, o) {
3049
+ return [
3050
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3051
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3052
+ ];
3053
+ }).s("SandstoneConfigurationServiceLambda", "DeleteFlow", {}).n("AppflowClient", "DeleteFlowCommand").f(void 0, void 0).ser(se_DeleteFlowCommand).de(de_DeleteFlowCommand).build() {
3054
+ };
3055
+ __name(_DeleteFlowCommand, "DeleteFlowCommand");
3056
+ var DeleteFlowCommand = _DeleteFlowCommand;
3057
+
3058
+ // src/commands/DescribeConnectorCommand.ts
3059
+
3060
+
3061
+
3062
+
3063
+ var _DescribeConnectorCommand = class _DescribeConnectorCommand extends import_smithy_client.Command.classBuilder().ep({
3064
+ ...commonParams
3065
+ }).m(function(Command, cs, config, o) {
3066
+ return [
3067
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3068
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3069
+ ];
3070
+ }).s("SandstoneConfigurationServiceLambda", "DescribeConnector", {}).n("AppflowClient", "DescribeConnectorCommand").f(void 0, void 0).ser(se_DescribeConnectorCommand).de(de_DescribeConnectorCommand).build() {
3071
+ };
3072
+ __name(_DescribeConnectorCommand, "DescribeConnectorCommand");
3073
+ var DescribeConnectorCommand = _DescribeConnectorCommand;
3074
+
3075
+ // src/commands/DescribeConnectorEntityCommand.ts
3076
+
3077
+
3078
+
3079
+
3080
+ var _DescribeConnectorEntityCommand = class _DescribeConnectorEntityCommand extends import_smithy_client.Command.classBuilder().ep({
3081
+ ...commonParams
3082
+ }).m(function(Command, cs, config, o) {
3083
+ return [
3084
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3085
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3086
+ ];
3087
+ }).s("SandstoneConfigurationServiceLambda", "DescribeConnectorEntity", {}).n("AppflowClient", "DescribeConnectorEntityCommand").f(void 0, void 0).ser(se_DescribeConnectorEntityCommand).de(de_DescribeConnectorEntityCommand).build() {
3088
+ };
3089
+ __name(_DescribeConnectorEntityCommand, "DescribeConnectorEntityCommand");
3090
+ var DescribeConnectorEntityCommand = _DescribeConnectorEntityCommand;
3091
+
3092
+ // src/commands/DescribeConnectorProfilesCommand.ts
3093
+
3094
+
3095
+
3096
+
3097
+ var _DescribeConnectorProfilesCommand = class _DescribeConnectorProfilesCommand extends import_smithy_client.Command.classBuilder().ep({
3098
+ ...commonParams
3099
+ }).m(function(Command, cs, config, o) {
3100
+ return [
3101
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3102
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3103
+ ];
3104
+ }).s("SandstoneConfigurationServiceLambda", "DescribeConnectorProfiles", {}).n("AppflowClient", "DescribeConnectorProfilesCommand").f(void 0, void 0).ser(se_DescribeConnectorProfilesCommand).de(de_DescribeConnectorProfilesCommand).build() {
3105
+ };
3106
+ __name(_DescribeConnectorProfilesCommand, "DescribeConnectorProfilesCommand");
3107
+ var DescribeConnectorProfilesCommand = _DescribeConnectorProfilesCommand;
3108
+
3109
+ // src/commands/DescribeConnectorsCommand.ts
3110
+
3111
+
3112
+
3113
+
3114
+ var _DescribeConnectorsCommand = class _DescribeConnectorsCommand extends import_smithy_client.Command.classBuilder().ep({
3115
+ ...commonParams
3116
+ }).m(function(Command, cs, config, o) {
3117
+ return [
3118
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3119
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3120
+ ];
3121
+ }).s("SandstoneConfigurationServiceLambda", "DescribeConnectors", {}).n("AppflowClient", "DescribeConnectorsCommand").f(void 0, void 0).ser(se_DescribeConnectorsCommand).de(de_DescribeConnectorsCommand).build() {
3122
+ };
3123
+ __name(_DescribeConnectorsCommand, "DescribeConnectorsCommand");
3124
+ var DescribeConnectorsCommand = _DescribeConnectorsCommand;
3125
+
3126
+ // src/commands/DescribeFlowCommand.ts
3127
+
3128
+
3129
+
3130
+
3131
+ var _DescribeFlowCommand = class _DescribeFlowCommand extends import_smithy_client.Command.classBuilder().ep({
3132
+ ...commonParams
3133
+ }).m(function(Command, cs, config, o) {
3134
+ return [
3135
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3136
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3137
+ ];
3138
+ }).s("SandstoneConfigurationServiceLambda", "DescribeFlow", {}).n("AppflowClient", "DescribeFlowCommand").f(void 0, void 0).ser(se_DescribeFlowCommand).de(de_DescribeFlowCommand).build() {
3139
+ };
3140
+ __name(_DescribeFlowCommand, "DescribeFlowCommand");
3141
+ var DescribeFlowCommand = _DescribeFlowCommand;
3142
+
3143
+ // src/commands/DescribeFlowExecutionRecordsCommand.ts
3144
+
3145
+
3146
+
3147
+
3148
+ var _DescribeFlowExecutionRecordsCommand = class _DescribeFlowExecutionRecordsCommand extends import_smithy_client.Command.classBuilder().ep({
3149
+ ...commonParams
3150
+ }).m(function(Command, cs, config, o) {
3151
+ return [
3152
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3153
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3154
+ ];
3155
+ }).s("SandstoneConfigurationServiceLambda", "DescribeFlowExecutionRecords", {}).n("AppflowClient", "DescribeFlowExecutionRecordsCommand").f(void 0, void 0).ser(se_DescribeFlowExecutionRecordsCommand).de(de_DescribeFlowExecutionRecordsCommand).build() {
3156
+ };
3157
+ __name(_DescribeFlowExecutionRecordsCommand, "DescribeFlowExecutionRecordsCommand");
3158
+ var DescribeFlowExecutionRecordsCommand = _DescribeFlowExecutionRecordsCommand;
3159
+
3160
+ // src/commands/ListConnectorEntitiesCommand.ts
3161
+
3162
+
3163
+
3164
+
3165
+ var _ListConnectorEntitiesCommand = class _ListConnectorEntitiesCommand extends import_smithy_client.Command.classBuilder().ep({
3166
+ ...commonParams
3167
+ }).m(function(Command, cs, config, o) {
3168
+ return [
3169
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3170
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3171
+ ];
3172
+ }).s("SandstoneConfigurationServiceLambda", "ListConnectorEntities", {}).n("AppflowClient", "ListConnectorEntitiesCommand").f(void 0, void 0).ser(se_ListConnectorEntitiesCommand).de(de_ListConnectorEntitiesCommand).build() {
3173
+ };
3174
+ __name(_ListConnectorEntitiesCommand, "ListConnectorEntitiesCommand");
3175
+ var ListConnectorEntitiesCommand = _ListConnectorEntitiesCommand;
3176
+
3177
+ // src/commands/ListConnectorsCommand.ts
3178
+
3179
+
3180
+
3181
+
3182
+ var _ListConnectorsCommand = class _ListConnectorsCommand extends import_smithy_client.Command.classBuilder().ep({
3183
+ ...commonParams
3184
+ }).m(function(Command, cs, config, o) {
3185
+ return [
3186
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3187
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3188
+ ];
3189
+ }).s("SandstoneConfigurationServiceLambda", "ListConnectors", {}).n("AppflowClient", "ListConnectorsCommand").f(void 0, void 0).ser(se_ListConnectorsCommand).de(de_ListConnectorsCommand).build() {
3190
+ };
3191
+ __name(_ListConnectorsCommand, "ListConnectorsCommand");
3192
+ var ListConnectorsCommand = _ListConnectorsCommand;
3193
+
3194
+ // src/commands/ListFlowsCommand.ts
3195
+
3196
+
3197
+
3198
+
3199
+ var _ListFlowsCommand = class _ListFlowsCommand extends import_smithy_client.Command.classBuilder().ep({
3200
+ ...commonParams
3201
+ }).m(function(Command, cs, config, o) {
3202
+ return [
3203
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3204
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3205
+ ];
3206
+ }).s("SandstoneConfigurationServiceLambda", "ListFlows", {}).n("AppflowClient", "ListFlowsCommand").f(void 0, void 0).ser(se_ListFlowsCommand).de(de_ListFlowsCommand).build() {
3207
+ };
3208
+ __name(_ListFlowsCommand, "ListFlowsCommand");
3209
+ var ListFlowsCommand = _ListFlowsCommand;
3210
+
3211
+ // src/commands/ListTagsForResourceCommand.ts
3212
+
3213
+
3214
+
3215
+
3216
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3217
+ ...commonParams
3218
+ }).m(function(Command, cs, config, o) {
3219
+ return [
3220
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3221
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3222
+ ];
3223
+ }).s("SandstoneConfigurationServiceLambda", "ListTagsForResource", {}).n("AppflowClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
3224
+ };
3225
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
3226
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
3227
+
3228
+ // src/commands/RegisterConnectorCommand.ts
3229
+
3230
+
3231
+
3232
+
3233
+ var _RegisterConnectorCommand = class _RegisterConnectorCommand extends import_smithy_client.Command.classBuilder().ep({
3234
+ ...commonParams
3235
+ }).m(function(Command, cs, config, o) {
3236
+ return [
3237
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3238
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3239
+ ];
3240
+ }).s("SandstoneConfigurationServiceLambda", "RegisterConnector", {}).n("AppflowClient", "RegisterConnectorCommand").f(void 0, void 0).ser(se_RegisterConnectorCommand).de(de_RegisterConnectorCommand).build() {
3241
+ };
3242
+ __name(_RegisterConnectorCommand, "RegisterConnectorCommand");
3243
+ var RegisterConnectorCommand = _RegisterConnectorCommand;
3244
+
3245
+ // src/commands/ResetConnectorMetadataCacheCommand.ts
3246
+
3247
+
3248
+
3249
+
3250
+ var _ResetConnectorMetadataCacheCommand = class _ResetConnectorMetadataCacheCommand extends import_smithy_client.Command.classBuilder().ep({
3251
+ ...commonParams
3252
+ }).m(function(Command, cs, config, o) {
3253
+ return [
3254
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3255
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3256
+ ];
3257
+ }).s("SandstoneConfigurationServiceLambda", "ResetConnectorMetadataCache", {}).n("AppflowClient", "ResetConnectorMetadataCacheCommand").f(void 0, void 0).ser(se_ResetConnectorMetadataCacheCommand).de(de_ResetConnectorMetadataCacheCommand).build() {
3258
+ };
3259
+ __name(_ResetConnectorMetadataCacheCommand, "ResetConnectorMetadataCacheCommand");
3260
+ var ResetConnectorMetadataCacheCommand = _ResetConnectorMetadataCacheCommand;
3261
+
3262
+ // src/commands/StartFlowCommand.ts
3263
+
3264
+
3265
+
3266
+
3267
+ var _StartFlowCommand = class _StartFlowCommand extends import_smithy_client.Command.classBuilder().ep({
3268
+ ...commonParams
3269
+ }).m(function(Command, cs, config, o) {
3270
+ return [
3271
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3272
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3273
+ ];
3274
+ }).s("SandstoneConfigurationServiceLambda", "StartFlow", {}).n("AppflowClient", "StartFlowCommand").f(void 0, void 0).ser(se_StartFlowCommand).de(de_StartFlowCommand).build() {
3275
+ };
3276
+ __name(_StartFlowCommand, "StartFlowCommand");
3277
+ var StartFlowCommand = _StartFlowCommand;
3278
+
3279
+ // src/commands/StopFlowCommand.ts
3280
+
3281
+
3282
+
3283
+
3284
+ var _StopFlowCommand = class _StopFlowCommand extends import_smithy_client.Command.classBuilder().ep({
3285
+ ...commonParams
3286
+ }).m(function(Command, cs, config, o) {
3287
+ return [
3288
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3289
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3290
+ ];
3291
+ }).s("SandstoneConfigurationServiceLambda", "StopFlow", {}).n("AppflowClient", "StopFlowCommand").f(void 0, void 0).ser(se_StopFlowCommand).de(de_StopFlowCommand).build() {
3292
+ };
3293
+ __name(_StopFlowCommand, "StopFlowCommand");
3294
+ var StopFlowCommand = _StopFlowCommand;
3295
+
3296
+ // src/commands/TagResourceCommand.ts
3297
+
3298
+
3299
+
3300
+
3301
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3302
+ ...commonParams
3303
+ }).m(function(Command, cs, config, o) {
3304
+ return [
3305
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3306
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3307
+ ];
3308
+ }).s("SandstoneConfigurationServiceLambda", "TagResource", {}).n("AppflowClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
3309
+ };
3310
+ __name(_TagResourceCommand, "TagResourceCommand");
3311
+ var TagResourceCommand = _TagResourceCommand;
3312
+
3313
+ // src/commands/UnregisterConnectorCommand.ts
3314
+
3315
+
3316
+
3317
+
3318
+ var _UnregisterConnectorCommand = class _UnregisterConnectorCommand extends import_smithy_client.Command.classBuilder().ep({
3319
+ ...commonParams
3320
+ }).m(function(Command, cs, config, o) {
3321
+ return [
3322
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3323
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3324
+ ];
3325
+ }).s("SandstoneConfigurationServiceLambda", "UnregisterConnector", {}).n("AppflowClient", "UnregisterConnectorCommand").f(void 0, void 0).ser(se_UnregisterConnectorCommand).de(de_UnregisterConnectorCommand).build() {
3326
+ };
3327
+ __name(_UnregisterConnectorCommand, "UnregisterConnectorCommand");
3328
+ var UnregisterConnectorCommand = _UnregisterConnectorCommand;
3329
+
3330
+ // src/commands/UntagResourceCommand.ts
3331
+
3332
+
3333
+
3334
+
3335
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3336
+ ...commonParams
3337
+ }).m(function(Command, cs, config, o) {
3338
+ return [
3339
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3340
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3341
+ ];
3342
+ }).s("SandstoneConfigurationServiceLambda", "UntagResource", {}).n("AppflowClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
3343
+ };
3344
+ __name(_UntagResourceCommand, "UntagResourceCommand");
3345
+ var UntagResourceCommand = _UntagResourceCommand;
3346
+
3347
+ // src/commands/UpdateConnectorProfileCommand.ts
3348
+
3349
+
3350
+
3351
+
3352
+ var _UpdateConnectorProfileCommand = class _UpdateConnectorProfileCommand extends import_smithy_client.Command.classBuilder().ep({
3353
+ ...commonParams
3354
+ }).m(function(Command, cs, config, o) {
3355
+ return [
3356
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3357
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3358
+ ];
3359
+ }).s("SandstoneConfigurationServiceLambda", "UpdateConnectorProfile", {}).n("AppflowClient", "UpdateConnectorProfileCommand").f(UpdateConnectorProfileRequestFilterSensitiveLog, void 0).ser(se_UpdateConnectorProfileCommand).de(de_UpdateConnectorProfileCommand).build() {
3360
+ };
3361
+ __name(_UpdateConnectorProfileCommand, "UpdateConnectorProfileCommand");
3362
+ var UpdateConnectorProfileCommand = _UpdateConnectorProfileCommand;
3363
+
3364
+ // src/commands/UpdateConnectorRegistrationCommand.ts
3365
+
3366
+
3367
+
3368
+
3369
+ var _UpdateConnectorRegistrationCommand = class _UpdateConnectorRegistrationCommand extends import_smithy_client.Command.classBuilder().ep({
3370
+ ...commonParams
3371
+ }).m(function(Command, cs, config, o) {
3372
+ return [
3373
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3374
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3375
+ ];
3376
+ }).s("SandstoneConfigurationServiceLambda", "UpdateConnectorRegistration", {}).n("AppflowClient", "UpdateConnectorRegistrationCommand").f(void 0, void 0).ser(se_UpdateConnectorRegistrationCommand).de(de_UpdateConnectorRegistrationCommand).build() {
3377
+ };
3378
+ __name(_UpdateConnectorRegistrationCommand, "UpdateConnectorRegistrationCommand");
3379
+ var UpdateConnectorRegistrationCommand = _UpdateConnectorRegistrationCommand;
3380
+
3381
+ // src/commands/UpdateFlowCommand.ts
3382
+
3383
+
3384
+
3385
+
3386
+ var _UpdateFlowCommand = class _UpdateFlowCommand extends import_smithy_client.Command.classBuilder().ep({
3387
+ ...commonParams
3388
+ }).m(function(Command, cs, config, o) {
3389
+ return [
3390
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3391
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3392
+ ];
3393
+ }).s("SandstoneConfigurationServiceLambda", "UpdateFlow", {}).n("AppflowClient", "UpdateFlowCommand").f(void 0, void 0).ser(se_UpdateFlowCommand).de(de_UpdateFlowCommand).build() {
3394
+ };
3395
+ __name(_UpdateFlowCommand, "UpdateFlowCommand");
3396
+ var UpdateFlowCommand = _UpdateFlowCommand;
3397
+
3398
+ // src/Appflow.ts
3399
+ var commands = {
3400
+ CancelFlowExecutionsCommand,
3401
+ CreateConnectorProfileCommand,
3402
+ CreateFlowCommand,
3403
+ DeleteConnectorProfileCommand,
3404
+ DeleteFlowCommand,
3405
+ DescribeConnectorCommand,
3406
+ DescribeConnectorEntityCommand,
3407
+ DescribeConnectorProfilesCommand,
3408
+ DescribeConnectorsCommand,
3409
+ DescribeFlowCommand,
3410
+ DescribeFlowExecutionRecordsCommand,
3411
+ ListConnectorEntitiesCommand,
3412
+ ListConnectorsCommand,
3413
+ ListFlowsCommand,
3414
+ ListTagsForResourceCommand,
3415
+ RegisterConnectorCommand,
3416
+ ResetConnectorMetadataCacheCommand,
3417
+ StartFlowCommand,
3418
+ StopFlowCommand,
3419
+ TagResourceCommand,
3420
+ UnregisterConnectorCommand,
3421
+ UntagResourceCommand,
3422
+ UpdateConnectorProfileCommand,
3423
+ UpdateConnectorRegistrationCommand,
3424
+ UpdateFlowCommand
3425
+ };
3426
+ var _Appflow = class _Appflow extends AppflowClient {
3427
+ };
3428
+ __name(_Appflow, "Appflow");
3429
+ var Appflow = _Appflow;
3430
+ (0, import_smithy_client.createAggregatedClient)(commands, Appflow);
3431
+
3432
+ // src/pagination/DescribeConnectorProfilesPaginator.ts
3433
+
3434
+ var paginateDescribeConnectorProfiles = (0, import_core.createPaginator)(AppflowClient, DescribeConnectorProfilesCommand, "nextToken", "nextToken", "maxResults");
3435
+
3436
+ // src/pagination/DescribeConnectorsPaginator.ts
3437
+
3438
+ var paginateDescribeConnectors = (0, import_core.createPaginator)(AppflowClient, DescribeConnectorsCommand, "nextToken", "nextToken", "maxResults");
3439
+
3440
+ // src/pagination/DescribeFlowExecutionRecordsPaginator.ts
3441
+
3442
+ var paginateDescribeFlowExecutionRecords = (0, import_core.createPaginator)(AppflowClient, DescribeFlowExecutionRecordsCommand, "nextToken", "nextToken", "maxResults");
3443
+
3444
+ // src/pagination/ListConnectorsPaginator.ts
3445
+
3446
+ var paginateListConnectors = (0, import_core.createPaginator)(AppflowClient, ListConnectorsCommand, "nextToken", "nextToken", "maxResults");
3447
+
3448
+ // src/pagination/ListFlowsPaginator.ts
3449
+
3450
+ var paginateListFlows = (0, import_core.createPaginator)(AppflowClient, ListFlowsCommand, "nextToken", "nextToken", "maxResults");
3451
+
3452
+ // src/index.ts
3453
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3454
+ // Annotate the CommonJS export names for ESM import in node:
3455
+ 0 && (module.exports = {
3456
+ AccessDeniedException,
3457
+ AggregationType,
3458
+ AmplitudeConnectorOperator,
3459
+ AmplitudeConnectorProfileCredentialsFilterSensitiveLog,
3460
+ ApiKeyCredentialsFilterSensitiveLog,
3461
+ Appflow,
3462
+ AppflowClient,
3463
+ AppflowServiceException,
3464
+ AuthenticationType,
3465
+ BasicAuthCredentialsFilterSensitiveLog,
3466
+ CancelFlowExecutionsCommand,
3467
+ CatalogType,
3468
+ ConflictException,
3469
+ ConnectionMode,
3470
+ ConnectorAuthenticationException,
3471
+ ConnectorProfileConfigFilterSensitiveLog,
3472
+ ConnectorProfileCredentialsFilterSensitiveLog,
3473
+ ConnectorProvisioningType,
3474
+ ConnectorServerException,
3475
+ ConnectorType,
3476
+ CreateConnectorProfileCommand,
3477
+ CreateConnectorProfileRequestFilterSensitiveLog,
3478
+ CreateFlowCommand,
3479
+ CustomAuthCredentialsFilterSensitiveLog,
3480
+ CustomConnectorProfileCredentialsFilterSensitiveLog,
3481
+ DataPullMode,
3482
+ DataTransferApiType,
3483
+ DatadogConnectorOperator,
3484
+ DatadogConnectorProfileCredentialsFilterSensitiveLog,
3485
+ DeleteConnectorProfileCommand,
3486
+ DeleteFlowCommand,
3487
+ DescribeConnectorCommand,
3488
+ DescribeConnectorEntityCommand,
3489
+ DescribeConnectorProfilesCommand,
3490
+ DescribeConnectorsCommand,
3491
+ DescribeFlowCommand,
3492
+ DescribeFlowExecutionRecordsCommand,
3493
+ DynatraceConnectorOperator,
3494
+ ExecutionStatus,
3495
+ FileType,
3496
+ FlowStatus,
3497
+ GoogleAnalyticsConnectorOperator,
3498
+ GoogleAnalyticsConnectorProfileCredentialsFilterSensitiveLog,
3499
+ HoneycodeConnectorProfileCredentialsFilterSensitiveLog,
3500
+ InforNexusConnectorOperator,
3501
+ InforNexusConnectorProfileCredentialsFilterSensitiveLog,
3502
+ InternalServerException,
3503
+ ListConnectorEntitiesCommand,
3504
+ ListConnectorsCommand,
3505
+ ListFlowsCommand,
3506
+ ListTagsForResourceCommand,
3507
+ MarketoConnectorOperator,
3508
+ MarketoConnectorProfileCredentialsFilterSensitiveLog,
3509
+ OAuth2CredentialsFilterSensitiveLog,
3510
+ OAuth2CustomPropType,
3511
+ OAuth2GrantType,
3512
+ OAuthCredentialsFilterSensitiveLog,
3513
+ Operator,
3514
+ OperatorPropertiesKeys,
3515
+ Operators,
3516
+ PardotConnectorOperator,
3517
+ PardotConnectorProfileCredentialsFilterSensitiveLog,
3518
+ PathPrefix,
3519
+ PrefixFormat,
3520
+ PrefixType,
3521
+ PrivateConnectionProvisioningFailureCause,
3522
+ PrivateConnectionProvisioningStatus,
3523
+ RedshiftConnectorProfileCredentialsFilterSensitiveLog,
3524
+ RegisterConnectorCommand,
3525
+ ResetConnectorMetadataCacheCommand,
3526
+ ResourceNotFoundException,
3527
+ S3ConnectorOperator,
3528
+ S3InputFileType,
3529
+ SAPODataConnectorOperator,
3530
+ SAPODataConnectorProfileCredentialsFilterSensitiveLog,
3531
+ SalesforceConnectorOperator,
3532
+ SalesforceConnectorProfileCredentialsFilterSensitiveLog,
3533
+ SalesforceDataTransferApi,
3534
+ ScheduleFrequencyType,
3535
+ ServiceNowConnectorOperator,
3536
+ ServiceNowConnectorProfileCredentialsFilterSensitiveLog,
3537
+ ServiceQuotaExceededException,
3538
+ SingularConnectorOperator,
3539
+ SingularConnectorProfileCredentialsFilterSensitiveLog,
3540
+ SlackConnectorOperator,
3541
+ SlackConnectorProfileCredentialsFilterSensitiveLog,
3542
+ SnowflakeConnectorProfileCredentialsFilterSensitiveLog,
3543
+ StartFlowCommand,
3544
+ StopFlowCommand,
3545
+ SupportedDataTransferType,
3546
+ TagResourceCommand,
3547
+ TaskType,
3548
+ ThrottlingException,
3549
+ TrendmicroConnectorOperator,
3550
+ TrendmicroConnectorProfileCredentialsFilterSensitiveLog,
3551
+ TriggerType,
3552
+ UnregisterConnectorCommand,
3553
+ UnsupportedOperationException,
3554
+ UntagResourceCommand,
3555
+ UpdateConnectorProfileCommand,
3556
+ UpdateConnectorProfileRequestFilterSensitiveLog,
3557
+ UpdateConnectorRegistrationCommand,
3558
+ UpdateFlowCommand,
3559
+ ValidationException,
3560
+ VeevaConnectorOperator,
3561
+ VeevaConnectorProfileCredentialsFilterSensitiveLog,
3562
+ WriteOperationType,
3563
+ ZendeskConnectorOperator,
3564
+ ZendeskConnectorProfileCredentialsFilterSensitiveLog,
3565
+ __Client,
3566
+ paginateDescribeConnectorProfiles,
3567
+ paginateDescribeConnectors,
3568
+ paginateDescribeFlowExecutionRecords,
3569
+ paginateListConnectors,
3570
+ paginateListFlows
3571
+ });