@aws-sdk/client-appflow 3.323.0 → 3.326.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.
- package/README.md +15 -7
- package/dist-cjs/Appflow.js +2 -0
- package/dist-cjs/commands/CancelFlowExecutionsCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +56 -54
- package/dist-cjs/protocols/Aws_restJson1.js +69 -1
- package/dist-es/Appflow.js +2 -0
- package/dist-es/commands/CancelFlowExecutionsCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +50 -48
- package/dist-es/protocols/Aws_restJson1.js +66 -0
- package/dist-types/Appflow.d.ts +7 -0
- package/dist-types/AppflowClient.d.ts +3 -2
- package/dist-types/commands/CancelFlowExecutionsCommand.d.ts +101 -0
- package/dist-types/commands/CreateConnectorProfileCommand.d.ts +6 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +7 -0
- package/dist-types/commands/DeleteConnectorProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFlowCommand.d.ts +4 -0
- package/dist-types/commands/DescribeConnectorCommand.d.ts +163 -0
- package/dist-types/commands/DescribeConnectorEntityCommand.d.ts +55 -0
- package/dist-types/commands/DescribeConnectorProfilesCommand.d.ts +111 -0
- package/dist-types/commands/DescribeConnectorsCommand.d.ts +183 -0
- package/dist-types/commands/DescribeFlowCommand.d.ts +303 -0
- package/dist-types/commands/DescribeFlowExecutionRecordsCommand.d.ts +41 -0
- package/dist-types/commands/ListConnectorEntitiesCommand.d.ts +15 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +23 -0
- package/dist-types/commands/ListFlowsCommand.d.ts +31 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/RegisterConnectorCommand.d.ts +6 -0
- package/dist-types/commands/StartFlowCommand.d.ts +8 -0
- package/dist-types/commands/StopFlowCommand.d.ts +7 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UnregisterConnectorCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateConnectorProfileCommand.d.ts +6 -0
- package/dist-types/commands/UpdateConnectorRegistrationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFlowCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +79 -51
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Appflow.d.ts +17 -0
- package/dist-types/ts3.4/AppflowClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CancelFlowExecutionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -28
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +16 -16
|
@@ -32,6 +32,35 @@ export interface ListFlowsCommandOutput extends ListFlowsResponse, __MetadataBea
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListFlowsCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ListFlowsResponse
|
|
36
|
+
* // flows: [ // FlowList
|
|
37
|
+
* // { // FlowDefinition
|
|
38
|
+
* // flowArn: "STRING_VALUE",
|
|
39
|
+
* // description: "STRING_VALUE",
|
|
40
|
+
* // flowName: "STRING_VALUE",
|
|
41
|
+
* // flowStatus: "Active" || "Deprecated" || "Deleted" || "Draft" || "Errored" || "Suspended",
|
|
42
|
+
* // sourceConnectorType: "Salesforce" || "Singular" || "Slack" || "Redshift" || "S3" || "Marketo" || "Googleanalytics" || "Zendesk" || "Servicenow" || "Datadog" || "Trendmicro" || "Snowflake" || "Dynatrace" || "Infornexus" || "Amplitude" || "Veeva" || "EventBridge" || "LookoutMetrics" || "Upsolver" || "Honeycode" || "CustomerProfiles" || "SAPOData" || "CustomConnector" || "Pardot",
|
|
43
|
+
* // sourceConnectorLabel: "STRING_VALUE",
|
|
44
|
+
* // destinationConnectorType: "Salesforce" || "Singular" || "Slack" || "Redshift" || "S3" || "Marketo" || "Googleanalytics" || "Zendesk" || "Servicenow" || "Datadog" || "Trendmicro" || "Snowflake" || "Dynatrace" || "Infornexus" || "Amplitude" || "Veeva" || "EventBridge" || "LookoutMetrics" || "Upsolver" || "Honeycode" || "CustomerProfiles" || "SAPOData" || "CustomConnector" || "Pardot",
|
|
45
|
+
* // destinationConnectorLabel: "STRING_VALUE",
|
|
46
|
+
* // triggerType: "Scheduled" || "Event" || "OnDemand",
|
|
47
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // lastUpdatedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // createdBy: "STRING_VALUE",
|
|
50
|
+
* // lastUpdatedBy: "STRING_VALUE",
|
|
51
|
+
* // tags: { // TagMap
|
|
52
|
+
* // "<keys>": "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // lastRunExecutionDetails: { // ExecutionDetails
|
|
55
|
+
* // mostRecentExecutionMessage: "STRING_VALUE",
|
|
56
|
+
* // mostRecentExecutionTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // mostRecentExecutionStatus: "InProgress" || "Successful" || "Error",
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // nextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
35
64
|
* ```
|
|
36
65
|
*
|
|
37
66
|
* @param ListFlowsCommandInput - {@link ListFlowsCommandInput}
|
|
@@ -47,6 +76,8 @@ export interface ListFlowsCommandOutput extends ListFlowsResponse, __MetadataBea
|
|
|
47
76
|
* @throws {@link ValidationException} (client fault)
|
|
48
77
|
* <p> The request has invalid or missing parameters. </p>
|
|
49
78
|
*
|
|
79
|
+
* @throws {@link AppflowServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
50
81
|
*
|
|
51
82
|
*/
|
|
52
83
|
export declare class ListFlowsCommand extends $Command<ListFlowsCommandInput, ListFlowsCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // ListTagsForResourceResponse
|
|
35
|
+
* // tags: { // TagMap
|
|
36
|
+
* // "<keys>": "STRING_VALUE",
|
|
37
|
+
* // },
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
34
40
|
* ```
|
|
35
41
|
*
|
|
36
42
|
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
@@ -50,6 +56,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
50
56
|
* @throws {@link ValidationException} (client fault)
|
|
51
57
|
* <p> The request has invalid or missing parameters. </p>
|
|
52
58
|
*
|
|
59
|
+
* @throws {@link AppflowServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
53
61
|
*
|
|
54
62
|
*/
|
|
55
63
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -41,6 +41,10 @@ export interface RegisterConnectorCommandOutput extends RegisterConnectorRespons
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new RegisterConnectorCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // RegisterConnectorResponse
|
|
45
|
+
* // connectorArn: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
44
48
|
* ```
|
|
45
49
|
*
|
|
46
50
|
* @param RegisterConnectorCommandInput - {@link RegisterConnectorCommandInput}
|
|
@@ -81,6 +85,8 @@ export interface RegisterConnectorCommandOutput extends RegisterConnectorRespons
|
|
|
81
85
|
* @throws {@link ValidationException} (client fault)
|
|
82
86
|
* <p> The request has invalid or missing parameters. </p>
|
|
83
87
|
*
|
|
88
|
+
* @throws {@link AppflowServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
84
90
|
*
|
|
85
91
|
*/
|
|
86
92
|
export declare class RegisterConnectorCommand extends $Command<RegisterConnectorCommandInput, RegisterConnectorCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -33,6 +33,12 @@ export interface StartFlowCommandOutput extends StartFlowResponse, __MetadataBea
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new StartFlowCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // StartFlowResponse
|
|
37
|
+
* // flowArn: "STRING_VALUE",
|
|
38
|
+
* // flowStatus: "Active" || "Deprecated" || "Deleted" || "Draft" || "Errored" || "Suspended",
|
|
39
|
+
* // executionId: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
36
42
|
* ```
|
|
37
43
|
*
|
|
38
44
|
* @param StartFlowCommandInput - {@link StartFlowCommandInput}
|
|
@@ -57,6 +63,8 @@ export interface StartFlowCommandOutput extends StartFlowResponse, __MetadataBea
|
|
|
57
63
|
* <p> The request would cause a service quota (such as the number of flows) to be exceeded.
|
|
58
64
|
* </p>
|
|
59
65
|
*
|
|
66
|
+
* @throws {@link AppflowServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
60
68
|
*
|
|
61
69
|
*/
|
|
62
70
|
export declare class StartFlowCommand extends $Command<StartFlowCommandInput, StartFlowCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -33,6 +33,11 @@ export interface StopFlowCommandOutput extends StopFlowResponse, __MetadataBeare
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new StopFlowCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // StopFlowResponse
|
|
37
|
+
* // flowArn: "STRING_VALUE",
|
|
38
|
+
* // flowStatus: "Active" || "Deprecated" || "Deleted" || "Draft" || "Errored" || "Suspended",
|
|
39
|
+
* // };
|
|
40
|
+
*
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
38
43
|
* @param StopFlowCommandInput - {@link StopFlowCommandInput}
|
|
@@ -56,6 +61,8 @@ export interface StopFlowCommandOutput extends StopFlowResponse, __MetadataBeare
|
|
|
56
61
|
* @throws {@link UnsupportedOperationException} (client fault)
|
|
57
62
|
* <p> The requested operation is not supported for the current flow. </p>
|
|
58
63
|
*
|
|
64
|
+
* @throws {@link AppflowServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
59
66
|
*
|
|
60
67
|
*/
|
|
61
68
|
export declare class StopFlowCommand extends $Command<StopFlowCommandInput, StopFlowCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new TagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -53,6 +55,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
53
55
|
* @throws {@link ValidationException} (client fault)
|
|
54
56
|
* <p> The request has invalid or missing parameters. </p>
|
|
55
57
|
*
|
|
58
|
+
* @throws {@link AppflowServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
56
60
|
*
|
|
57
61
|
*/
|
|
58
62
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface UnregisterConnectorCommandOutput extends UnregisterConnectorRes
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new UnregisterConnectorCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param UnregisterConnectorCommandInput - {@link UnregisterConnectorCommandInput}
|
|
@@ -53,6 +55,8 @@ export interface UnregisterConnectorCommandOutput extends UnregisterConnectorRes
|
|
|
53
55
|
* <p> The resource specified in the request (such as the source or destination connector
|
|
54
56
|
* profile) is not found. </p>
|
|
55
57
|
*
|
|
58
|
+
* @throws {@link AppflowServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
56
60
|
*
|
|
57
61
|
*/
|
|
58
62
|
export declare class UnregisterConnectorCommand extends $Command<UnregisterConnectorCommandInput, UnregisterConnectorCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -53,6 +55,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
53
55
|
* @throws {@link ValidationException} (client fault)
|
|
54
56
|
* <p> The request has invalid or missing parameters. </p>
|
|
55
57
|
*
|
|
58
|
+
* @throws {@link AppflowServiceException}
|
|
59
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
56
60
|
*
|
|
57
61
|
*/
|
|
58
62
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -260,6 +260,10 @@ export interface UpdateConnectorProfileCommandOutput extends UpdateConnectorProf
|
|
|
260
260
|
* };
|
|
261
261
|
* const command = new UpdateConnectorProfileCommand(input);
|
|
262
262
|
* const response = await client.send(command);
|
|
263
|
+
* // { // UpdateConnectorProfileResponse
|
|
264
|
+
* // connectorProfileArn: "STRING_VALUE",
|
|
265
|
+
* // };
|
|
266
|
+
*
|
|
263
267
|
* ```
|
|
264
268
|
*
|
|
265
269
|
* @param UpdateConnectorProfileCommandInput - {@link UpdateConnectorProfileCommandInput}
|
|
@@ -286,6 +290,8 @@ export interface UpdateConnectorProfileCommandOutput extends UpdateConnectorProf
|
|
|
286
290
|
* @throws {@link ValidationException} (client fault)
|
|
287
291
|
* <p> The request has invalid or missing parameters. </p>
|
|
288
292
|
*
|
|
293
|
+
* @throws {@link AppflowServiceException}
|
|
294
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
289
295
|
*
|
|
290
296
|
*/
|
|
291
297
|
export declare class UpdateConnectorProfileCommand extends $Command<UpdateConnectorProfileCommandInput, UpdateConnectorProfileCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -47,6 +47,10 @@ export interface UpdateConnectorRegistrationCommandOutput extends UpdateConnecto
|
|
|
47
47
|
* };
|
|
48
48
|
* const command = new UpdateConnectorRegistrationCommand(input);
|
|
49
49
|
* const response = await client.send(command);
|
|
50
|
+
* // { // UpdateConnectorRegistrationResponse
|
|
51
|
+
* // connectorArn: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
50
54
|
* ```
|
|
51
55
|
*
|
|
52
56
|
* @param UpdateConnectorRegistrationCommandInput - {@link UpdateConnectorRegistrationCommandInput}
|
|
@@ -87,6 +91,8 @@ export interface UpdateConnectorRegistrationCommandOutput extends UpdateConnecto
|
|
|
87
91
|
* @throws {@link ValidationException} (client fault)
|
|
88
92
|
* <p> The request has invalid or missing parameters. </p>
|
|
89
93
|
*
|
|
94
|
+
* @throws {@link AppflowServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
90
96
|
*
|
|
91
97
|
*/
|
|
92
98
|
export declare class UpdateConnectorRegistrationCommand extends $Command<UpdateConnectorRegistrationCommandInput, UpdateConnectorRegistrationCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -296,6 +296,10 @@ export interface UpdateFlowCommandOutput extends UpdateFlowResponse, __MetadataB
|
|
|
296
296
|
* };
|
|
297
297
|
* const command = new UpdateFlowCommand(input);
|
|
298
298
|
* const response = await client.send(command);
|
|
299
|
+
* // { // UpdateFlowResponse
|
|
300
|
+
* // flowStatus: "Active" || "Deprecated" || "Deleted" || "Draft" || "Errored" || "Suspended",
|
|
301
|
+
* // };
|
|
302
|
+
*
|
|
299
303
|
* ```
|
|
300
304
|
*
|
|
301
305
|
* @param UpdateFlowCommandInput - {@link UpdateFlowCommandInput}
|
|
@@ -329,6 +333,8 @@ export interface UpdateFlowCommandOutput extends UpdateFlowResponse, __MetadataB
|
|
|
329
333
|
* @throws {@link ValidationException} (client fault)
|
|
330
334
|
* <p> The request has invalid or missing parameters. </p>
|
|
331
335
|
*
|
|
336
|
+
* @throws {@link AppflowServiceException}
|
|
337
|
+
* <p>Base exception class for all service exceptions from Appflow service.</p>
|
|
332
338
|
*
|
|
333
339
|
*/
|
|
334
340
|
export declare class UpdateFlowCommand extends $Command<UpdateFlowCommandInput, UpdateFlowCommandOutput, AppflowClientResolvedConfig> {
|
|
@@ -294,6 +294,83 @@ export interface BasicAuthCredentials {
|
|
|
294
294
|
*/
|
|
295
295
|
password: string | undefined;
|
|
296
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
export interface CancelFlowExecutionsRequest {
|
|
301
|
+
/**
|
|
302
|
+
* <p>The name of a flow with active runs that you want to cancel.</p>
|
|
303
|
+
*/
|
|
304
|
+
flowName: string | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* <p>The ID of each active run to cancel. These runs must belong to the flow you specify in
|
|
307
|
+
* your request.</p>
|
|
308
|
+
* <p>If you omit this parameter, your request ends all active runs that belong to the
|
|
309
|
+
* flow.</p>
|
|
310
|
+
*/
|
|
311
|
+
executionIds?: string[];
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
export interface CancelFlowExecutionsResponse {
|
|
317
|
+
/**
|
|
318
|
+
* <p>The IDs of runs that Amazon AppFlow couldn't cancel. These runs might be ineligible
|
|
319
|
+
* for canceling because they haven't started yet or have already completed.</p>
|
|
320
|
+
*/
|
|
321
|
+
invalidExecutions?: string[];
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
* <p> An internal service error occurred during the processing of your request. Try again
|
|
326
|
+
* later. </p>
|
|
327
|
+
*/
|
|
328
|
+
export declare class InternalServerException extends __BaseException {
|
|
329
|
+
readonly name: "InternalServerException";
|
|
330
|
+
readonly $fault: "server";
|
|
331
|
+
/**
|
|
332
|
+
* @internal
|
|
333
|
+
*/
|
|
334
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
* <p> The resource specified in the request (such as the source or destination connector
|
|
339
|
+
* profile) is not found. </p>
|
|
340
|
+
*/
|
|
341
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
342
|
+
readonly name: "ResourceNotFoundException";
|
|
343
|
+
readonly $fault: "client";
|
|
344
|
+
/**
|
|
345
|
+
* @internal
|
|
346
|
+
*/
|
|
347
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* @public
|
|
351
|
+
* <p>API calls have exceeded the maximum allowed API request rate per account and per Region.
|
|
352
|
+
* </p>
|
|
353
|
+
*/
|
|
354
|
+
export declare class ThrottlingException extends __BaseException {
|
|
355
|
+
readonly name: "ThrottlingException";
|
|
356
|
+
readonly $fault: "client";
|
|
357
|
+
/**
|
|
358
|
+
* @internal
|
|
359
|
+
*/
|
|
360
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* @public
|
|
364
|
+
* <p> The request has invalid or missing parameters. </p>
|
|
365
|
+
*/
|
|
366
|
+
export declare class ValidationException extends __BaseException {
|
|
367
|
+
readonly name: "ValidationException";
|
|
368
|
+
readonly $fault: "client";
|
|
369
|
+
/**
|
|
370
|
+
* @internal
|
|
371
|
+
*/
|
|
372
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
373
|
+
}
|
|
297
374
|
/**
|
|
298
375
|
* @public
|
|
299
376
|
* @enum
|
|
@@ -2828,19 +2905,6 @@ export interface CreateConnectorProfileResponse {
|
|
|
2828
2905
|
*/
|
|
2829
2906
|
connectorProfileArn?: string;
|
|
2830
2907
|
}
|
|
2831
|
-
/**
|
|
2832
|
-
* @public
|
|
2833
|
-
* <p> An internal service error occurred during the processing of your request. Try again
|
|
2834
|
-
* later. </p>
|
|
2835
|
-
*/
|
|
2836
|
-
export declare class InternalServerException extends __BaseException {
|
|
2837
|
-
readonly name: "InternalServerException";
|
|
2838
|
-
readonly $fault: "server";
|
|
2839
|
-
/**
|
|
2840
|
-
* @internal
|
|
2841
|
-
*/
|
|
2842
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
2843
|
-
}
|
|
2844
2908
|
/**
|
|
2845
2909
|
* @public
|
|
2846
2910
|
* <p> The request would cause a service quota (such as the number of flows) to be exceeded.
|
|
@@ -2854,18 +2918,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
2854
2918
|
*/
|
|
2855
2919
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
2856
2920
|
}
|
|
2857
|
-
/**
|
|
2858
|
-
* @public
|
|
2859
|
-
* <p> The request has invalid or missing parameters. </p>
|
|
2860
|
-
*/
|
|
2861
|
-
export declare class ValidationException extends __BaseException {
|
|
2862
|
-
readonly name: "ValidationException";
|
|
2863
|
-
readonly $fault: "client";
|
|
2864
|
-
/**
|
|
2865
|
-
* @internal
|
|
2866
|
-
*/
|
|
2867
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
2868
|
-
}
|
|
2869
2921
|
/**
|
|
2870
2922
|
* @public
|
|
2871
2923
|
* <p> The settings that determine how Amazon AppFlow handles an error when placing data in
|
|
@@ -4174,19 +4226,6 @@ export interface CreateFlowResponse {
|
|
|
4174
4226
|
*/
|
|
4175
4227
|
flowStatus?: FlowStatus | string;
|
|
4176
4228
|
}
|
|
4177
|
-
/**
|
|
4178
|
-
* @public
|
|
4179
|
-
* <p> The resource specified in the request (such as the source or destination connector
|
|
4180
|
-
* profile) is not found. </p>
|
|
4181
|
-
*/
|
|
4182
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
4183
|
-
readonly name: "ResourceNotFoundException";
|
|
4184
|
-
readonly $fault: "client";
|
|
4185
|
-
/**
|
|
4186
|
-
* @internal
|
|
4187
|
-
*/
|
|
4188
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
4189
|
-
}
|
|
4190
4229
|
/**
|
|
4191
4230
|
* @public
|
|
4192
4231
|
*/
|
|
@@ -4378,6 +4417,8 @@ export interface DescribeFlowRequest {
|
|
|
4378
4417
|
* @enum
|
|
4379
4418
|
*/
|
|
4380
4419
|
export declare const ExecutionStatus: {
|
|
4420
|
+
readonly CANCELED: "Canceled";
|
|
4421
|
+
readonly CANCELSTARTED: "CancelStarted";
|
|
4381
4422
|
readonly ERROR: "Error";
|
|
4382
4423
|
readonly INPROGRESS: "InProgress";
|
|
4383
4424
|
readonly SUCCESSFUL: "Successful";
|
|
@@ -4922,19 +4963,6 @@ export interface RegisterConnectorResponse {
|
|
|
4922
4963
|
*/
|
|
4923
4964
|
connectorArn?: string;
|
|
4924
4965
|
}
|
|
4925
|
-
/**
|
|
4926
|
-
* @public
|
|
4927
|
-
* <p>API calls have exceeded the maximum allowed API request rate per account and per Region.
|
|
4928
|
-
* </p>
|
|
4929
|
-
*/
|
|
4930
|
-
export declare class ThrottlingException extends __BaseException {
|
|
4931
|
-
readonly name: "ThrottlingException";
|
|
4932
|
-
readonly $fault: "client";
|
|
4933
|
-
/**
|
|
4934
|
-
* @internal
|
|
4935
|
-
*/
|
|
4936
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
4937
|
-
}
|
|
4938
4966
|
/**
|
|
4939
4967
|
* @public
|
|
4940
4968
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { CancelFlowExecutionsCommandInput, CancelFlowExecutionsCommandOutput } from "../commands/CancelFlowExecutionsCommand";
|
|
3
4
|
import { CreateConnectorProfileCommandInput, CreateConnectorProfileCommandOutput } from "../commands/CreateConnectorProfileCommand";
|
|
4
5
|
import { CreateFlowCommandInput, CreateFlowCommandOutput } from "../commands/CreateFlowCommand";
|
|
5
6
|
import { DeleteConnectorProfileCommandInput, DeleteConnectorProfileCommandOutput } from "../commands/DeleteConnectorProfileCommand";
|
|
@@ -23,6 +24,10 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
|
|
|
23
24
|
import { UpdateConnectorProfileCommandInput, UpdateConnectorProfileCommandOutput } from "../commands/UpdateConnectorProfileCommand";
|
|
24
25
|
import { UpdateConnectorRegistrationCommandInput, UpdateConnectorRegistrationCommandOutput } from "../commands/UpdateConnectorRegistrationCommand";
|
|
25
26
|
import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "../commands/UpdateFlowCommand";
|
|
27
|
+
/**
|
|
28
|
+
* serializeAws_restJson1CancelFlowExecutionsCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const se_CancelFlowExecutionsCommand: (input: CancelFlowExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
31
|
/**
|
|
27
32
|
* serializeAws_restJson1CreateConnectorProfileCommand
|
|
28
33
|
*/
|
|
@@ -115,6 +120,10 @@ export declare const se_UpdateConnectorRegistrationCommand: (input: UpdateConnec
|
|
|
115
120
|
* serializeAws_restJson1UpdateFlowCommand
|
|
116
121
|
*/
|
|
117
122
|
export declare const se_UpdateFlowCommand: (input: UpdateFlowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
123
|
+
/**
|
|
124
|
+
* deserializeAws_restJson1CancelFlowExecutionsCommand
|
|
125
|
+
*/
|
|
126
|
+
export declare const de_CancelFlowExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelFlowExecutionsCommandOutput>;
|
|
118
127
|
/**
|
|
119
128
|
* deserializeAws_restJson1CreateConnectorProfileCommand
|
|
120
129
|
*/
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AppflowClient } from "./AppflowClient";
|
|
3
|
+
import {
|
|
4
|
+
CancelFlowExecutionsCommandInput,
|
|
5
|
+
CancelFlowExecutionsCommandOutput,
|
|
6
|
+
} from "./commands/CancelFlowExecutionsCommand";
|
|
3
7
|
import {
|
|
4
8
|
CreateConnectorProfileCommandInput,
|
|
5
9
|
CreateConnectorProfileCommandOutput,
|
|
@@ -93,6 +97,19 @@ import {
|
|
|
93
97
|
UpdateFlowCommandOutput,
|
|
94
98
|
} from "./commands/UpdateFlowCommand";
|
|
95
99
|
export interface Appflow {
|
|
100
|
+
cancelFlowExecutions(
|
|
101
|
+
args: CancelFlowExecutionsCommandInput,
|
|
102
|
+
options?: __HttpHandlerOptions
|
|
103
|
+
): Promise<CancelFlowExecutionsCommandOutput>;
|
|
104
|
+
cancelFlowExecutions(
|
|
105
|
+
args: CancelFlowExecutionsCommandInput,
|
|
106
|
+
cb: (err: any, data?: CancelFlowExecutionsCommandOutput) => void
|
|
107
|
+
): void;
|
|
108
|
+
cancelFlowExecutions(
|
|
109
|
+
args: CancelFlowExecutionsCommandInput,
|
|
110
|
+
options: __HttpHandlerOptions,
|
|
111
|
+
cb: (err: any, data?: CancelFlowExecutionsCommandOutput) => void
|
|
112
|
+
): void;
|
|
96
113
|
createConnectorProfile(
|
|
97
114
|
args: CreateConnectorProfileCommandInput,
|
|
98
115
|
options?: __HttpHandlerOptions
|
|
@@ -44,6 +44,10 @@ import {
|
|
|
44
44
|
UrlParser as __UrlParser,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@aws-sdk/types";
|
|
47
|
+
import {
|
|
48
|
+
CancelFlowExecutionsCommandInput,
|
|
49
|
+
CancelFlowExecutionsCommandOutput,
|
|
50
|
+
} from "./commands/CancelFlowExecutionsCommand";
|
|
47
51
|
import {
|
|
48
52
|
CreateConnectorProfileCommandInput,
|
|
49
53
|
CreateConnectorProfileCommandOutput,
|
|
@@ -142,6 +146,7 @@ import {
|
|
|
142
146
|
EndpointParameters,
|
|
143
147
|
} from "./endpoint/EndpointParameters";
|
|
144
148
|
export type ServiceInputTypes =
|
|
149
|
+
| CancelFlowExecutionsCommandInput
|
|
145
150
|
| CreateConnectorProfileCommandInput
|
|
146
151
|
| CreateFlowCommandInput
|
|
147
152
|
| DeleteConnectorProfileCommandInput
|
|
@@ -166,6 +171,7 @@ export type ServiceInputTypes =
|
|
|
166
171
|
| UpdateConnectorRegistrationCommandInput
|
|
167
172
|
| UpdateFlowCommandInput;
|
|
168
173
|
export type ServiceOutputTypes =
|
|
174
|
+
| CancelFlowExecutionsCommandOutput
|
|
169
175
|
| CreateConnectorProfileCommandOutput
|
|
170
176
|
| CreateFlowCommandOutput
|
|
171
177
|
| DeleteConnectorProfileCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
AppflowClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../AppflowClient";
|
|
14
|
+
import {
|
|
15
|
+
CancelFlowExecutionsRequest,
|
|
16
|
+
CancelFlowExecutionsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface CancelFlowExecutionsCommandInput
|
|
19
|
+
extends CancelFlowExecutionsRequest {}
|
|
20
|
+
export interface CancelFlowExecutionsCommandOutput
|
|
21
|
+
extends CancelFlowExecutionsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class CancelFlowExecutionsCommand extends $Command<
|
|
24
|
+
CancelFlowExecutionsCommandInput,
|
|
25
|
+
CancelFlowExecutionsCommandOutput,
|
|
26
|
+
AppflowClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: CancelFlowExecutionsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: CancelFlowExecutionsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: AppflowClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
CancelFlowExecutionsCommandInput,
|
|
37
|
+
CancelFlowExecutionsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -96,6 +96,41 @@ export interface BasicAuthCredentials {
|
|
|
96
96
|
username: string | undefined;
|
|
97
97
|
password: string | undefined;
|
|
98
98
|
}
|
|
99
|
+
export interface CancelFlowExecutionsRequest {
|
|
100
|
+
flowName: string | undefined;
|
|
101
|
+
executionIds?: string[];
|
|
102
|
+
}
|
|
103
|
+
export interface CancelFlowExecutionsResponse {
|
|
104
|
+
invalidExecutions?: string[];
|
|
105
|
+
}
|
|
106
|
+
export declare class InternalServerException extends __BaseException {
|
|
107
|
+
readonly name: "InternalServerException";
|
|
108
|
+
readonly $fault: "server";
|
|
109
|
+
constructor(
|
|
110
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
114
|
+
readonly name: "ResourceNotFoundException";
|
|
115
|
+
readonly $fault: "client";
|
|
116
|
+
constructor(
|
|
117
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
export declare class ThrottlingException extends __BaseException {
|
|
121
|
+
readonly name: "ThrottlingException";
|
|
122
|
+
readonly $fault: "client";
|
|
123
|
+
constructor(
|
|
124
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
export declare class ValidationException extends __BaseException {
|
|
128
|
+
readonly name: "ValidationException";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
constructor(
|
|
131
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
132
|
+
);
|
|
133
|
+
}
|
|
99
134
|
export declare const CatalogType: {
|
|
100
135
|
readonly GLUE: "GLUE";
|
|
101
136
|
};
|
|
@@ -1006,13 +1041,6 @@ export interface CreateConnectorProfileRequest {
|
|
|
1006
1041
|
export interface CreateConnectorProfileResponse {
|
|
1007
1042
|
connectorProfileArn?: string;
|
|
1008
1043
|
}
|
|
1009
|
-
export declare class InternalServerException extends __BaseException {
|
|
1010
|
-
readonly name: "InternalServerException";
|
|
1011
|
-
readonly $fault: "server";
|
|
1012
|
-
constructor(
|
|
1013
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
1014
|
-
);
|
|
1015
|
-
}
|
|
1016
1044
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
1017
1045
|
readonly name: "ServiceQuotaExceededException";
|
|
1018
1046
|
readonly $fault: "client";
|
|
@@ -1020,13 +1048,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
1020
1048
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
1021
1049
|
);
|
|
1022
1050
|
}
|
|
1023
|
-
export declare class ValidationException extends __BaseException {
|
|
1024
|
-
readonly name: "ValidationException";
|
|
1025
|
-
readonly $fault: "client";
|
|
1026
|
-
constructor(
|
|
1027
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
1028
|
-
);
|
|
1029
|
-
}
|
|
1030
1051
|
export interface ErrorHandlingConfig {
|
|
1031
1052
|
failOnFirstDestinationError?: boolean;
|
|
1032
1053
|
bucketPrefix?: string;
|
|
@@ -1356,13 +1377,6 @@ export interface CreateFlowResponse {
|
|
|
1356
1377
|
flowArn?: string;
|
|
1357
1378
|
flowStatus?: FlowStatus | string;
|
|
1358
1379
|
}
|
|
1359
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
1360
|
-
readonly name: "ResourceNotFoundException";
|
|
1361
|
-
readonly $fault: "client";
|
|
1362
|
-
constructor(
|
|
1363
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
1364
|
-
);
|
|
1365
|
-
}
|
|
1366
1380
|
export interface DeleteConnectorProfileRequest {
|
|
1367
1381
|
connectorProfileName: string | undefined;
|
|
1368
1382
|
forceDelete?: boolean;
|
|
@@ -1414,6 +1428,8 @@ export interface DescribeFlowRequest {
|
|
|
1414
1428
|
flowName: string | undefined;
|
|
1415
1429
|
}
|
|
1416
1430
|
export declare const ExecutionStatus: {
|
|
1431
|
+
readonly CANCELED: "Canceled";
|
|
1432
|
+
readonly CANCELSTARTED: "CancelStarted";
|
|
1417
1433
|
readonly ERROR: "Error";
|
|
1418
1434
|
readonly INPROGRESS: "InProgress";
|
|
1419
1435
|
readonly SUCCESSFUL: "Successful";
|
|
@@ -1547,13 +1563,6 @@ export interface RegisterConnectorRequest {
|
|
|
1547
1563
|
export interface RegisterConnectorResponse {
|
|
1548
1564
|
connectorArn?: string;
|
|
1549
1565
|
}
|
|
1550
|
-
export declare class ThrottlingException extends __BaseException {
|
|
1551
|
-
readonly name: "ThrottlingException";
|
|
1552
|
-
readonly $fault: "client";
|
|
1553
|
-
constructor(
|
|
1554
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
1555
|
-
);
|
|
1556
|
-
}
|
|
1557
1566
|
export interface StartFlowRequest {
|
|
1558
1567
|
flowName: string | undefined;
|
|
1559
1568
|
clientToken?: string;
|