@aws-sdk/client-appintegrations 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.
@@ -2,3 +2,4 @@ export * from "./AppIntegrations";
2
2
  export * from "./AppIntegrationsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { AppIntegrationsServiceException } from "./models/AppIntegrationsServiceException";
@@ -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 AppIntegrations service.
4
+ */
5
+ export declare class AppIntegrationsServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AppIntegrationsServiceException as __BaseException } from "./AppIntegrationsServiceException";
2
3
  /**
3
4
  * <p>You do not have sufficient access to perform this action.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  /**
11
16
  * <p>The name of the data and how often it should be pulled from the source.</p>
@@ -119,42 +124,62 @@ export declare namespace CreateDataIntegrationResponse {
119
124
  /**
120
125
  * <p>A resource with the specified name already exists.</p>
121
126
  */
122
- export interface DuplicateResourceException extends __SmithyException, $MetadataBearer {
123
- name: "DuplicateResourceException";
124
- $fault: "client";
127
+ export declare class DuplicateResourceException extends __BaseException {
128
+ readonly name: "DuplicateResourceException";
129
+ readonly $fault: "client";
125
130
  Message?: string;
131
+ /**
132
+ * @internal
133
+ */
134
+ constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
126
135
  }
127
136
  /**
128
137
  * <p>Request processing failed due to an error or failure with the service.</p>
129
138
  */
130
- export interface InternalServiceError extends __SmithyException, $MetadataBearer {
131
- name: "InternalServiceError";
132
- $fault: "server";
139
+ export declare class InternalServiceError extends __BaseException {
140
+ readonly name: "InternalServiceError";
141
+ readonly $fault: "server";
133
142
  Message?: string;
143
+ /**
144
+ * @internal
145
+ */
146
+ constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
134
147
  }
135
148
  /**
136
149
  * <p>The request is not valid. </p>
137
150
  */
138
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
139
- name: "InvalidRequestException";
140
- $fault: "client";
151
+ export declare class InvalidRequestException extends __BaseException {
152
+ readonly name: "InvalidRequestException";
153
+ readonly $fault: "client";
141
154
  Message?: string;
155
+ /**
156
+ * @internal
157
+ */
158
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
142
159
  }
143
160
  /**
144
161
  * <p>The allowed quota for the resource has been exceeded.</p>
145
162
  */
146
- export interface ResourceQuotaExceededException extends __SmithyException, $MetadataBearer {
147
- name: "ResourceQuotaExceededException";
148
- $fault: "client";
163
+ export declare class ResourceQuotaExceededException extends __BaseException {
164
+ readonly name: "ResourceQuotaExceededException";
165
+ readonly $fault: "client";
149
166
  Message?: string;
167
+ /**
168
+ * @internal
169
+ */
170
+ constructor(opts: __ExceptionOptionType<ResourceQuotaExceededException, __BaseException>);
150
171
  }
151
172
  /**
152
173
  * <p>The throttling limit has been exceeded.</p>
153
174
  */
154
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
155
- name: "ThrottlingException";
156
- $fault: "client";
175
+ export declare class ThrottlingException extends __BaseException {
176
+ readonly name: "ThrottlingException";
177
+ readonly $fault: "client";
157
178
  Message?: string;
179
+ /**
180
+ * @internal
181
+ */
182
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
158
183
  }
159
184
  /**
160
185
  * <p>The event filter.</p>
@@ -241,10 +266,14 @@ export declare namespace DeleteDataIntegrationResponse {
241
266
  /**
242
267
  * <p>The specified resource was not found.</p>
243
268
  */
244
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
245
- name: "ResourceNotFoundException";
246
- $fault: "client";
269
+ export declare class ResourceNotFoundException extends __BaseException {
270
+ readonly name: "ResourceNotFoundException";
271
+ readonly $fault: "client";
247
272
  Message?: string;
273
+ /**
274
+ * @internal
275
+ */
276
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
248
277
  }
249
278
  export interface DeleteEventIntegrationRequest {
250
279
  /**
@@ -2,3 +2,4 @@ export * from "./AppIntegrations";
2
2
  export * from "./AppIntegrationsClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { AppIntegrationsServiceException } from "./models/AppIntegrationsServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class AppIntegrationsServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,9 +1,12 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AppIntegrationsServiceException as __BaseException } from "./AppIntegrationsServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
6
7
  Message?: string;
8
+
9
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
10
  }
8
11
 
9
12
  export interface ScheduleConfiguration {
@@ -67,34 +70,44 @@ export declare namespace CreateDataIntegrationResponse {
67
70
  const filterSensitiveLog: (obj: CreateDataIntegrationResponse) => any;
68
71
  }
69
72
 
70
- export interface DuplicateResourceException extends __SmithyException, $MetadataBearer {
71
- name: "DuplicateResourceException";
72
- $fault: "client";
73
+ export declare class DuplicateResourceException extends __BaseException {
74
+ readonly name: "DuplicateResourceException";
75
+ readonly $fault: "client";
73
76
  Message?: string;
77
+
78
+ constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
74
79
  }
75
80
 
76
- export interface InternalServiceError extends __SmithyException, $MetadataBearer {
77
- name: "InternalServiceError";
78
- $fault: "server";
81
+ export declare class InternalServiceError extends __BaseException {
82
+ readonly name: "InternalServiceError";
83
+ readonly $fault: "server";
79
84
  Message?: string;
85
+
86
+ constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
80
87
  }
81
88
 
82
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
83
- name: "InvalidRequestException";
84
- $fault: "client";
89
+ export declare class InvalidRequestException extends __BaseException {
90
+ readonly name: "InvalidRequestException";
91
+ readonly $fault: "client";
85
92
  Message?: string;
93
+
94
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
86
95
  }
87
96
 
88
- export interface ResourceQuotaExceededException extends __SmithyException, $MetadataBearer {
89
- name: "ResourceQuotaExceededException";
90
- $fault: "client";
97
+ export declare class ResourceQuotaExceededException extends __BaseException {
98
+ readonly name: "ResourceQuotaExceededException";
99
+ readonly $fault: "client";
91
100
  Message?: string;
101
+
102
+ constructor(opts: __ExceptionOptionType<ResourceQuotaExceededException, __BaseException>);
92
103
  }
93
104
 
94
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
95
- name: "ThrottlingException";
96
- $fault: "client";
105
+ export declare class ThrottlingException extends __BaseException {
106
+ readonly name: "ThrottlingException";
107
+ readonly $fault: "client";
97
108
  Message?: string;
109
+
110
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
98
111
  }
99
112
 
100
113
  export interface EventFilter {
@@ -148,10 +161,12 @@ export declare namespace DeleteDataIntegrationResponse {
148
161
  const filterSensitiveLog: (obj: DeleteDataIntegrationResponse) => any;
149
162
  }
150
163
 
151
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
152
- name: "ResourceNotFoundException";
153
- $fault: "client";
164
+ export declare class ResourceNotFoundException extends __BaseException {
165
+ readonly name: "ResourceNotFoundException";
166
+ readonly $fault: "client";
154
167
  Message?: string;
168
+
169
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
155
170
  }
156
171
  export interface DeleteEventIntegrationRequest {
157
172
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appintegrations",
3
3
  "description": "AWS SDK for JavaScript Appintegrations 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",