@aws-sdk/client-proton 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
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { ProtonServiceException } from "./models/ProtonServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var ProtonServiceException = (function (_super) {
4
+ __extends(ProtonServiceException, _super);
5
+ function ProtonServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, ProtonServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return ProtonServiceException;
11
+ }(__ServiceException));
12
+ export { ProtonServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { ProtonServiceException as __BaseException } from "./ProtonServiceException";
3
4
  export var AcceptEnvironmentAccountConnectionInput;
4
5
  (function (AcceptEnvironmentAccountConnectionInput) {
5
6
  AcceptEnvironmentAccountConnectionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -18,6 +19,82 @@ export var AcceptEnvironmentAccountConnectionOutput;
18
19
  (function (AcceptEnvironmentAccountConnectionOutput) {
19
20
  AcceptEnvironmentAccountConnectionOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
20
21
  })(AcceptEnvironmentAccountConnectionOutput || (AcceptEnvironmentAccountConnectionOutput = {}));
22
+ var AccessDeniedException = (function (_super) {
23
+ __extends(AccessDeniedException, _super);
24
+ function AccessDeniedException(opts) {
25
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
26
+ _this.name = "AccessDeniedException";
27
+ _this.$fault = "client";
28
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
29
+ return _this;
30
+ }
31
+ return AccessDeniedException;
32
+ }(__BaseException));
33
+ export { AccessDeniedException };
34
+ var ConflictException = (function (_super) {
35
+ __extends(ConflictException, _super);
36
+ function ConflictException(opts) {
37
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
38
+ _this.name = "ConflictException";
39
+ _this.$fault = "client";
40
+ Object.setPrototypeOf(_this, ConflictException.prototype);
41
+ return _this;
42
+ }
43
+ return ConflictException;
44
+ }(__BaseException));
45
+ export { ConflictException };
46
+ var InternalServerException = (function (_super) {
47
+ __extends(InternalServerException, _super);
48
+ function InternalServerException(opts) {
49
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
50
+ _this.name = "InternalServerException";
51
+ _this.$fault = "server";
52
+ _this.$retryable = {};
53
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
54
+ return _this;
55
+ }
56
+ return InternalServerException;
57
+ }(__BaseException));
58
+ export { InternalServerException };
59
+ var ResourceNotFoundException = (function (_super) {
60
+ __extends(ResourceNotFoundException, _super);
61
+ function ResourceNotFoundException(opts) {
62
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
63
+ _this.name = "ResourceNotFoundException";
64
+ _this.$fault = "client";
65
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
66
+ return _this;
67
+ }
68
+ return ResourceNotFoundException;
69
+ }(__BaseException));
70
+ export { ResourceNotFoundException };
71
+ var ThrottlingException = (function (_super) {
72
+ __extends(ThrottlingException, _super);
73
+ function ThrottlingException(opts) {
74
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
75
+ _this.name = "ThrottlingException";
76
+ _this.$fault = "client";
77
+ _this.$retryable = {
78
+ throttling: true,
79
+ };
80
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
81
+ return _this;
82
+ }
83
+ return ThrottlingException;
84
+ }(__BaseException));
85
+ export { ThrottlingException };
86
+ var ValidationException = (function (_super) {
87
+ __extends(ValidationException, _super);
88
+ function ValidationException(opts) {
89
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
90
+ _this.name = "ValidationException";
91
+ _this.$fault = "client";
92
+ Object.setPrototypeOf(_this, ValidationException.prototype);
93
+ return _this;
94
+ }
95
+ return ValidationException;
96
+ }(__BaseException));
97
+ export { ValidationException };
21
98
  export var RepositoryProvider;
22
99
  (function (RepositoryProvider) {
23
100
  RepositoryProvider["BITBUCKET"] = "BITBUCKET";
@@ -115,6 +192,18 @@ export var CreateEnvironmentAccountConnectionOutput;
115
192
  (function (CreateEnvironmentAccountConnectionOutput) {
116
193
  CreateEnvironmentAccountConnectionOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
117
194
  })(CreateEnvironmentAccountConnectionOutput || (CreateEnvironmentAccountConnectionOutput = {}));
195
+ var ServiceQuotaExceededException = (function (_super) {
196
+ __extends(ServiceQuotaExceededException, _super);
197
+ function ServiceQuotaExceededException(opts) {
198
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
199
+ _this.name = "ServiceQuotaExceededException";
200
+ _this.$fault = "client";
201
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
202
+ return _this;
203
+ }
204
+ return ServiceQuotaExceededException;
205
+ }(__BaseException));
206
+ export { ServiceQuotaExceededException };
118
207
  export var DeleteEnvironmentAccountConnectionInput;
119
208
  (function (DeleteEnvironmentAccountConnectionInput) {
120
209
  DeleteEnvironmentAccountConnectionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };