@aws-sdk/client-amplify 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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AmplifyServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +95 -2
- package/dist-cjs/protocols/Aws_restJson1.js +384 -1418
- package/dist-es/index.js +1 -0
- package/dist-es/models/AmplifyServiceException.js +12 -0
- package/dist-es/models/models_0.js +87 -1
- package/dist-es/protocols/Aws_restJson1.js +831 -1574
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AmplifyServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AmplifyServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- package/package.json +25 -25
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var AmplifyServiceException = (function (_super) {
|
|
4
|
+
__extends(AmplifyServiceException, _super);
|
|
5
|
+
function AmplifyServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, AmplifyServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return AmplifyServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { AmplifyServiceException };
|
|
@@ -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 { AmplifyServiceException as __BaseException } from "./AmplifyServiceException";
|
|
4
|
+
var BadRequestException = (function (_super) {
|
|
5
|
+
__extends(BadRequestException, _super);
|
|
6
|
+
function BadRequestException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "BadRequestException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, BadRequestException.prototype);
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
return BadRequestException;
|
|
14
|
+
}(__BaseException));
|
|
15
|
+
export { BadRequestException };
|
|
3
16
|
export var Stage;
|
|
4
17
|
(function (Stage) {
|
|
5
18
|
Stage["BETA"] = "BETA";
|
|
@@ -40,6 +53,54 @@ export var CreateAppResult;
|
|
|
40
53
|
(function (CreateAppResult) {
|
|
41
54
|
CreateAppResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.app && { app: App.filterSensitiveLog(obj.app) }))); };
|
|
42
55
|
})(CreateAppResult || (CreateAppResult = {}));
|
|
56
|
+
var DependentServiceFailureException = (function (_super) {
|
|
57
|
+
__extends(DependentServiceFailureException, _super);
|
|
58
|
+
function DependentServiceFailureException(opts) {
|
|
59
|
+
var _this = _super.call(this, __assign({ name: "DependentServiceFailureException", $fault: "server" }, opts)) || this;
|
|
60
|
+
_this.name = "DependentServiceFailureException";
|
|
61
|
+
_this.$fault = "server";
|
|
62
|
+
Object.setPrototypeOf(_this, DependentServiceFailureException.prototype);
|
|
63
|
+
return _this;
|
|
64
|
+
}
|
|
65
|
+
return DependentServiceFailureException;
|
|
66
|
+
}(__BaseException));
|
|
67
|
+
export { DependentServiceFailureException };
|
|
68
|
+
var InternalFailureException = (function (_super) {
|
|
69
|
+
__extends(InternalFailureException, _super);
|
|
70
|
+
function InternalFailureException(opts) {
|
|
71
|
+
var _this = _super.call(this, __assign({ name: "InternalFailureException", $fault: "server" }, opts)) || this;
|
|
72
|
+
_this.name = "InternalFailureException";
|
|
73
|
+
_this.$fault = "server";
|
|
74
|
+
Object.setPrototypeOf(_this, InternalFailureException.prototype);
|
|
75
|
+
return _this;
|
|
76
|
+
}
|
|
77
|
+
return InternalFailureException;
|
|
78
|
+
}(__BaseException));
|
|
79
|
+
export { InternalFailureException };
|
|
80
|
+
var LimitExceededException = (function (_super) {
|
|
81
|
+
__extends(LimitExceededException, _super);
|
|
82
|
+
function LimitExceededException(opts) {
|
|
83
|
+
var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
|
|
84
|
+
_this.name = "LimitExceededException";
|
|
85
|
+
_this.$fault = "client";
|
|
86
|
+
Object.setPrototypeOf(_this, LimitExceededException.prototype);
|
|
87
|
+
return _this;
|
|
88
|
+
}
|
|
89
|
+
return LimitExceededException;
|
|
90
|
+
}(__BaseException));
|
|
91
|
+
export { LimitExceededException };
|
|
92
|
+
var UnauthorizedException = (function (_super) {
|
|
93
|
+
__extends(UnauthorizedException, _super);
|
|
94
|
+
function UnauthorizedException(opts) {
|
|
95
|
+
var _this = _super.call(this, __assign({ name: "UnauthorizedException", $fault: "client" }, opts)) || this;
|
|
96
|
+
_this.name = "UnauthorizedException";
|
|
97
|
+
_this.$fault = "client";
|
|
98
|
+
Object.setPrototypeOf(_this, UnauthorizedException.prototype);
|
|
99
|
+
return _this;
|
|
100
|
+
}
|
|
101
|
+
return UnauthorizedException;
|
|
102
|
+
}(__BaseException));
|
|
103
|
+
export { UnauthorizedException };
|
|
43
104
|
export var CreateBackendEnvironmentRequest;
|
|
44
105
|
(function (CreateBackendEnvironmentRequest) {
|
|
45
106
|
CreateBackendEnvironmentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -52,6 +113,18 @@ export var CreateBackendEnvironmentResult;
|
|
|
52
113
|
(function (CreateBackendEnvironmentResult) {
|
|
53
114
|
CreateBackendEnvironmentResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
115
|
})(CreateBackendEnvironmentResult || (CreateBackendEnvironmentResult = {}));
|
|
116
|
+
var NotFoundException = (function (_super) {
|
|
117
|
+
__extends(NotFoundException, _super);
|
|
118
|
+
function NotFoundException(opts) {
|
|
119
|
+
var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
|
|
120
|
+
_this.name = "NotFoundException";
|
|
121
|
+
_this.$fault = "client";
|
|
122
|
+
Object.setPrototypeOf(_this, NotFoundException.prototype);
|
|
123
|
+
return _this;
|
|
124
|
+
}
|
|
125
|
+
return NotFoundException;
|
|
126
|
+
}(__BaseException));
|
|
127
|
+
export { NotFoundException };
|
|
55
128
|
export var CreateBranchRequest;
|
|
56
129
|
(function (CreateBranchRequest) {
|
|
57
130
|
CreateBranchRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.basicAuthCredentials && { basicAuthCredentials: SENSITIVE_STRING }))); };
|
|
@@ -316,6 +389,19 @@ export var ListTagsForResourceResponse;
|
|
|
316
389
|
(function (ListTagsForResourceResponse) {
|
|
317
390
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
318
391
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
392
|
+
var ResourceNotFoundException = (function (_super) {
|
|
393
|
+
__extends(ResourceNotFoundException, _super);
|
|
394
|
+
function ResourceNotFoundException(opts) {
|
|
395
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
396
|
+
_this.name = "ResourceNotFoundException";
|
|
397
|
+
_this.$fault = "client";
|
|
398
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
399
|
+
_this.code = opts.code;
|
|
400
|
+
return _this;
|
|
401
|
+
}
|
|
402
|
+
return ResourceNotFoundException;
|
|
403
|
+
}(__BaseException));
|
|
404
|
+
export { ResourceNotFoundException };
|
|
319
405
|
export var ListWebhooksRequest;
|
|
320
406
|
(function (ListWebhooksRequest) {
|
|
321
407
|
ListWebhooksRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|