@aws-sdk/client-devops-guru 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 "./DevOpsGuruClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { DevOpsGuruServiceException } from "./models/DevOpsGuruServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var DevOpsGuruServiceException = (function (_super) {
4
+ __extends(DevOpsGuruServiceException, _super);
5
+ function DevOpsGuruServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, DevOpsGuruServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return DevOpsGuruServiceException;
11
+ }(__ServiceException));
12
+ export { DevOpsGuruServiceException };
@@ -1,4 +1,18 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { DevOpsGuruServiceException as __BaseException } from "./DevOpsGuruServiceException";
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
+ _this.Message = opts.Message;
11
+ return _this;
12
+ }
13
+ return AccessDeniedException;
14
+ }(__BaseException));
15
+ export { AccessDeniedException };
2
16
  export var AccountInsightHealth;
3
17
  (function (AccountInsightHealth) {
4
18
  AccountInsightHealth.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -23,6 +37,79 @@ export var AddNotificationChannelResponse;
23
37
  (function (AddNotificationChannelResponse) {
24
38
  AddNotificationChannelResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
39
  })(AddNotificationChannelResponse || (AddNotificationChannelResponse = {}));
40
+ var ConflictException = (function (_super) {
41
+ __extends(ConflictException, _super);
42
+ function ConflictException(opts) {
43
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
44
+ _this.name = "ConflictException";
45
+ _this.$fault = "client";
46
+ Object.setPrototypeOf(_this, ConflictException.prototype);
47
+ _this.Message = opts.Message;
48
+ _this.ResourceId = opts.ResourceId;
49
+ _this.ResourceType = opts.ResourceType;
50
+ return _this;
51
+ }
52
+ return ConflictException;
53
+ }(__BaseException));
54
+ export { ConflictException };
55
+ var InternalServerException = (function (_super) {
56
+ __extends(InternalServerException, _super);
57
+ function InternalServerException(opts) {
58
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
59
+ _this.name = "InternalServerException";
60
+ _this.$fault = "server";
61
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
62
+ _this.Message = opts.Message;
63
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
64
+ return _this;
65
+ }
66
+ return InternalServerException;
67
+ }(__BaseException));
68
+ export { InternalServerException };
69
+ var ResourceNotFoundException = (function (_super) {
70
+ __extends(ResourceNotFoundException, _super);
71
+ function ResourceNotFoundException(opts) {
72
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
73
+ _this.name = "ResourceNotFoundException";
74
+ _this.$fault = "client";
75
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
76
+ _this.Message = opts.Message;
77
+ _this.ResourceId = opts.ResourceId;
78
+ _this.ResourceType = opts.ResourceType;
79
+ return _this;
80
+ }
81
+ return ResourceNotFoundException;
82
+ }(__BaseException));
83
+ export { ResourceNotFoundException };
84
+ var ServiceQuotaExceededException = (function (_super) {
85
+ __extends(ServiceQuotaExceededException, _super);
86
+ function ServiceQuotaExceededException(opts) {
87
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
88
+ _this.name = "ServiceQuotaExceededException";
89
+ _this.$fault = "client";
90
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
91
+ _this.Message = opts.Message;
92
+ return _this;
93
+ }
94
+ return ServiceQuotaExceededException;
95
+ }(__BaseException));
96
+ export { ServiceQuotaExceededException };
97
+ var ThrottlingException = (function (_super) {
98
+ __extends(ThrottlingException, _super);
99
+ function ThrottlingException(opts) {
100
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
101
+ _this.name = "ThrottlingException";
102
+ _this.$fault = "client";
103
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
104
+ _this.Message = opts.Message;
105
+ _this.QuotaCode = opts.QuotaCode;
106
+ _this.ServiceCode = opts.ServiceCode;
107
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
108
+ return _this;
109
+ }
110
+ return ThrottlingException;
111
+ }(__BaseException));
112
+ export { ThrottlingException };
26
113
  export var ValidationExceptionField;
27
114
  (function (ValidationExceptionField) {
28
115
  ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -36,6 +123,21 @@ export var ValidationExceptionReason;
36
123
  ValidationExceptionReason["PARAMETER_INCONSISTENT_WITH_SERVICE_STATE"] = "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE";
37
124
  ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
38
125
  })(ValidationExceptionReason || (ValidationExceptionReason = {}));
126
+ var ValidationException = (function (_super) {
127
+ __extends(ValidationException, _super);
128
+ function ValidationException(opts) {
129
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
130
+ _this.name = "ValidationException";
131
+ _this.$fault = "client";
132
+ Object.setPrototypeOf(_this, ValidationException.prototype);
133
+ _this.Message = opts.Message;
134
+ _this.Reason = opts.Reason;
135
+ _this.Fields = opts.Fields;
136
+ return _this;
137
+ }
138
+ return ValidationException;
139
+ }(__BaseException));
140
+ export { ValidationException };
39
141
  export var AnomalyReportedTimeRange;
40
142
  (function (AnomalyReportedTimeRange) {
41
143
  AnomalyReportedTimeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };