@aws-sdk/client-resiliencehub 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
@@ -3,3 +3,4 @@ export * from "./ResiliencehubClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ResiliencehubServiceException } from "./models/ResiliencehubServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ResiliencehubServiceException = (function (_super) {
4
+ __extends(ResiliencehubServiceException, _super);
5
+ function ResiliencehubServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ResiliencehubServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ResiliencehubServiceException;
11
+ }(__ServiceException));
12
+ export { ResiliencehubServiceException };
@@ -1,5 +1,18 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { ResiliencehubServiceException as __BaseException } from "./ResiliencehubServiceException";
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ return _this;
12
+ }
13
+ return AccessDeniedException;
14
+ }(__BaseException));
15
+ export { AccessDeniedException };
3
16
  export var ResourceMappingType;
4
17
  (function (ResourceMappingType) {
5
18
  ResourceMappingType["APP_REGISTRY_APP"] = "AppRegistryApp";
@@ -28,6 +41,71 @@ export var AddDraftAppVersionResourceMappingsResponse;
28
41
  (function (AddDraftAppVersionResourceMappingsResponse) {
29
42
  AddDraftAppVersionResourceMappingsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
30
43
  })(AddDraftAppVersionResourceMappingsResponse || (AddDraftAppVersionResourceMappingsResponse = {}));
44
+ var ConflictException = (function (_super) {
45
+ __extends(ConflictException, _super);
46
+ function ConflictException(opts) {
47
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
48
+ _this.name = "ConflictException";
49
+ _this.$fault = "client";
50
+ Object.setPrototypeOf(_this, ConflictException.prototype);
51
+ _this.resourceId = opts.resourceId;
52
+ _this.resourceType = opts.resourceType;
53
+ return _this;
54
+ }
55
+ return ConflictException;
56
+ }(__BaseException));
57
+ export { ConflictException };
58
+ var InternalServerException = (function (_super) {
59
+ __extends(InternalServerException, _super);
60
+ function InternalServerException(opts) {
61
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
62
+ _this.name = "InternalServerException";
63
+ _this.$fault = "server";
64
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
65
+ return _this;
66
+ }
67
+ return InternalServerException;
68
+ }(__BaseException));
69
+ export { InternalServerException };
70
+ var ResourceNotFoundException = (function (_super) {
71
+ __extends(ResourceNotFoundException, _super);
72
+ function ResourceNotFoundException(opts) {
73
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
74
+ _this.name = "ResourceNotFoundException";
75
+ _this.$fault = "client";
76
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
77
+ _this.resourceId = opts.resourceId;
78
+ _this.resourceType = opts.resourceType;
79
+ return _this;
80
+ }
81
+ return ResourceNotFoundException;
82
+ }(__BaseException));
83
+ export { ResourceNotFoundException };
84
+ var ThrottlingException = (function (_super) {
85
+ __extends(ThrottlingException, _super);
86
+ function ThrottlingException(opts) {
87
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
88
+ _this.name = "ThrottlingException";
89
+ _this.$fault = "client";
90
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
91
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
92
+ return _this;
93
+ }
94
+ return ThrottlingException;
95
+ }(__BaseException));
96
+ export { ThrottlingException };
97
+ var ValidationException = (function (_super) {
98
+ __extends(ValidationException, _super);
99
+ function ValidationException(opts) {
100
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
101
+ _this.name = "ValidationException";
102
+ _this.$fault = "client";
103
+ Object.setPrototypeOf(_this, ValidationException.prototype);
104
+ return _this;
105
+ }
106
+ return ValidationException;
107
+ }(__BaseException));
108
+ export { ValidationException };
31
109
  export var RecommendationItem;
32
110
  (function (RecommendationItem) {
33
111
  RecommendationItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -164,6 +242,18 @@ export var CreateAppResponse;
164
242
  (function (CreateAppResponse) {
165
243
  CreateAppResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.app && { app: App.filterSensitiveLog(obj.app) }))); };
166
244
  })(CreateAppResponse || (CreateAppResponse = {}));
245
+ var ServiceQuotaExceededException = (function (_super) {
246
+ __extends(ServiceQuotaExceededException, _super);
247
+ function ServiceQuotaExceededException(opts) {
248
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
249
+ _this.name = "ServiceQuotaExceededException";
250
+ _this.$fault = "client";
251
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
252
+ return _this;
253
+ }
254
+ return ServiceQuotaExceededException;
255
+ }(__BaseException));
256
+ export { ServiceQuotaExceededException };
167
257
  export var TemplateFormat;
168
258
  (function (TemplateFormat) {
169
259
  TemplateFormat["CFN_JSON"] = "CfnJson";