@aws-sdk/client-amplifybackend 3.51.0 → 3.54.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 "./AmplifyBackend";
2
2
  export * from "./AmplifyBackendClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { AmplifyBackendServiceException } from "./models/AmplifyBackendServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var AmplifyBackendServiceException = (function (_super) {
4
+ __extends(AmplifyBackendServiceException, _super);
5
+ function AmplifyBackendServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, AmplifyBackendServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return AmplifyBackendServiceException;
11
+ }(__ServiceException));
12
+ export { AmplifyBackendServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { AmplifyBackendServiceException as __BaseException } from "./AmplifyBackendServiceException";
2
3
  export var AdditionalConstraintsElement;
3
4
  (function (AdditionalConstraintsElement) {
4
5
  AdditionalConstraintsElement["REQUIRE_DIGIT"] = "REQUIRE_DIGIT";
@@ -6,6 +7,19 @@ export var AdditionalConstraintsElement;
6
7
  AdditionalConstraintsElement["REQUIRE_SYMBOL"] = "REQUIRE_SYMBOL";
7
8
  AdditionalConstraintsElement["REQUIRE_UPPERCASE"] = "REQUIRE_UPPERCASE";
8
9
  })(AdditionalConstraintsElement || (AdditionalConstraintsElement = {}));
10
+ var BadRequestException = (function (_super) {
11
+ __extends(BadRequestException, _super);
12
+ function BadRequestException(opts) {
13
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
14
+ _this.name = "BadRequestException";
15
+ _this.$fault = "client";
16
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
17
+ _this.Message = opts.Message;
18
+ return _this;
19
+ }
20
+ return BadRequestException;
21
+ }(__BaseException));
22
+ export { BadRequestException };
9
23
  export var CloneBackendRequest;
10
24
  (function (CloneBackendRequest) {
11
25
  CloneBackendRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -14,6 +28,47 @@ export var CloneBackendResponse;
14
28
  (function (CloneBackendResponse) {
15
29
  CloneBackendResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
16
30
  })(CloneBackendResponse || (CloneBackendResponse = {}));
31
+ var GatewayTimeoutException = (function (_super) {
32
+ __extends(GatewayTimeoutException, _super);
33
+ function GatewayTimeoutException(opts) {
34
+ var _this = _super.call(this, __assign({ name: "GatewayTimeoutException", $fault: "server" }, opts)) || this;
35
+ _this.name = "GatewayTimeoutException";
36
+ _this.$fault = "server";
37
+ Object.setPrototypeOf(_this, GatewayTimeoutException.prototype);
38
+ _this.Message = opts.Message;
39
+ return _this;
40
+ }
41
+ return GatewayTimeoutException;
42
+ }(__BaseException));
43
+ export { GatewayTimeoutException };
44
+ var NotFoundException = (function (_super) {
45
+ __extends(NotFoundException, _super);
46
+ function NotFoundException(opts) {
47
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
48
+ _this.name = "NotFoundException";
49
+ _this.$fault = "client";
50
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
51
+ _this.Message = opts.Message;
52
+ _this.ResourceType = opts.ResourceType;
53
+ return _this;
54
+ }
55
+ return NotFoundException;
56
+ }(__BaseException));
57
+ export { NotFoundException };
58
+ var TooManyRequestsException = (function (_super) {
59
+ __extends(TooManyRequestsException, _super);
60
+ function TooManyRequestsException(opts) {
61
+ var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
62
+ _this.name = "TooManyRequestsException";
63
+ _this.$fault = "client";
64
+ Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
65
+ _this.LimitType = opts.LimitType;
66
+ _this.Message = opts.Message;
67
+ return _this;
68
+ }
69
+ return TooManyRequestsException;
70
+ }(__BaseException));
71
+ export { TooManyRequestsException };
17
72
  export var ResourceConfig;
18
73
  (function (ResourceConfig) {
19
74
  ResourceConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };