@aws-sdk/client-emr-containers 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 "./EMRContainersClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { EMRContainersServiceException } from "./models/EMRContainersServiceException";
@@ -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 EMRContainers service.
4
+ */
5
+ export declare class EMRContainersServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { EMRContainersServiceException as __BaseException } from "./EMRContainersServiceException";
2
3
  export interface CancelJobRunRequest {
3
4
  /**
4
5
  * <p>The ID of the job run to cancel.</p>
@@ -34,18 +35,24 @@ export declare namespace CancelJobRunResponse {
34
35
  /**
35
36
  * <p>This is an internal server exception.</p>
36
37
  */
37
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
38
- name: "InternalServerException";
39
- $fault: "server";
40
- message?: string;
38
+ export declare class InternalServerException extends __BaseException {
39
+ readonly name: "InternalServerException";
40
+ readonly $fault: "server";
41
+ /**
42
+ * @internal
43
+ */
44
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
41
45
  }
42
46
  /**
43
47
  * <p>There are invalid parameters in the client request.</p>
44
48
  */
45
- export interface ValidationException extends __SmithyException, $MetadataBearer {
46
- name: "ValidationException";
47
- $fault: "client";
48
- message?: string;
49
+ export declare class ValidationException extends __BaseException {
50
+ readonly name: "ValidationException";
51
+ readonly $fault: "client";
52
+ /**
53
+ * @internal
54
+ */
55
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
49
56
  }
50
57
  /**
51
58
  * <p>A configuration for CloudWatch monitoring. You can configure your jobs to send log information to CloudWatch Logs.</p>
@@ -135,10 +142,13 @@ export declare namespace CreateManagedEndpointResponse {
135
142
  /**
136
143
  * <p>The specified resource was not found.</p>
137
144
  */
138
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
139
- name: "ResourceNotFoundException";
140
- $fault: "client";
141
- message?: string;
145
+ export declare class ResourceNotFoundException extends __BaseException {
146
+ readonly name: "ResourceNotFoundException";
147
+ readonly $fault: "client";
148
+ /**
149
+ * @internal
150
+ */
151
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
142
152
  }
143
153
  /**
144
154
  * <p>The information about the EKS cluster.</p>
@@ -3,3 +3,4 @@ export * from "./EMRContainersClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { EMRContainersServiceException } from "./models/EMRContainersServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class EMRContainersServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { EMRContainersServiceException as __BaseException } from "./EMRContainersServiceException";
2
3
  export interface CancelJobRunRequest {
3
4
 
4
5
  id: string | undefined;
@@ -20,16 +21,18 @@ export declare namespace CancelJobRunResponse {
20
21
  const filterSensitiveLog: (obj: CancelJobRunResponse) => any;
21
22
  }
22
23
 
23
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
24
- name: "InternalServerException";
25
- $fault: "server";
26
- message?: string;
24
+ export declare class InternalServerException extends __BaseException {
25
+ readonly name: "InternalServerException";
26
+ readonly $fault: "server";
27
+
28
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
27
29
  }
28
30
 
29
- export interface ValidationException extends __SmithyException, $MetadataBearer {
30
- name: "ValidationException";
31
- $fault: "client";
32
- message?: string;
31
+ export declare class ValidationException extends __BaseException {
32
+ readonly name: "ValidationException";
33
+ readonly $fault: "client";
34
+
35
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
33
36
  }
34
37
 
35
38
  export interface CloudWatchMonitoringConfiguration {
@@ -83,10 +86,11 @@ export declare namespace CreateManagedEndpointResponse {
83
86
  const filterSensitiveLog: (obj: CreateManagedEndpointResponse) => any;
84
87
  }
85
88
 
86
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
87
- name: "ResourceNotFoundException";
88
- $fault: "client";
89
- message?: string;
89
+ export declare class ResourceNotFoundException extends __BaseException {
90
+ readonly name: "ResourceNotFoundException";
91
+ readonly $fault: "client";
92
+
93
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
90
94
  }
91
95
 
92
96
  export interface EksInfo {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-containers",
3
3
  "description": "AWS SDK for JavaScript Emr Containers 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",