@aws-sdk/client-api-gateway 3.50.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 +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/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/ts3.4/APIGateway.d.ts +592 -0
- package/dist-types/ts3.4/APIGatewayClient.d.ts +193 -0
- package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateBasePathMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRequestValidatorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUsagePlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUsagePlanKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBasePathMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteClientCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGatewayResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMethodResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRequestValidatorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUsagePlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteUsagePlanKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/FlushStageAuthorizersCacheCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/FlushStageCacheCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GenerateClientCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApiKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBasePathMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetBasePathMappingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetClientCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetClientCertificatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGatewayResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGatewayResponsesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMethodResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRequestValidatorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRequestValidatorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRestApisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/GetStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsagePlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsagePlanKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsagePlanKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetUsagePlansCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutGatewayResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutIntegrationResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutMethodResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TestInvokeMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBasePathMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateClientCertificateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateGatewayResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateMethodCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateMethodResponseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRequestValidatorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRestApiCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUsageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateUsagePlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +120 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/APIGatewayServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2996 -0
- package/dist-types/ts3.4/pagination/GetApiKeysPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetBasePathMappingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetClientCertificatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetDeploymentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetDomainNamesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetModelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetRestApisPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetUsagePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetUsagePlanKeysPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetUsagePlansPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetVpcLinksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/index.d.ts +13 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +362 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +34 -34
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";
|