@aws-sdk/client-appflow 3.323.0 → 3.325.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/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
package/dist-types/Appflow.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AppflowClient } from "./AppflowClient";
|
|
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";
|
|
@@ -24,6 +25,12 @@ import { UpdateConnectorProfileCommandInput, UpdateConnectorProfileCommandOutput
|
|
|
24
25
|
import { UpdateConnectorRegistrationCommandInput, UpdateConnectorRegistrationCommandOutput } from "./commands/UpdateConnectorRegistrationCommand";
|
|
25
26
|
import { UpdateFlowCommandInput, UpdateFlowCommandOutput } from "./commands/UpdateFlowCommand";
|
|
26
27
|
export interface Appflow {
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link CancelFlowExecutionsCommand}
|
|
30
|
+
*/
|
|
31
|
+
cancelFlowExecutions(args: CancelFlowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<CancelFlowExecutionsCommandOutput>;
|
|
32
|
+
cancelFlowExecutions(args: CancelFlowExecutionsCommandInput, cb: (err: any, data?: CancelFlowExecutionsCommandOutput) => void): void;
|
|
33
|
+
cancelFlowExecutions(args: CancelFlowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelFlowExecutionsCommandOutput) => void): void;
|
|
27
34
|
/**
|
|
28
35
|
* @see {@link CreateConnectorProfileCommand}
|
|
29
36
|
*/
|
|
@@ -7,6 +7,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
8
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { CancelFlowExecutionsCommandInput, CancelFlowExecutionsCommandOutput } from "./commands/CancelFlowExecutionsCommand";
|
|
10
11
|
import { CreateConnectorProfileCommandInput, CreateConnectorProfileCommandOutput } from "./commands/CreateConnectorProfileCommand";
|
|
11
12
|
import { CreateFlowCommandInput, CreateFlowCommandOutput } from "./commands/CreateFlowCommand";
|
|
12
13
|
import { DeleteConnectorProfileCommandInput, DeleteConnectorProfileCommandOutput } from "./commands/DeleteConnectorProfileCommand";
|
|
@@ -34,11 +35,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
34
35
|
/**
|
|
35
36
|
* @public
|
|
36
37
|
*/
|
|
37
|
-
export type ServiceInputTypes = CreateConnectorProfileCommandInput | CreateFlowCommandInput | DeleteConnectorProfileCommandInput | DeleteFlowCommandInput | DescribeConnectorCommandInput | DescribeConnectorEntityCommandInput | DescribeConnectorProfilesCommandInput | DescribeConnectorsCommandInput | DescribeFlowCommandInput | DescribeFlowExecutionRecordsCommandInput | ListConnectorEntitiesCommandInput | ListConnectorsCommandInput | ListFlowsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UnregisterConnectorCommandInput | UntagResourceCommandInput | UpdateConnectorProfileCommandInput | UpdateConnectorRegistrationCommandInput | UpdateFlowCommandInput;
|
|
38
|
+
export type ServiceInputTypes = CancelFlowExecutionsCommandInput | CreateConnectorProfileCommandInput | CreateFlowCommandInput | DeleteConnectorProfileCommandInput | DeleteFlowCommandInput | DescribeConnectorCommandInput | DescribeConnectorEntityCommandInput | DescribeConnectorProfilesCommandInput | DescribeConnectorsCommandInput | DescribeFlowCommandInput | DescribeFlowExecutionRecordsCommandInput | ListConnectorEntitiesCommandInput | ListConnectorsCommandInput | ListFlowsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorCommandInput | StartFlowCommandInput | StopFlowCommandInput | TagResourceCommandInput | UnregisterConnectorCommandInput | UntagResourceCommandInput | UpdateConnectorProfileCommandInput | UpdateConnectorRegistrationCommandInput | UpdateFlowCommandInput;
|
|
38
39
|
/**
|
|
39
40
|
* @public
|
|
40
41
|
*/
|
|
41
|
-
export type ServiceOutputTypes = CreateConnectorProfileCommandOutput | CreateFlowCommandOutput | DeleteConnectorProfileCommandOutput | DeleteFlowCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorEntityCommandOutput | DescribeConnectorProfilesCommandOutput | DescribeConnectorsCommandOutput | DescribeFlowCommandOutput | DescribeFlowExecutionRecordsCommandOutput | ListConnectorEntitiesCommandOutput | ListConnectorsCommandOutput | ListFlowsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UnregisterConnectorCommandOutput | UntagResourceCommandOutput | UpdateConnectorProfileCommandOutput | UpdateConnectorRegistrationCommandOutput | UpdateFlowCommandOutput;
|
|
42
|
+
export type ServiceOutputTypes = CancelFlowExecutionsCommandOutput | CreateConnectorProfileCommandOutput | CreateFlowCommandOutput | DeleteConnectorProfileCommandOutput | DeleteFlowCommandOutput | DescribeConnectorCommandOutput | DescribeConnectorEntityCommandOutput | DescribeConnectorProfilesCommandOutput | DescribeConnectorsCommandOutput | DescribeFlowCommandOutput | DescribeFlowExecutionRecordsCommandOutput | ListConnectorEntitiesCommandOutput | ListConnectorsCommandOutput | ListFlowsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorCommandOutput | StartFlowCommandOutput | StopFlowCommandOutput | TagResourceCommandOutput | UnregisterConnectorCommandOutput | UntagResourceCommandOutput | UpdateConnectorProfileCommandOutput | UpdateConnectorRegistrationCommandOutput | UpdateFlowCommandOutput;
|
|
42
43
|
/**
|
|
43
44
|
* @public
|
|
44
45
|
*/
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AppflowClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppflowClient";
|
|
5
|
+
import { CancelFlowExecutionsRequest, CancelFlowExecutionsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CancelFlowExecutionsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CancelFlowExecutionsCommandInput extends CancelFlowExecutionsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CancelFlowExecutionsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CancelFlowExecutionsCommandOutput extends CancelFlowExecutionsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Cancels active runs for a flow.</p>
|
|
23
|
+
* <p>You can cancel all of the active runs for a flow, or you can cancel specific runs by
|
|
24
|
+
* providing their IDs.</p>
|
|
25
|
+
* <p>You can cancel a flow run only when the run is in progress. You can't cancel a run that
|
|
26
|
+
* has already completed or failed. You also can't cancel a run that's scheduled to occur but
|
|
27
|
+
* hasn't started yet. To prevent a scheduled run, you can deactivate the flow with the
|
|
28
|
+
* <code>StopFlow</code> action.</p>
|
|
29
|
+
* <p>You cannot resume a run after you cancel it.</p>
|
|
30
|
+
* <p>When you send your request, the status for each run becomes <code>CancelStarted</code>.
|
|
31
|
+
* When the cancellation completes, the status becomes <code>Canceled</code>.</p>
|
|
32
|
+
* <note>
|
|
33
|
+
* <p>When you cancel a run, you still incur charges for any data that the run already
|
|
34
|
+
* processed before the cancellation. If the run had already written some data to the flow
|
|
35
|
+
* destination, then that data remains in the destination. If you configured the flow to use a
|
|
36
|
+
* batch API (such as the Salesforce Bulk API 2.0), then the run will finish reading or writing
|
|
37
|
+
* its entire batch of data after the cancellation. For these operations, the data processing
|
|
38
|
+
* charges for Amazon AppFlow apply. For the pricing information, see <a href="http://aws.amazon.com/appflow/pricing/">Amazon AppFlow pricing</a>.</p>
|
|
39
|
+
* </note>
|
|
40
|
+
* @example
|
|
41
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
+
* ```javascript
|
|
43
|
+
* import { AppflowClient, CancelFlowExecutionsCommand } from "@aws-sdk/client-appflow"; // ES Modules import
|
|
44
|
+
* // const { AppflowClient, CancelFlowExecutionsCommand } = require("@aws-sdk/client-appflow"); // CommonJS import
|
|
45
|
+
* const client = new AppflowClient(config);
|
|
46
|
+
* const input = { // CancelFlowExecutionsRequest
|
|
47
|
+
* flowName: "STRING_VALUE", // required
|
|
48
|
+
* executionIds: [ // ExecutionIds
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
52
|
+
* const command = new CancelFlowExecutionsCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param CancelFlowExecutionsCommandInput - {@link CancelFlowExecutionsCommandInput}
|
|
57
|
+
* @returns {@link CancelFlowExecutionsCommandOutput}
|
|
58
|
+
* @see {@link CancelFlowExecutionsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link CancelFlowExecutionsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link AppflowClientResolvedConfig | config} for AppflowClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>AppFlow/Requester has invalid or missing permissions.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p> An internal service error occurred during the processing of your request. Try again
|
|
67
|
+
* later. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p> The resource specified in the request (such as the source or destination connector
|
|
71
|
+
* profile) is not found. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>API calls have exceeded the maximum allowed API request rate per account and per Region.
|
|
75
|
+
* </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p> The request has invalid or missing parameters. </p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class CancelFlowExecutionsCommand extends $Command<CancelFlowExecutionsCommandInput, CancelFlowExecutionsCommandOutput, AppflowClientResolvedConfig> {
|
|
83
|
+
readonly input: CancelFlowExecutionsCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: CancelFlowExecutionsCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppflowClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelFlowExecutionsCommandInput, CancelFlowExecutionsCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -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;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@aws-sdk/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
6
|
+
import {
|
|
7
|
+
CancelFlowExecutionsCommandInput,
|
|
8
|
+
CancelFlowExecutionsCommandOutput,
|
|
9
|
+
} from "../commands/CancelFlowExecutionsCommand";
|
|
6
10
|
import {
|
|
7
11
|
CreateConnectorProfileCommandInput,
|
|
8
12
|
CreateConnectorProfileCommandOutput,
|
|
@@ -95,6 +99,10 @@ import {
|
|
|
95
99
|
UpdateFlowCommandInput,
|
|
96
100
|
UpdateFlowCommandOutput,
|
|
97
101
|
} from "../commands/UpdateFlowCommand";
|
|
102
|
+
export declare const se_CancelFlowExecutionsCommand: (
|
|
103
|
+
input: CancelFlowExecutionsCommandInput,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<__HttpRequest>;
|
|
98
106
|
export declare const se_CreateConnectorProfileCommand: (
|
|
99
107
|
input: CreateConnectorProfileCommandInput,
|
|
100
108
|
context: __SerdeContext
|
|
@@ -187,6 +195,10 @@ export declare const se_UpdateFlowCommand: (
|
|
|
187
195
|
input: UpdateFlowCommandInput,
|
|
188
196
|
context: __SerdeContext
|
|
189
197
|
) => Promise<__HttpRequest>;
|
|
198
|
+
export declare const de_CancelFlowExecutionsCommand: (
|
|
199
|
+
output: __HttpResponse,
|
|
200
|
+
context: __SerdeContext
|
|
201
|
+
) => Promise<CancelFlowExecutionsCommandOutput>;
|
|
190
202
|
export declare const de_CreateConnectorProfileCommand: (
|
|
191
203
|
output: __HttpResponse,
|
|
192
204
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appflow",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appflow Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.325.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.325.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.325.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|