@aws-sdk/client-api-gateway 3.52.0 → 3.54.1
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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/APIGatewayServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +100 -5
- package/dist-cjs/protocols/Aws_restJson1.js +1180 -4913
- package/dist-es/index.js +1 -0
- package/dist-es/models/APIGatewayServiceException.js +12 -0
- package/dist-es/models/models_0.js +89 -1
- package/dist-es/protocols/Aws_restJson1.js +2733 -5401
- package/dist-types/APIGatewayClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/APIGatewayServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/APIGatewayClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/APIGatewayServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +28 -28
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 APIGatewayServiceException = (function (_super) {
|
|
4
|
+
__extends(APIGatewayServiceException, _super);
|
|
5
|
+
function APIGatewayServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, APIGatewayServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return APIGatewayServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { APIGatewayServiceException };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
2
3
|
export var AccessLogSettings;
|
|
3
4
|
(function (AccessLogSettings) {
|
|
4
5
|
AccessLogSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -50,6 +51,30 @@ export var Authorizers;
|
|
|
50
51
|
(function (Authorizers) {
|
|
51
52
|
Authorizers.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
52
53
|
})(Authorizers || (Authorizers = {}));
|
|
54
|
+
var BadRequestException = (function (_super) {
|
|
55
|
+
__extends(BadRequestException, _super);
|
|
56
|
+
function BadRequestException(opts) {
|
|
57
|
+
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
|
|
58
|
+
_this.name = "BadRequestException";
|
|
59
|
+
_this.$fault = "client";
|
|
60
|
+
Object.setPrototypeOf(_this, BadRequestException.prototype);
|
|
61
|
+
return _this;
|
|
62
|
+
}
|
|
63
|
+
return BadRequestException;
|
|
64
|
+
}(__BaseException));
|
|
65
|
+
export { BadRequestException };
|
|
66
|
+
var ConflictException = (function (_super) {
|
|
67
|
+
__extends(ConflictException, _super);
|
|
68
|
+
function ConflictException(opts) {
|
|
69
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
70
|
+
_this.name = "ConflictException";
|
|
71
|
+
_this.$fault = "client";
|
|
72
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
73
|
+
return _this;
|
|
74
|
+
}
|
|
75
|
+
return ConflictException;
|
|
76
|
+
}(__BaseException));
|
|
77
|
+
export { ConflictException };
|
|
53
78
|
export var StageKey;
|
|
54
79
|
(function (StageKey) {
|
|
55
80
|
StageKey.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -58,6 +83,56 @@ export var CreateApiKeyRequest;
|
|
|
58
83
|
(function (CreateApiKeyRequest) {
|
|
59
84
|
CreateApiKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
60
85
|
})(CreateApiKeyRequest || (CreateApiKeyRequest = {}));
|
|
86
|
+
var LimitExceededException = (function (_super) {
|
|
87
|
+
__extends(LimitExceededException, _super);
|
|
88
|
+
function LimitExceededException(opts) {
|
|
89
|
+
var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
|
|
90
|
+
_this.name = "LimitExceededException";
|
|
91
|
+
_this.$fault = "client";
|
|
92
|
+
Object.setPrototypeOf(_this, LimitExceededException.prototype);
|
|
93
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
94
|
+
return _this;
|
|
95
|
+
}
|
|
96
|
+
return LimitExceededException;
|
|
97
|
+
}(__BaseException));
|
|
98
|
+
export { LimitExceededException };
|
|
99
|
+
var NotFoundException = (function (_super) {
|
|
100
|
+
__extends(NotFoundException, _super);
|
|
101
|
+
function NotFoundException(opts) {
|
|
102
|
+
var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
|
|
103
|
+
_this.name = "NotFoundException";
|
|
104
|
+
_this.$fault = "client";
|
|
105
|
+
Object.setPrototypeOf(_this, NotFoundException.prototype);
|
|
106
|
+
return _this;
|
|
107
|
+
}
|
|
108
|
+
return NotFoundException;
|
|
109
|
+
}(__BaseException));
|
|
110
|
+
export { NotFoundException };
|
|
111
|
+
var TooManyRequestsException = (function (_super) {
|
|
112
|
+
__extends(TooManyRequestsException, _super);
|
|
113
|
+
function TooManyRequestsException(opts) {
|
|
114
|
+
var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
|
|
115
|
+
_this.name = "TooManyRequestsException";
|
|
116
|
+
_this.$fault = "client";
|
|
117
|
+
Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
|
|
118
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
119
|
+
return _this;
|
|
120
|
+
}
|
|
121
|
+
return TooManyRequestsException;
|
|
122
|
+
}(__BaseException));
|
|
123
|
+
export { TooManyRequestsException };
|
|
124
|
+
var UnauthorizedException = (function (_super) {
|
|
125
|
+
__extends(UnauthorizedException, _super);
|
|
126
|
+
function UnauthorizedException(opts) {
|
|
127
|
+
var _this = _super.call(this, __assign({ name: "UnauthorizedException", $fault: "client" }, opts)) || this;
|
|
128
|
+
_this.name = "UnauthorizedException";
|
|
129
|
+
_this.$fault = "client";
|
|
130
|
+
Object.setPrototypeOf(_this, UnauthorizedException.prototype);
|
|
131
|
+
return _this;
|
|
132
|
+
}
|
|
133
|
+
return UnauthorizedException;
|
|
134
|
+
}(__BaseException));
|
|
135
|
+
export { UnauthorizedException };
|
|
61
136
|
export var CreateAuthorizerRequest;
|
|
62
137
|
(function (CreateAuthorizerRequest) {
|
|
63
138
|
CreateAuthorizerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -97,6 +172,19 @@ export var Deployment;
|
|
|
97
172
|
(function (Deployment) {
|
|
98
173
|
Deployment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
174
|
})(Deployment || (Deployment = {}));
|
|
175
|
+
var ServiceUnavailableException = (function (_super) {
|
|
176
|
+
__extends(ServiceUnavailableException, _super);
|
|
177
|
+
function ServiceUnavailableException(opts) {
|
|
178
|
+
var _this = _super.call(this, __assign({ name: "ServiceUnavailableException", $fault: "server" }, opts)) || this;
|
|
179
|
+
_this.name = "ServiceUnavailableException";
|
|
180
|
+
_this.$fault = "server";
|
|
181
|
+
Object.setPrototypeOf(_this, ServiceUnavailableException.prototype);
|
|
182
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
183
|
+
return _this;
|
|
184
|
+
}
|
|
185
|
+
return ServiceUnavailableException;
|
|
186
|
+
}(__BaseException));
|
|
187
|
+
export { ServiceUnavailableException };
|
|
100
188
|
export var DocumentationPartType;
|
|
101
189
|
(function (DocumentationPartType) {
|
|
102
190
|
DocumentationPartType["API"] = "API";
|