@aws-sdk/client-appflow 3.321.1 → 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.
@@ -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
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./CancelFlowExecutionsCommand";
1
2
  export * from "./CreateConnectorProfileCommand";
2
3
  export * from "./CreateFlowCommand";
3
4
  export * from "./DeleteConnectorProfileCommand";
@@ -65,6 +65,7 @@ export interface OAuth2CustomParameter {
65
65
  export declare const OAuth2GrantType: {
66
66
  readonly AUTHORIZATION_CODE: "AUTHORIZATION_CODE";
67
67
  readonly CLIENT_CREDENTIALS: "CLIENT_CREDENTIALS";
68
+ readonly JWT_BEARER: "JWT_BEARER";
68
69
  };
69
70
  export type OAuth2GrantType =
70
71
  (typeof OAuth2GrantType)[keyof typeof OAuth2GrantType];
@@ -95,6 +96,41 @@ export interface BasicAuthCredentials {
95
96
  username: string | undefined;
96
97
  password: string | undefined;
97
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
+ }
98
134
  export declare const CatalogType: {
99
135
  readonly GLUE: "GLUE";
100
136
  };
@@ -145,6 +181,7 @@ export type SalesforceDataTransferApi =
145
181
  export interface SalesforceMetadata {
146
182
  oAuthScopes?: string[];
147
183
  dataTransferApis?: (SalesforceDataTransferApi | string)[];
184
+ oauth2GrantTypesSupported?: (OAuth2GrantType | string)[];
148
185
  }
149
186
  export interface SAPODataMetadata {}
150
187
  export interface ServiceNowMetadata {}
@@ -916,6 +953,8 @@ export interface SalesforceConnectorProfileCredentials {
916
953
  refreshToken?: string;
917
954
  oAuthRequest?: ConnectorOAuthRequest;
918
955
  clientCredentialsArn?: string;
956
+ oAuth2GrantType?: OAuth2GrantType | string;
957
+ jwtToken?: string;
919
958
  }
920
959
  export interface OAuthCredentials {
921
960
  clientId: string | undefined;
@@ -1002,13 +1041,6 @@ export interface CreateConnectorProfileRequest {
1002
1041
  export interface CreateConnectorProfileResponse {
1003
1042
  connectorProfileArn?: string;
1004
1043
  }
1005
- export declare class InternalServerException extends __BaseException {
1006
- readonly name: "InternalServerException";
1007
- readonly $fault: "server";
1008
- constructor(
1009
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
1010
- );
1011
- }
1012
1044
  export declare class ServiceQuotaExceededException extends __BaseException {
1013
1045
  readonly name: "ServiceQuotaExceededException";
1014
1046
  readonly $fault: "client";
@@ -1016,13 +1048,6 @@ export declare class ServiceQuotaExceededException extends __BaseException {
1016
1048
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
1017
1049
  );
1018
1050
  }
1019
- export declare class ValidationException extends __BaseException {
1020
- readonly name: "ValidationException";
1021
- readonly $fault: "client";
1022
- constructor(
1023
- opts: __ExceptionOptionType<ValidationException, __BaseException>
1024
- );
1025
- }
1026
1051
  export interface ErrorHandlingConfig {
1027
1052
  failOnFirstDestinationError?: boolean;
1028
1053
  bucketPrefix?: string;
@@ -1352,13 +1377,6 @@ export interface CreateFlowResponse {
1352
1377
  flowArn?: string;
1353
1378
  flowStatus?: FlowStatus | string;
1354
1379
  }
1355
- export declare class ResourceNotFoundException extends __BaseException {
1356
- readonly name: "ResourceNotFoundException";
1357
- readonly $fault: "client";
1358
- constructor(
1359
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
1360
- );
1361
- }
1362
1380
  export interface DeleteConnectorProfileRequest {
1363
1381
  connectorProfileName: string | undefined;
1364
1382
  forceDelete?: boolean;
@@ -1410,6 +1428,8 @@ export interface DescribeFlowRequest {
1410
1428
  flowName: string | undefined;
1411
1429
  }
1412
1430
  export declare const ExecutionStatus: {
1431
+ readonly CANCELED: "Canceled";
1432
+ readonly CANCELSTARTED: "CancelStarted";
1413
1433
  readonly ERROR: "Error";
1414
1434
  readonly INPROGRESS: "InProgress";
1415
1435
  readonly SUCCESSFUL: "Successful";
@@ -1543,13 +1563,6 @@ export interface RegisterConnectorRequest {
1543
1563
  export interface RegisterConnectorResponse {
1544
1564
  connectorArn?: string;
1545
1565
  }
1546
- export declare class ThrottlingException extends __BaseException {
1547
- readonly name: "ThrottlingException";
1548
- readonly $fault: "client";
1549
- constructor(
1550
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
1551
- );
1552
- }
1553
1566
  export interface StartFlowRequest {
1554
1567
  flowName: string | undefined;
1555
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.321.1",
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.321.1",
24
+ "@aws-sdk/client-sts": "3.325.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
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.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
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.316.0",
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.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
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",