@aws-sdk/client-appflow 3.52.0 → 3.53.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.
@@ -3,3 +3,4 @@ export * from "./AppflowClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { AppflowServiceException } from "./models/AppflowServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Appflow service.
4
+ */
5
+ export declare class AppflowServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,15 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AppflowServiceException as __BaseException } from "./AppflowServiceException";
2
3
  /**
3
4
  * <p>AppFlow/Requester has invalid or missing permissions.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- message?: string;
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
13
  }
10
14
  export declare enum AggregationType {
11
15
  NONE = "None",
@@ -257,10 +261,13 @@ export declare namespace BasicAuthCredentials {
257
261
  * <p> There was a conflict when processing the request (for example, a flow with the given name
258
262
  * already exists within the account. Check for conflicting resource names and try again. </p>
259
263
  */
260
- export interface ConflictException extends __SmithyException, $MetadataBearer {
261
- name: "ConflictException";
262
- $fault: "client";
263
- message?: string;
264
+ export declare class ConflictException extends __BaseException {
265
+ readonly name: "ConflictException";
266
+ readonly $fault: "client";
267
+ /**
268
+ * @internal
269
+ */
270
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
264
271
  }
265
272
  export declare enum ConnectionMode {
266
273
  PRIVATE = "Private",
@@ -269,10 +276,13 @@ export declare enum ConnectionMode {
269
276
  /**
270
277
  * <p> An error occurred when authenticating with the connector endpoint. </p>
271
278
  */
272
- export interface ConnectorAuthenticationException extends __SmithyException, $MetadataBearer {
273
- name: "ConnectorAuthenticationException";
274
- $fault: "client";
275
- message?: string;
279
+ export declare class ConnectorAuthenticationException extends __BaseException {
280
+ readonly name: "ConnectorAuthenticationException";
281
+ readonly $fault: "client";
282
+ /**
283
+ * @internal
284
+ */
285
+ constructor(opts: __ExceptionOptionType<ConnectorAuthenticationException, __BaseException>);
276
286
  }
277
287
  /**
278
288
  * <p> The connector metadata specific to Amazon Connect Customer Profiles. </p>
@@ -2659,10 +2669,13 @@ export declare namespace ConnectorProfileConfig {
2659
2669
  /**
2660
2670
  * <p> An error occurred when retrieving data from the connector endpoint. </p>
2661
2671
  */
2662
- export interface ConnectorServerException extends __SmithyException, $MetadataBearer {
2663
- name: "ConnectorServerException";
2664
- $fault: "client";
2665
- message?: string;
2672
+ export declare class ConnectorServerException extends __BaseException {
2673
+ readonly name: "ConnectorServerException";
2674
+ readonly $fault: "client";
2675
+ /**
2676
+ * @internal
2677
+ */
2678
+ constructor(opts: __ExceptionOptionType<ConnectorServerException, __BaseException>);
2666
2679
  }
2667
2680
  export interface CreateConnectorProfileRequest {
2668
2681
  /**
@@ -2720,27 +2733,36 @@ export declare namespace CreateConnectorProfileResponse {
2720
2733
  * <p> An internal service error occurred during the processing of your request. Try again
2721
2734
  * later. </p>
2722
2735
  */
2723
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
2724
- name: "InternalServerException";
2725
- $fault: "server";
2726
- message?: string;
2736
+ export declare class InternalServerException extends __BaseException {
2737
+ readonly name: "InternalServerException";
2738
+ readonly $fault: "server";
2739
+ /**
2740
+ * @internal
2741
+ */
2742
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
2727
2743
  }
2728
2744
  /**
2729
2745
  * <p> The request would cause a service quota (such as the number of flows) to be exceeded.
2730
2746
  * </p>
2731
2747
  */
2732
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
2733
- name: "ServiceQuotaExceededException";
2734
- $fault: "client";
2735
- message?: string;
2748
+ export declare class ServiceQuotaExceededException extends __BaseException {
2749
+ readonly name: "ServiceQuotaExceededException";
2750
+ readonly $fault: "client";
2751
+ /**
2752
+ * @internal
2753
+ */
2754
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
2736
2755
  }
2737
2756
  /**
2738
2757
  * <p> The request has invalid or missing parameters. </p>
2739
2758
  */
2740
- export interface ValidationException extends __SmithyException, $MetadataBearer {
2741
- name: "ValidationException";
2742
- $fault: "client";
2743
- message?: string;
2759
+ export declare class ValidationException extends __BaseException {
2760
+ readonly name: "ValidationException";
2761
+ readonly $fault: "client";
2762
+ /**
2763
+ * @internal
2764
+ */
2765
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
2744
2766
  }
2745
2767
  /**
2746
2768
  * <p> The settings that determine how Amazon AppFlow handles an error when placing data in the
@@ -3954,10 +3976,13 @@ export declare namespace CreateFlowResponse {
3954
3976
  * <p> The resource specified in the request (such as the source or destination connector
3955
3977
  * profile) is not found. </p>
3956
3978
  */
3957
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
3958
- name: "ResourceNotFoundException";
3959
- $fault: "client";
3960
- message?: string;
3979
+ export declare class ResourceNotFoundException extends __BaseException {
3980
+ readonly name: "ResourceNotFoundException";
3981
+ readonly $fault: "client";
3982
+ /**
3983
+ * @internal
3984
+ */
3985
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
3961
3986
  }
3962
3987
  export interface DeleteConnectorProfileRequest {
3963
3988
  /**
@@ -4683,10 +4708,13 @@ export declare namespace RegisterConnectorResponse {
4683
4708
  * <p>API calls have exceeded the maximum allowed API request rate per account and per Region.
4684
4709
  * </p>
4685
4710
  */
4686
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
4687
- name: "ThrottlingException";
4688
- $fault: "client";
4689
- message?: string;
4711
+ export declare class ThrottlingException extends __BaseException {
4712
+ readonly name: "ThrottlingException";
4713
+ readonly $fault: "client";
4714
+ /**
4715
+ * @internal
4716
+ */
4717
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
4690
4718
  }
4691
4719
  export interface StartFlowRequest {
4692
4720
  /**
@@ -4754,10 +4782,13 @@ export declare namespace StopFlowResponse {
4754
4782
  /**
4755
4783
  * <p> The requested operation is not supported for the current flow. </p>
4756
4784
  */
4757
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
4758
- name: "UnsupportedOperationException";
4759
- $fault: "client";
4760
- message?: string;
4785
+ export declare class UnsupportedOperationException extends __BaseException {
4786
+ readonly name: "UnsupportedOperationException";
4787
+ readonly $fault: "client";
4788
+ /**
4789
+ * @internal
4790
+ */
4791
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
4761
4792
  }
4762
4793
  export interface TagResourceRequest {
4763
4794
  /**
@@ -3,3 +3,4 @@ export * from "./AppflowClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { AppflowServiceException } from "./models/AppflowServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class AppflowServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,9 +1,11 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AppflowServiceException as __BaseException } from "./AppflowServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
6
- message?: string;
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
9
  }
8
10
  export declare enum AggregationType {
9
11
  NONE = "None",
@@ -152,20 +154,22 @@ export declare namespace BasicAuthCredentials {
152
154
  const filterSensitiveLog: (obj: BasicAuthCredentials) => any;
153
155
  }
154
156
 
155
- export interface ConflictException extends __SmithyException, $MetadataBearer {
156
- name: "ConflictException";
157
- $fault: "client";
158
- message?: string;
157
+ export declare class ConflictException extends __BaseException {
158
+ readonly name: "ConflictException";
159
+ readonly $fault: "client";
160
+
161
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
159
162
  }
160
163
  export declare enum ConnectionMode {
161
164
  PRIVATE = "Private",
162
165
  PUBLIC = "Public"
163
166
  }
164
167
 
165
- export interface ConnectorAuthenticationException extends __SmithyException, $MetadataBearer {
166
- name: "ConnectorAuthenticationException";
167
- $fault: "client";
168
- message?: string;
168
+ export declare class ConnectorAuthenticationException extends __BaseException {
169
+ readonly name: "ConnectorAuthenticationException";
170
+ readonly $fault: "client";
171
+
172
+ constructor(opts: __ExceptionOptionType<ConnectorAuthenticationException, __BaseException>);
169
173
  }
170
174
 
171
175
  export interface CustomerProfilesMetadata {
@@ -1628,10 +1632,11 @@ export declare namespace ConnectorProfileConfig {
1628
1632
  const filterSensitiveLog: (obj: ConnectorProfileConfig) => any;
1629
1633
  }
1630
1634
 
1631
- export interface ConnectorServerException extends __SmithyException, $MetadataBearer {
1632
- name: "ConnectorServerException";
1633
- $fault: "client";
1634
- message?: string;
1635
+ export declare class ConnectorServerException extends __BaseException {
1636
+ readonly name: "ConnectorServerException";
1637
+ readonly $fault: "client";
1638
+
1639
+ constructor(opts: __ExceptionOptionType<ConnectorServerException, __BaseException>);
1635
1640
  }
1636
1641
  export interface CreateConnectorProfileRequest {
1637
1642
 
@@ -1660,22 +1665,25 @@ export declare namespace CreateConnectorProfileResponse {
1660
1665
  const filterSensitiveLog: (obj: CreateConnectorProfileResponse) => any;
1661
1666
  }
1662
1667
 
1663
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
1664
- name: "InternalServerException";
1665
- $fault: "server";
1666
- message?: string;
1668
+ export declare class InternalServerException extends __BaseException {
1669
+ readonly name: "InternalServerException";
1670
+ readonly $fault: "server";
1671
+
1672
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
1667
1673
  }
1668
1674
 
1669
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
1670
- name: "ServiceQuotaExceededException";
1671
- $fault: "client";
1672
- message?: string;
1675
+ export declare class ServiceQuotaExceededException extends __BaseException {
1676
+ readonly name: "ServiceQuotaExceededException";
1677
+ readonly $fault: "client";
1678
+
1679
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1673
1680
  }
1674
1681
 
1675
- export interface ValidationException extends __SmithyException, $MetadataBearer {
1676
- name: "ValidationException";
1677
- $fault: "client";
1678
- message?: string;
1682
+ export declare class ValidationException extends __BaseException {
1683
+ readonly name: "ValidationException";
1684
+ readonly $fault: "client";
1685
+
1686
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
1679
1687
  }
1680
1688
 
1681
1689
  export interface ErrorHandlingConfig {
@@ -2331,10 +2339,11 @@ export declare namespace CreateFlowResponse {
2331
2339
  const filterSensitiveLog: (obj: CreateFlowResponse) => any;
2332
2340
  }
2333
2341
 
2334
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
2335
- name: "ResourceNotFoundException";
2336
- $fault: "client";
2337
- message?: string;
2342
+ export declare class ResourceNotFoundException extends __BaseException {
2343
+ readonly name: "ResourceNotFoundException";
2344
+ readonly $fault: "client";
2345
+
2346
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
2338
2347
  }
2339
2348
  export interface DeleteConnectorProfileRequest {
2340
2349
 
@@ -2739,10 +2748,11 @@ export declare namespace RegisterConnectorResponse {
2739
2748
  const filterSensitiveLog: (obj: RegisterConnectorResponse) => any;
2740
2749
  }
2741
2750
 
2742
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
2743
- name: "ThrottlingException";
2744
- $fault: "client";
2745
- message?: string;
2751
+ export declare class ThrottlingException extends __BaseException {
2752
+ readonly name: "ThrottlingException";
2753
+ readonly $fault: "client";
2754
+
2755
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
2746
2756
  }
2747
2757
  export interface StartFlowRequest {
2748
2758
 
@@ -2783,10 +2793,11 @@ export declare namespace StopFlowResponse {
2783
2793
  const filterSensitiveLog: (obj: StopFlowResponse) => any;
2784
2794
  }
2785
2795
 
2786
- export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
2787
- name: "UnsupportedOperationException";
2788
- $fault: "client";
2789
- message?: string;
2796
+ export declare class UnsupportedOperationException extends __BaseException {
2797
+ readonly name: "UnsupportedOperationException";
2798
+ readonly $fault: "client";
2799
+
2800
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
2790
2801
  }
2791
2802
  export interface TagResourceRequest {
2792
2803
 
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.52.0",
4
+ "version": "3.53.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",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"