@aws-sdk/client-compute-optimizer 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.
package/dist-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./ComputeOptimizer";
2
2
  export * from "./ComputeOptimizerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { ComputeOptimizerServiceException } from "./models/ComputeOptimizerServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ComputeOptimizerServiceException = (function (_super) {
4
+ __extends(ComputeOptimizerServiceException, _super);
5
+ function ComputeOptimizerServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ComputeOptimizerServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ComputeOptimizerServiceException;
11
+ }(__ServiceException));
12
+ export { ComputeOptimizerServiceException };
@@ -1,4 +1,17 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { ComputeOptimizerServiceException as __BaseException } from "./ComputeOptimizerServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ return _this;
11
+ }
12
+ return AccessDeniedException;
13
+ }(__BaseException));
14
+ export { AccessDeniedException };
2
15
  export var Status;
3
16
  (function (Status) {
4
17
  Status["ACTIVE"] = "Active";
@@ -142,6 +155,90 @@ export var DeleteRecommendationPreferencesResponse;
142
155
  (function (DeleteRecommendationPreferencesResponse) {
143
156
  DeleteRecommendationPreferencesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
144
157
  })(DeleteRecommendationPreferencesResponse || (DeleteRecommendationPreferencesResponse = {}));
158
+ var InternalServerException = (function (_super) {
159
+ __extends(InternalServerException, _super);
160
+ function InternalServerException(opts) {
161
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
162
+ _this.name = "InternalServerException";
163
+ _this.$fault = "server";
164
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
165
+ return _this;
166
+ }
167
+ return InternalServerException;
168
+ }(__BaseException));
169
+ export { InternalServerException };
170
+ var InvalidParameterValueException = (function (_super) {
171
+ __extends(InvalidParameterValueException, _super);
172
+ function InvalidParameterValueException(opts) {
173
+ var _this = _super.call(this, __assign({ name: "InvalidParameterValueException", $fault: "client" }, opts)) || this;
174
+ _this.name = "InvalidParameterValueException";
175
+ _this.$fault = "client";
176
+ Object.setPrototypeOf(_this, InvalidParameterValueException.prototype);
177
+ return _this;
178
+ }
179
+ return InvalidParameterValueException;
180
+ }(__BaseException));
181
+ export { InvalidParameterValueException };
182
+ var MissingAuthenticationToken = (function (_super) {
183
+ __extends(MissingAuthenticationToken, _super);
184
+ function MissingAuthenticationToken(opts) {
185
+ var _this = _super.call(this, __assign({ name: "MissingAuthenticationToken", $fault: "client" }, opts)) || this;
186
+ _this.name = "MissingAuthenticationToken";
187
+ _this.$fault = "client";
188
+ Object.setPrototypeOf(_this, MissingAuthenticationToken.prototype);
189
+ return _this;
190
+ }
191
+ return MissingAuthenticationToken;
192
+ }(__BaseException));
193
+ export { MissingAuthenticationToken };
194
+ var OptInRequiredException = (function (_super) {
195
+ __extends(OptInRequiredException, _super);
196
+ function OptInRequiredException(opts) {
197
+ var _this = _super.call(this, __assign({ name: "OptInRequiredException", $fault: "client" }, opts)) || this;
198
+ _this.name = "OptInRequiredException";
199
+ _this.$fault = "client";
200
+ Object.setPrototypeOf(_this, OptInRequiredException.prototype);
201
+ return _this;
202
+ }
203
+ return OptInRequiredException;
204
+ }(__BaseException));
205
+ export { OptInRequiredException };
206
+ var ResourceNotFoundException = (function (_super) {
207
+ __extends(ResourceNotFoundException, _super);
208
+ function ResourceNotFoundException(opts) {
209
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
210
+ _this.name = "ResourceNotFoundException";
211
+ _this.$fault = "client";
212
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
213
+ return _this;
214
+ }
215
+ return ResourceNotFoundException;
216
+ }(__BaseException));
217
+ export { ResourceNotFoundException };
218
+ var ServiceUnavailableException = (function (_super) {
219
+ __extends(ServiceUnavailableException, _super);
220
+ function ServiceUnavailableException(opts) {
221
+ var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
222
+ _this.name = "ServiceUnavailableException";
223
+ _this.$fault = "server";
224
+ Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
225
+ return _this;
226
+ }
227
+ return ServiceUnavailableException;
228
+ }(__BaseException));
229
+ export { ServiceUnavailableException };
230
+ var ThrottlingException = (function (_super) {
231
+ __extends(ThrottlingException, _super);
232
+ function ThrottlingException(opts) {
233
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
234
+ _this.name = "ThrottlingException";
235
+ _this.$fault = "client";
236
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
237
+ return _this;
238
+ }
239
+ return ThrottlingException;
240
+ }(__BaseException));
241
+ export { ThrottlingException };
145
242
  export var JobFilterName;
146
243
  (function (JobFilterName) {
147
244
  JobFilterName["JOB_STATUS"] = "JobStatus";
@@ -265,6 +362,18 @@ export var ExportAutoScalingGroupRecommendationsResponse;
265
362
  (function (ExportAutoScalingGroupRecommendationsResponse) {
266
363
  ExportAutoScalingGroupRecommendationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
267
364
  })(ExportAutoScalingGroupRecommendationsResponse || (ExportAutoScalingGroupRecommendationsResponse = {}));
365
+ var LimitExceededException = (function (_super) {
366
+ __extends(LimitExceededException, _super);
367
+ function LimitExceededException(opts) {
368
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
369
+ _this.name = "LimitExceededException";
370
+ _this.$fault = "client";
371
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
372
+ return _this;
373
+ }
374
+ return LimitExceededException;
375
+ }(__BaseException));
376
+ export { LimitExceededException };
268
377
  export var ExportableVolumeField;
269
378
  (function (ExportableVolumeField) {
270
379
  ExportableVolumeField["ACCOUNT_ID"] = "AccountId";