@aws-sdk/client-emr 3.52.0 → 3.54.1

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.
package/dist-es/index.js CHANGED
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { EMRServiceException } from "./models/EMRServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var EMRServiceException = (function (_super) {
4
+ __extends(EMRServiceException, _super);
5
+ function EMRServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, EMRServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return EMRServiceException;
11
+ }(__ServiceException));
12
+ export { EMRServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { EMRServiceException as __BaseException } from "./EMRServiceException";
2
3
  export var ActionOnFailure;
3
4
  (function (ActionOnFailure) {
4
5
  ActionOnFailure["CANCEL_AND_WAIT"] = "CANCEL_AND_WAIT";
@@ -61,6 +62,33 @@ export var AddInstanceFleetOutput;
61
62
  (function (AddInstanceFleetOutput) {
62
63
  AddInstanceFleetOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
63
64
  })(AddInstanceFleetOutput || (AddInstanceFleetOutput = {}));
65
+ var InternalServerException = (function (_super) {
66
+ __extends(InternalServerException, _super);
67
+ function InternalServerException(opts) {
68
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
69
+ _this.name = "InternalServerException";
70
+ _this.$fault = "server";
71
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
72
+ _this.Message = opts.Message;
73
+ return _this;
74
+ }
75
+ return InternalServerException;
76
+ }(__BaseException));
77
+ export { InternalServerException };
78
+ var InvalidRequestException = (function (_super) {
79
+ __extends(InvalidRequestException, _super);
80
+ function InvalidRequestException(opts) {
81
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
82
+ _this.name = "InvalidRequestException";
83
+ _this.$fault = "client";
84
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
85
+ _this.ErrorCode = opts.ErrorCode;
86
+ _this.Message = opts.Message;
87
+ return _this;
88
+ }
89
+ return InvalidRequestException;
90
+ }(__BaseException));
91
+ export { InvalidRequestException };
64
92
  export var ScalingConstraints;
65
93
  (function (ScalingConstraints) {
66
94
  ScalingConstraints.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -153,6 +181,18 @@ export var AddInstanceGroupsOutput;
153
181
  (function (AddInstanceGroupsOutput) {
154
182
  AddInstanceGroupsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
155
183
  })(AddInstanceGroupsOutput || (AddInstanceGroupsOutput = {}));
184
+ var InternalServerError = (function (_super) {
185
+ __extends(InternalServerError, _super);
186
+ function InternalServerError(opts) {
187
+ var _this = _super.call(this, __assign({ name: "InternalServerError", $fault: "server" }, opts)) || this;
188
+ _this.name = "InternalServerError";
189
+ _this.$fault = "server";
190
+ Object.setPrototypeOf(_this, InternalServerError.prototype);
191
+ return _this;
192
+ }
193
+ return InternalServerError;
194
+ }(__BaseException));
195
+ export { InternalServerError };
156
196
  export var KeyValue;
157
197
  (function (KeyValue) {
158
198
  KeyValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };