@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.
Files changed (160) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/APIGatewayServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +100 -5
  5. package/dist-cjs/protocols/Aws_restJson1.js +1180 -4913
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/APIGatewayServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +89 -1
  9. package/dist-es/protocols/Aws_restJson1.js +2733 -5401
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/APIGatewayServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +51 -29
  13. package/dist-types/ts3.4/APIGateway.d.ts +592 -0
  14. package/dist-types/ts3.4/APIGatewayClient.d.ts +193 -0
  15. package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateBasePathMappingCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateDocumentationPartCommand.d.ts +16 -0
  20. package/dist-types/ts3.4/commands/CreateDocumentationVersionCommand.d.ts +16 -0
  21. package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateRequestValidatorCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/CreateRestApiCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/CreateUsagePlanCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/CreateUsagePlanKeyCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/DeleteBasePathMappingCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DeleteClientCertificateCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DeleteDocumentationPartCommand.d.ts +16 -0
  36. package/dist-types/ts3.4/commands/DeleteDocumentationVersionCommand.d.ts +16 -0
  37. package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteGatewayResponseCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteMethodCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeleteMethodResponseCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DeleteRequestValidatorCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DeleteRestApiCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DeleteUsagePlanCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/DeleteUsagePlanKeyCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/FlushStageAuthorizersCacheCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/FlushStageCacheCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GenerateClientCertificateCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetApiKeyCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetApiKeysCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetBasePathMappingCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/GetBasePathMappingsCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/GetClientCertificateCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/GetClientCertificatesCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/GetDocumentationPartCommand.d.ts +16 -0
  66. package/dist-types/ts3.4/commands/GetDocumentationPartsCommand.d.ts +16 -0
  67. package/dist-types/ts3.4/commands/GetDocumentationVersionCommand.d.ts +16 -0
  68. package/dist-types/ts3.4/commands/GetDocumentationVersionsCommand.d.ts +16 -0
  69. package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/GetExportCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/GetGatewayResponseCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/GetGatewayResponsesCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/GetMethodCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/GetMethodResponseCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/GetModelCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/GetRequestValidatorCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/GetRequestValidatorsCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/GetRestApiCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/GetRestApisCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/GetSdkCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/GetSdkTypeCommand.d.ts +16 -0
  89. package/dist-types/ts3.4/commands/GetSdkTypesCommand.d.ts +16 -0
  90. package/dist-types/ts3.4/commands/GetStageCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/GetUsageCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/GetUsagePlanCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/GetUsagePlanKeyCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/GetUsagePlanKeysCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/GetUsagePlansCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/ImportApiKeysCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/ImportDocumentationPartsCommand.d.ts +16 -0
  102. package/dist-types/ts3.4/commands/ImportRestApiCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/PutGatewayResponseCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/PutIntegrationResponseCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/PutMethodCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/PutMethodResponseCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/PutRestApiCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/TestInvokeAuthorizerCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/TestInvokeMethodCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/UpdateAccountCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/UpdateBasePathMappingCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/UpdateClientCertificateCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/UpdateDocumentationPartCommand.d.ts +16 -0
  120. package/dist-types/ts3.4/commands/UpdateDocumentationVersionCommand.d.ts +16 -0
  121. package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/UpdateGatewayResponseCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/UpdateMethodCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/UpdateMethodResponseCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/UpdateRequestValidatorCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/UpdateRestApiCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/UpdateUsageCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/UpdateUsagePlanCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +120 -0
  136. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  137. package/dist-types/ts3.4/index.d.ts +6 -0
  138. package/dist-types/ts3.4/models/APIGatewayServiceException.d.ts +6 -0
  139. package/dist-types/ts3.4/models/index.d.ts +1 -0
  140. package/dist-types/ts3.4/models/models_0.d.ts +2996 -0
  141. package/dist-types/ts3.4/pagination/GetApiKeysPaginator.d.ts +4 -0
  142. package/dist-types/ts3.4/pagination/GetBasePathMappingsPaginator.d.ts +4 -0
  143. package/dist-types/ts3.4/pagination/GetClientCertificatesPaginator.d.ts +4 -0
  144. package/dist-types/ts3.4/pagination/GetDeploymentsPaginator.d.ts +4 -0
  145. package/dist-types/ts3.4/pagination/GetDomainNamesPaginator.d.ts +4 -0
  146. package/dist-types/ts3.4/pagination/GetModelsPaginator.d.ts +4 -0
  147. package/dist-types/ts3.4/pagination/GetResourcesPaginator.d.ts +4 -0
  148. package/dist-types/ts3.4/pagination/GetRestApisPaginator.d.ts +4 -0
  149. package/dist-types/ts3.4/pagination/GetUsagePaginator.d.ts +4 -0
  150. package/dist-types/ts3.4/pagination/GetUsagePlanKeysPaginator.d.ts +4 -0
  151. package/dist-types/ts3.4/pagination/GetUsagePlansPaginator.d.ts +4 -0
  152. package/dist-types/ts3.4/pagination/GetVpcLinksPaginator.d.ts +4 -0
  153. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  154. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  155. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +362 -0
  156. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  157. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  158. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  159. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  160. package/package.json +34 -34
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./APIGatewayClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { APIGatewayServiceException } from "./models/APIGatewayServiceException";
@@ -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";