@aws-sdk/client-mwaa 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 "./MWAAClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MWAAServiceException } from "./models/MWAAServiceException";
@@ -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 MWAA service.
4
+ */
5
+ export declare class MWAAServiceException 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 { MWAAServiceException as __BaseException } from "./MWAAServiceException";
2
3
  /**
3
4
  * <p>Access to the Apache Airflow Web UI or CLI has been denied due to insufficient permissions. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/access-policies.html">Accessing an Amazon MWAA environment</a>.</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
  export interface CreateCliTokenRequest {
11
16
  /**
@@ -38,10 +43,13 @@ export declare namespace CreateCliTokenResponse {
38
43
  /**
39
44
  * <p>ResourceNotFoundException: The resource is not available.</p>
40
45
  */
41
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
42
- name: "ResourceNotFoundException";
43
- $fault: "client";
44
- message?: string;
46
+ export declare class ResourceNotFoundException extends __BaseException {
47
+ readonly name: "ResourceNotFoundException";
48
+ readonly $fault: "client";
49
+ /**
50
+ * @internal
51
+ */
52
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
45
53
  }
46
54
  export declare enum LoggingLevel {
47
55
  CRITICAL = "CRITICAL",
@@ -241,18 +249,24 @@ export declare namespace CreateEnvironmentOutput {
241
249
  /**
242
250
  * <p>InternalServerException: An internal error has occurred.</p>
243
251
  */
244
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
245
- name: "InternalServerException";
246
- $fault: "server";
247
- message?: string;
252
+ export declare class InternalServerException extends __BaseException {
253
+ readonly name: "InternalServerException";
254
+ readonly $fault: "server";
255
+ /**
256
+ * @internal
257
+ */
258
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
248
259
  }
249
260
  /**
250
261
  * <p>ValidationException: The provided input is not valid.</p>
251
262
  */
252
- export interface ValidationException extends __SmithyException, $MetadataBearer {
253
- name: "ValidationException";
254
- $fault: "client";
255
- message?: string;
263
+ export declare class ValidationException extends __BaseException {
264
+ readonly name: "ValidationException";
265
+ readonly $fault: "client";
266
+ /**
267
+ * @internal
268
+ */
269
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
256
270
  }
257
271
  export interface CreateWebLoginTokenRequest {
258
272
  /**
@@ -3,3 +3,4 @@ export * from "./MWAAClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MWAAServiceException } from "./models/MWAAServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class MWAAServiceException 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 { MWAAServiceException as __BaseException } from "./MWAAServiceException";
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
  export interface CreateCliTokenRequest {
9
12
 
@@ -24,10 +27,11 @@ export declare namespace CreateCliTokenResponse {
24
27
  const filterSensitiveLog: (obj: CreateCliTokenResponse) => any;
25
28
  }
26
29
 
27
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
28
- name: "ResourceNotFoundException";
29
- $fault: "client";
30
- message?: string;
30
+ export declare class ResourceNotFoundException extends __BaseException {
31
+ readonly name: "ResourceNotFoundException";
32
+ readonly $fault: "client";
33
+
34
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
31
35
  }
32
36
  export declare enum LoggingLevel {
33
37
  CRITICAL = "CRITICAL",
@@ -139,16 +143,18 @@ export declare namespace CreateEnvironmentOutput {
139
143
  const filterSensitiveLog: (obj: CreateEnvironmentOutput) => any;
140
144
  }
141
145
 
142
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
143
- name: "InternalServerException";
144
- $fault: "server";
145
- message?: string;
146
+ export declare class InternalServerException extends __BaseException {
147
+ readonly name: "InternalServerException";
148
+ readonly $fault: "server";
149
+
150
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
146
151
  }
147
152
 
148
- export interface ValidationException extends __SmithyException, $MetadataBearer {
149
- name: "ValidationException";
150
- $fault: "client";
151
- message?: string;
153
+ export declare class ValidationException extends __BaseException {
154
+ readonly name: "ValidationException";
155
+ readonly $fault: "client";
156
+
157
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
152
158
  }
153
159
  export interface CreateWebLoginTokenRequest {
154
160
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mwaa",
3
3
  "description": "AWS SDK for JavaScript Mwaa 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"