@aws-sdk/client-api-gateway 3.238.0 → 3.245.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-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +25 -5
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +20 -0
- package/dist-types/APIGateway.d.ts +1 -1
- package/dist-types/APIGatewayClient.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +27 -18
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +17 -9
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://apigateway-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://apigateway.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://apigateway.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateVpcLinkRequestFilterSensitiveLog = exports.UpdateUsagePlanRequestFilterSensitiveLog = exports.UpdateUsageRequestFilterSensitiveLog = exports.UpdateStageRequestFilterSensitiveLog = exports.UpdateRestApiRequestFilterSensitiveLog = exports.UpdateResourceRequestFilterSensitiveLog = exports.UpdateRequestValidatorRequestFilterSensitiveLog = exports.UpdateModelRequestFilterSensitiveLog = exports.UpdateMethodResponseRequestFilterSensitiveLog = void 0;
|
|
3
|
+
exports.EndpointConfigurationFilterSensitiveLog = exports.DocumentationVersionFilterSensitiveLog = exports.CreateDocumentationVersionRequestFilterSensitiveLog = exports.DocumentationPartFilterSensitiveLog = exports.CreateDocumentationPartRequestFilterSensitiveLog = exports.DocumentationPartLocationFilterSensitiveLog = exports.DeploymentFilterSensitiveLog = exports.MethodSnapshotFilterSensitiveLog = exports.CreateDeploymentRequestFilterSensitiveLog = exports.DeploymentCanarySettingsFilterSensitiveLog = exports.CreateBasePathMappingRequestFilterSensitiveLog = exports.BasePathMappingFilterSensitiveLog = exports.CreateAuthorizerRequestFilterSensitiveLog = exports.CreateApiKeyRequestFilterSensitiveLog = exports.StageKeyFilterSensitiveLog = exports.AuthorizersFilterSensitiveLog = exports.AuthorizerFilterSensitiveLog = exports.ApiStageFilterSensitiveLog = exports.ApiKeysFilterSensitiveLog = exports.ApiKeyIdsFilterSensitiveLog = exports.ApiKeyFilterSensitiveLog = exports.AccountFilterSensitiveLog = exports.ThrottleSettingsFilterSensitiveLog = exports.AccessLogSettingsFilterSensitiveLog = exports.Op = exports.PutMode = exports.LocationStatusType = exports.GatewayResponseType = exports.VpcLinkStatus = exports.QuotaPeriodType = exports.UnauthorizedCacheControlHeaderStrategy = exports.CacheClusterStatus = exports.IntegrationType = exports.ContentHandlingStrategy = exports.ConnectionType = exports.DomainNameStatus = exports.SecurityPolicy = exports.EndpointType = exports.DocumentationPartType = exports.ServiceUnavailableException = exports.CacheClusterSize = exports.UnauthorizedException = exports.TooManyRequestsException = exports.NotFoundException = exports.LimitExceededException = exports.ConflictException = exports.BadRequestException = exports.AuthorizerType = exports.ApiKeySourceType = exports.ApiKeysFormat = void 0;
|
|
4
|
+
exports.FlushStageAuthorizersCacheRequestFilterSensitiveLog = exports.DeleteVpcLinkRequestFilterSensitiveLog = exports.DeleteUsagePlanKeyRequestFilterSensitiveLog = exports.DeleteUsagePlanRequestFilterSensitiveLog = exports.DeleteStageRequestFilterSensitiveLog = exports.DeleteRestApiRequestFilterSensitiveLog = exports.DeleteResourceRequestFilterSensitiveLog = exports.DeleteRequestValidatorRequestFilterSensitiveLog = exports.DeleteModelRequestFilterSensitiveLog = exports.DeleteMethodResponseRequestFilterSensitiveLog = exports.DeleteMethodRequestFilterSensitiveLog = exports.DeleteIntegrationResponseRequestFilterSensitiveLog = exports.DeleteIntegrationRequestFilterSensitiveLog = exports.DeleteGatewayResponseRequestFilterSensitiveLog = exports.DeleteDomainNameRequestFilterSensitiveLog = exports.DeleteDocumentationVersionRequestFilterSensitiveLog = exports.DeleteDocumentationPartRequestFilterSensitiveLog = exports.DeleteDeploymentRequestFilterSensitiveLog = exports.DeleteClientCertificateRequestFilterSensitiveLog = exports.DeleteBasePathMappingRequestFilterSensitiveLog = exports.DeleteAuthorizerRequestFilterSensitiveLog = exports.DeleteApiKeyRequestFilterSensitiveLog = exports.VpcLinkFilterSensitiveLog = exports.CreateVpcLinkRequestFilterSensitiveLog = exports.UsagePlanKeyFilterSensitiveLog = exports.CreateUsagePlanKeyRequestFilterSensitiveLog = exports.UsagePlanFilterSensitiveLog = exports.CreateUsagePlanRequestFilterSensitiveLog = exports.QuotaSettingsFilterSensitiveLog = exports.StageFilterSensitiveLog = exports.MethodSettingFilterSensitiveLog = exports.CreateStageRequestFilterSensitiveLog = exports.CanarySettingsFilterSensitiveLog = exports.RestApiFilterSensitiveLog = exports.CreateRestApiRequestFilterSensitiveLog = exports.ResourceFilterSensitiveLog = exports.MethodFilterSensitiveLog = exports.MethodResponseFilterSensitiveLog = exports.IntegrationFilterSensitiveLog = exports.TlsConfigFilterSensitiveLog = exports.IntegrationResponseFilterSensitiveLog = exports.CreateResourceRequestFilterSensitiveLog = exports.RequestValidatorFilterSensitiveLog = exports.CreateRequestValidatorRequestFilterSensitiveLog = exports.ModelFilterSensitiveLog = exports.CreateModelRequestFilterSensitiveLog = exports.DomainNameFilterSensitiveLog = exports.MutualTlsAuthenticationFilterSensitiveLog = exports.CreateDomainNameRequestFilterSensitiveLog = exports.MutualTlsAuthenticationInputFilterSensitiveLog = void 0;
|
|
5
|
+
exports.RestApisFilterSensitiveLog = exports.GetRestApisRequestFilterSensitiveLog = exports.GetRestApiRequestFilterSensitiveLog = exports.ResourcesFilterSensitiveLog = exports.GetResourcesRequestFilterSensitiveLog = exports.GetResourceRequestFilterSensitiveLog = exports.RequestValidatorsFilterSensitiveLog = exports.GetRequestValidatorsRequestFilterSensitiveLog = exports.GetRequestValidatorRequestFilterSensitiveLog = exports.TemplateFilterSensitiveLog = exports.GetModelTemplateRequestFilterSensitiveLog = exports.ModelsFilterSensitiveLog = exports.GetModelsRequestFilterSensitiveLog = exports.GetModelRequestFilterSensitiveLog = exports.GetMethodResponseRequestFilterSensitiveLog = exports.GetMethodRequestFilterSensitiveLog = exports.GetIntegrationResponseRequestFilterSensitiveLog = exports.GetIntegrationRequestFilterSensitiveLog = exports.GetGatewayResponsesRequestFilterSensitiveLog = exports.GatewayResponsesFilterSensitiveLog = exports.GetGatewayResponseRequestFilterSensitiveLog = exports.GatewayResponseFilterSensitiveLog = exports.GetExportRequestFilterSensitiveLog = exports.ExportResponseFilterSensitiveLog = exports.GetDomainNamesRequestFilterSensitiveLog = exports.DomainNamesFilterSensitiveLog = exports.GetDomainNameRequestFilterSensitiveLog = exports.GetDocumentationVersionsRequestFilterSensitiveLog = exports.DocumentationVersionsFilterSensitiveLog = exports.GetDocumentationVersionRequestFilterSensitiveLog = exports.GetDocumentationPartsRequestFilterSensitiveLog = exports.DocumentationPartsFilterSensitiveLog = exports.GetDocumentationPartRequestFilterSensitiveLog = exports.GetDeploymentsRequestFilterSensitiveLog = exports.DeploymentsFilterSensitiveLog = exports.GetDeploymentRequestFilterSensitiveLog = exports.GetClientCertificatesRequestFilterSensitiveLog = exports.ClientCertificatesFilterSensitiveLog = exports.GetClientCertificateRequestFilterSensitiveLog = exports.GetBasePathMappingsRequestFilterSensitiveLog = exports.BasePathMappingsFilterSensitiveLog = exports.GetBasePathMappingRequestFilterSensitiveLog = exports.GetAuthorizersRequestFilterSensitiveLog = exports.GetAuthorizerRequestFilterSensitiveLog = exports.GetApiKeysRequestFilterSensitiveLog = exports.GetApiKeyRequestFilterSensitiveLog = exports.GetAccountRequestFilterSensitiveLog = exports.GenerateClientCertificateRequestFilterSensitiveLog = exports.ClientCertificateFilterSensitiveLog = exports.FlushStageCacheRequestFilterSensitiveLog = void 0;
|
|
6
|
+
exports.UpdateGatewayResponseRequestFilterSensitiveLog = exports.UpdateDomainNameRequestFilterSensitiveLog = exports.UpdateDocumentationVersionRequestFilterSensitiveLog = exports.UpdateDocumentationPartRequestFilterSensitiveLog = exports.UpdateDeploymentRequestFilterSensitiveLog = exports.UpdateClientCertificateRequestFilterSensitiveLog = exports.UpdateBasePathMappingRequestFilterSensitiveLog = exports.UpdateAuthorizerRequestFilterSensitiveLog = exports.UpdateApiKeyRequestFilterSensitiveLog = exports.UpdateAccountRequestFilterSensitiveLog = exports.PatchOperationFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TestInvokeMethodResponseFilterSensitiveLog = exports.TestInvokeMethodRequestFilterSensitiveLog = exports.TestInvokeAuthorizerResponseFilterSensitiveLog = exports.TestInvokeAuthorizerRequestFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.PutRestApiRequestFilterSensitiveLog = exports.PutMethodResponseRequestFilterSensitiveLog = exports.PutMethodRequestFilterSensitiveLog = exports.PutIntegrationResponseRequestFilterSensitiveLog = exports.PutIntegrationRequestFilterSensitiveLog = exports.PutGatewayResponseRequestFilterSensitiveLog = exports.ImportRestApiRequestFilterSensitiveLog = exports.ImportDocumentationPartsRequestFilterSensitiveLog = exports.DocumentationPartIdsFilterSensitiveLog = exports.ImportApiKeysRequestFilterSensitiveLog = exports.VpcLinksFilterSensitiveLog = exports.GetVpcLinksRequestFilterSensitiveLog = exports.GetVpcLinkRequestFilterSensitiveLog = exports.UsagePlansFilterSensitiveLog = exports.GetUsagePlansRequestFilterSensitiveLog = exports.UsagePlanKeysFilterSensitiveLog = exports.GetUsagePlanKeysRequestFilterSensitiveLog = exports.GetUsagePlanKeyRequestFilterSensitiveLog = exports.GetUsagePlanRequestFilterSensitiveLog = exports.UsageFilterSensitiveLog = exports.GetUsageRequestFilterSensitiveLog = exports.TagsFilterSensitiveLog = exports.GetTagsRequestFilterSensitiveLog = exports.StagesFilterSensitiveLog = exports.GetStagesRequestFilterSensitiveLog = exports.GetStageRequestFilterSensitiveLog = exports.SdkTypesFilterSensitiveLog = exports.GetSdkTypesRequestFilterSensitiveLog = exports.SdkTypeFilterSensitiveLog = exports.SdkConfigurationPropertyFilterSensitiveLog = exports.GetSdkTypeRequestFilterSensitiveLog = exports.SdkResponseFilterSensitiveLog = exports.GetSdkRequestFilterSensitiveLog = void 0;
|
|
7
|
+
exports.UpdateVpcLinkRequestFilterSensitiveLog = exports.UpdateUsagePlanRequestFilterSensitiveLog = exports.UpdateUsageRequestFilterSensitiveLog = exports.UpdateStageRequestFilterSensitiveLog = exports.UpdateRestApiRequestFilterSensitiveLog = exports.UpdateResourceRequestFilterSensitiveLog = exports.UpdateRequestValidatorRequestFilterSensitiveLog = exports.UpdateModelRequestFilterSensitiveLog = exports.UpdateMethodResponseRequestFilterSensitiveLog = exports.UpdateMethodRequestFilterSensitiveLog = exports.UpdateIntegrationResponseRequestFilterSensitiveLog = exports.UpdateIntegrationRequestFilterSensitiveLog = void 0;
|
|
8
8
|
const APIGatewayServiceException_1 = require("./APIGatewayServiceException");
|
|
9
9
|
var ApiKeysFormat;
|
|
10
10
|
(function (ApiKeysFormat) {
|
|
@@ -141,6 +141,17 @@ var DocumentationPartType;
|
|
|
141
141
|
DocumentationPartType["RESPONSE_BODY"] = "RESPONSE_BODY";
|
|
142
142
|
DocumentationPartType["RESPONSE_HEADER"] = "RESPONSE_HEADER";
|
|
143
143
|
})(DocumentationPartType = exports.DocumentationPartType || (exports.DocumentationPartType = {}));
|
|
144
|
+
var EndpointType;
|
|
145
|
+
(function (EndpointType) {
|
|
146
|
+
EndpointType["EDGE"] = "EDGE";
|
|
147
|
+
EndpointType["PRIVATE"] = "PRIVATE";
|
|
148
|
+
EndpointType["REGIONAL"] = "REGIONAL";
|
|
149
|
+
})(EndpointType = exports.EndpointType || (exports.EndpointType = {}));
|
|
150
|
+
var SecurityPolicy;
|
|
151
|
+
(function (SecurityPolicy) {
|
|
152
|
+
SecurityPolicy["TLS_1_0"] = "TLS_1_0";
|
|
153
|
+
SecurityPolicy["TLS_1_2"] = "TLS_1_2";
|
|
154
|
+
})(SecurityPolicy = exports.SecurityPolicy || (exports.SecurityPolicy = {}));
|
|
144
155
|
var DomainNameStatus;
|
|
145
156
|
(function (DomainNameStatus) {
|
|
146
157
|
DomainNameStatus["AVAILABLE"] = "AVAILABLE";
|
|
@@ -228,6 +239,15 @@ var PutMode;
|
|
|
228
239
|
PutMode["Merge"] = "merge";
|
|
229
240
|
PutMode["Overwrite"] = "overwrite";
|
|
230
241
|
})(PutMode = exports.PutMode || (exports.PutMode = {}));
|
|
242
|
+
var Op;
|
|
243
|
+
(function (Op) {
|
|
244
|
+
Op["add"] = "add";
|
|
245
|
+
Op["copy"] = "copy";
|
|
246
|
+
Op["move"] = "move";
|
|
247
|
+
Op["remove"] = "remove";
|
|
248
|
+
Op["replace"] = "replace";
|
|
249
|
+
Op["test"] = "test";
|
|
250
|
+
})(Op = exports.Op || (exports.Op = {}));
|
|
231
251
|
const AccessLogSettingsFilterSensitiveLog = (obj) => ({
|
|
232
252
|
...obj,
|
|
233
253
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://apigateway-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://apigateway.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://apigateway.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -127,6 +127,17 @@ export var DocumentationPartType;
|
|
|
127
127
|
DocumentationPartType["RESPONSE_BODY"] = "RESPONSE_BODY";
|
|
128
128
|
DocumentationPartType["RESPONSE_HEADER"] = "RESPONSE_HEADER";
|
|
129
129
|
})(DocumentationPartType || (DocumentationPartType = {}));
|
|
130
|
+
export var EndpointType;
|
|
131
|
+
(function (EndpointType) {
|
|
132
|
+
EndpointType["EDGE"] = "EDGE";
|
|
133
|
+
EndpointType["PRIVATE"] = "PRIVATE";
|
|
134
|
+
EndpointType["REGIONAL"] = "REGIONAL";
|
|
135
|
+
})(EndpointType || (EndpointType = {}));
|
|
136
|
+
export var SecurityPolicy;
|
|
137
|
+
(function (SecurityPolicy) {
|
|
138
|
+
SecurityPolicy["TLS_1_0"] = "TLS_1_0";
|
|
139
|
+
SecurityPolicy["TLS_1_2"] = "TLS_1_2";
|
|
140
|
+
})(SecurityPolicy || (SecurityPolicy = {}));
|
|
130
141
|
export var DomainNameStatus;
|
|
131
142
|
(function (DomainNameStatus) {
|
|
132
143
|
DomainNameStatus["AVAILABLE"] = "AVAILABLE";
|
|
@@ -214,6 +225,15 @@ export var PutMode;
|
|
|
214
225
|
PutMode["Merge"] = "merge";
|
|
215
226
|
PutMode["Overwrite"] = "overwrite";
|
|
216
227
|
})(PutMode || (PutMode = {}));
|
|
228
|
+
export var Op;
|
|
229
|
+
(function (Op) {
|
|
230
|
+
Op["add"] = "add";
|
|
231
|
+
Op["copy"] = "copy";
|
|
232
|
+
Op["move"] = "move";
|
|
233
|
+
Op["remove"] = "remove";
|
|
234
|
+
Op["replace"] = "replace";
|
|
235
|
+
Op["test"] = "test";
|
|
236
|
+
})(Op || (Op = {}));
|
|
217
237
|
export const AccessLogSettingsFilterSensitiveLog = (obj) => ({
|
|
218
238
|
...obj,
|
|
219
239
|
});
|
|
@@ -122,7 +122,7 @@ import { UpdateUsagePlanCommandInput, UpdateUsagePlanCommandOutput } from "./com
|
|
|
122
122
|
import { UpdateVpcLinkCommandInput, UpdateVpcLinkCommandOutput } from "./commands/UpdateVpcLinkCommand";
|
|
123
123
|
/**
|
|
124
124
|
* <fullname>Amazon API Gateway</fullname>
|
|
125
|
-
*
|
|
125
|
+
* <p>Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.</p>
|
|
126
126
|
*/
|
|
127
127
|
export declare class APIGateway extends APIGatewayClient {
|
|
128
128
|
/**
|
|
@@ -244,7 +244,7 @@ export interface APIGatewayClientResolvedConfig extends APIGatewayClientResolved
|
|
|
244
244
|
}
|
|
245
245
|
/**
|
|
246
246
|
* <fullname>Amazon API Gateway</fullname>
|
|
247
|
-
*
|
|
247
|
+
* <p>Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.</p>
|
|
248
248
|
*/
|
|
249
249
|
export declare class APIGatewayClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, APIGatewayClientResolvedConfig> {
|
|
250
250
|
/**
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -492,7 +492,7 @@ export interface CreateDeploymentRequest {
|
|
|
492
492
|
*/
|
|
493
493
|
cacheClusterEnabled?: boolean;
|
|
494
494
|
/**
|
|
495
|
-
* <p>
|
|
495
|
+
* <p>The stage's cache capacity in GB. For more information about choosing a cache size, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html">Enabling API caching to enhance responsiveness</a>.</p>
|
|
496
496
|
*/
|
|
497
497
|
cacheClusterSize?: CacheClusterSize | string;
|
|
498
498
|
/**
|
|
@@ -667,7 +667,11 @@ export interface DocumentationVersion {
|
|
|
667
667
|
*/
|
|
668
668
|
description?: string;
|
|
669
669
|
}
|
|
670
|
-
export declare
|
|
670
|
+
export declare enum EndpointType {
|
|
671
|
+
EDGE = "EDGE",
|
|
672
|
+
PRIVATE = "PRIVATE",
|
|
673
|
+
REGIONAL = "REGIONAL"
|
|
674
|
+
}
|
|
671
675
|
/**
|
|
672
676
|
* <p>The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has. </p>
|
|
673
677
|
*/
|
|
@@ -700,7 +704,10 @@ export interface MutualTlsAuthenticationInput {
|
|
|
700
704
|
*/
|
|
701
705
|
truststoreVersion?: string;
|
|
702
706
|
}
|
|
703
|
-
export declare
|
|
707
|
+
export declare enum SecurityPolicy {
|
|
708
|
+
TLS_1_0 = "TLS_1_0",
|
|
709
|
+
TLS_1_2 = "TLS_1_2"
|
|
710
|
+
}
|
|
704
711
|
/**
|
|
705
712
|
* <p>A request to create a new domain name.</p>
|
|
706
713
|
*/
|
|
@@ -1012,7 +1019,6 @@ export interface IntegrationResponse {
|
|
|
1012
1019
|
responseTemplates?: Record<string, string>;
|
|
1013
1020
|
/**
|
|
1014
1021
|
* <p>Specifies how to handle response payload content type conversions. Supported values are <code>CONVERT_TO_BINARY</code> and <code>CONVERT_TO_TEXT</code>, with the following behaviors:</p>
|
|
1015
|
-
*
|
|
1016
1022
|
* <p>If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.</p>
|
|
1017
1023
|
*/
|
|
1018
1024
|
contentHandling?: ContentHandlingStrategy | string;
|
|
@@ -1049,8 +1055,7 @@ export declare enum IntegrationType {
|
|
|
1049
1055
|
export interface Integration {
|
|
1050
1056
|
/**
|
|
1051
1057
|
* <p>Specifies an API method integration type. The valid value is one of the following:</p>
|
|
1052
|
-
*
|
|
1053
|
-
* <p>For the HTTP and HTTP proxy integrations, each integration can specify a protocol (<code>http/https</code>), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a <code>connectionType</code> of <code>VPC_LINK</code> is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.</p>
|
|
1058
|
+
* <p>For the HTTP and HTTP proxy integrations, each integration can specify a protocol (<code>http/https</code>), port and path. Standard 80 and 443 ports are supported as well as custom ports above 1024. An HTTP or HTTP proxy integration with a <code>connectionType</code> of <code>VPC_LINK</code> is referred to as a private integration and uses a VpcLink to connect API Gateway to a network load balancer of a VPC.</p>
|
|
1054
1059
|
*/
|
|
1055
1060
|
type?: IntegrationType | string;
|
|
1056
1061
|
/**
|
|
@@ -1117,7 +1122,6 @@ export interface Integration {
|
|
|
1117
1122
|
passthroughBehavior?: string;
|
|
1118
1123
|
/**
|
|
1119
1124
|
* <p>Specifies how to handle request payload content type conversions. Supported values are <code>CONVERT_TO_BINARY</code> and <code>CONVERT_TO_TEXT</code>, with the following behaviors:</p>
|
|
1120
|
-
*
|
|
1121
1125
|
* <p>If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the <code>passthroughBehavior</code> is configured to support payload pass-through.</p>
|
|
1122
1126
|
*/
|
|
1123
1127
|
contentHandling?: ContentHandlingStrategy | string;
|
|
@@ -1404,7 +1408,7 @@ export interface CreateStageRequest {
|
|
|
1404
1408
|
*/
|
|
1405
1409
|
cacheClusterEnabled?: boolean;
|
|
1406
1410
|
/**
|
|
1407
|
-
* <p>The stage's cache
|
|
1411
|
+
* <p>The stage's cache capacity in GB. For more information about choosing a cache size, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html">Enabling API caching to enhance responsiveness</a>.</p>
|
|
1408
1412
|
*/
|
|
1409
1413
|
cacheClusterSize?: CacheClusterSize | string;
|
|
1410
1414
|
/**
|
|
@@ -1512,7 +1516,7 @@ export interface Stage {
|
|
|
1512
1516
|
*/
|
|
1513
1517
|
cacheClusterEnabled?: boolean;
|
|
1514
1518
|
/**
|
|
1515
|
-
* <p>The
|
|
1519
|
+
* <p>The stage's cache capacity in GB. For more information about choosing a cache size, see <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html">Enabling API caching to enhance responsiveness</a>.</p>
|
|
1516
1520
|
*/
|
|
1517
1521
|
cacheClusterSize?: CacheClusterSize | string;
|
|
1518
1522
|
/**
|
|
@@ -1782,7 +1786,7 @@ export interface DeleteBasePathMappingRequest {
|
|
|
1782
1786
|
domainName: string | undefined;
|
|
1783
1787
|
/**
|
|
1784
1788
|
* <p>The base path name of the BasePathMapping resource to delete.</p>
|
|
1785
|
-
*
|
|
1789
|
+
* <p>To specify an empty base path, set this parameter to <code>'(none)'</code>.</p>
|
|
1786
1790
|
*/
|
|
1787
1791
|
basePath: string | undefined;
|
|
1788
1792
|
}
|
|
@@ -3257,11 +3261,11 @@ export interface ImportRestApiRequest {
|
|
|
3257
3261
|
failOnWarnings?: boolean;
|
|
3258
3262
|
/**
|
|
3259
3263
|
* <p>A key-value map of context-specific query string parameters specifying the behavior of different API importing operations. The following shows operation-specific parameters and their supported values.</p>
|
|
3260
|
-
*
|
|
3264
|
+
* <p> To exclude DocumentationParts from the import, set <code>parameters</code> as <code>ignore=documentation</code>.</p>
|
|
3261
3265
|
* <p> To configure the endpoint type, set <code>parameters</code> as <code>endpointConfigurationTypes=EDGE</code>, <code>endpointConfigurationTypes=REGIONAL</code>, or <code>endpointConfigurationTypes=PRIVATE</code>. The default endpoint type is <code>EDGE</code>.</p>
|
|
3262
|
-
*
|
|
3263
|
-
*
|
|
3264
|
-
*
|
|
3266
|
+
* <p> To handle imported <code>basepath</code>, set <code>parameters</code> as <code>basepath=ignore</code>, <code>basepath=prepend</code> or <code>basepath=split</code>.</p>
|
|
3267
|
+
* <p>For example, the AWS CLI command to exclude documentation from the imported API is:</p>
|
|
3268
|
+
* <p>The AWS CLI command to set the regional endpoint on the imported API is:</p>
|
|
3265
3269
|
*/
|
|
3266
3270
|
parameters?: Record<string, string>;
|
|
3267
3271
|
/**
|
|
@@ -3372,7 +3376,6 @@ export interface PutIntegrationRequest {
|
|
|
3372
3376
|
cacheKeyParameters?: string[];
|
|
3373
3377
|
/**
|
|
3374
3378
|
* <p>Specifies how to handle request payload content type conversions. Supported values are <code>CONVERT_TO_BINARY</code> and <code>CONVERT_TO_TEXT</code>, with the following behaviors:</p>
|
|
3375
|
-
*
|
|
3376
3379
|
* <p>If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the <code>passthroughBehavior</code> is configured to support payload pass-through.</p>
|
|
3377
3380
|
*/
|
|
3378
3381
|
contentHandling?: ContentHandlingStrategy | string;
|
|
@@ -3420,7 +3423,6 @@ export interface PutIntegrationResponseRequest {
|
|
|
3420
3423
|
responseTemplates?: Record<string, string>;
|
|
3421
3424
|
/**
|
|
3422
3425
|
* <p>Specifies how to handle response payload content type conversions. Supported values are <code>CONVERT_TO_BINARY</code> and <code>CONVERT_TO_TEXT</code>, with the following behaviors:</p>
|
|
3423
|
-
*
|
|
3424
3426
|
* <p>If this property is not defined, the response payload will be passed through from the integration response to the method response without modification.</p>
|
|
3425
3427
|
*/
|
|
3426
3428
|
contentHandling?: ContentHandlingStrategy | string;
|
|
@@ -3696,7 +3698,14 @@ export interface UntagResourceRequest {
|
|
|
3696
3698
|
*/
|
|
3697
3699
|
tagKeys: string[] | undefined;
|
|
3698
3700
|
}
|
|
3699
|
-
export declare
|
|
3701
|
+
export declare enum Op {
|
|
3702
|
+
add = "add",
|
|
3703
|
+
copy = "copy",
|
|
3704
|
+
move = "move",
|
|
3705
|
+
remove = "remove",
|
|
3706
|
+
replace = "replace",
|
|
3707
|
+
test = "test"
|
|
3708
|
+
}
|
|
3700
3709
|
/**
|
|
3701
3710
|
* <p>For more information about supported patch operations, see <a href="https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html">Patch Operations</a>.</p>
|
|
3702
3711
|
*/
|
|
@@ -3782,7 +3791,7 @@ export interface UpdateBasePathMappingRequest {
|
|
|
3782
3791
|
domainName: string | undefined;
|
|
3783
3792
|
/**
|
|
3784
3793
|
* <p>The base path of the BasePathMapping resource to change.</p>
|
|
3785
|
-
*
|
|
3794
|
+
* <p>To specify an empty base path, set this parameter to <code>'(none)'</code>.</p>
|
|
3786
3795
|
*/
|
|
3787
3796
|
basePath: string | undefined;
|
|
3788
3797
|
/**
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -231,7 +231,11 @@ export interface DocumentationVersion {
|
|
|
231
231
|
createdDate?: Date;
|
|
232
232
|
description?: string;
|
|
233
233
|
}
|
|
234
|
-
export declare
|
|
234
|
+
export declare enum EndpointType {
|
|
235
|
+
EDGE = "EDGE",
|
|
236
|
+
PRIVATE = "PRIVATE",
|
|
237
|
+
REGIONAL = "REGIONAL",
|
|
238
|
+
}
|
|
235
239
|
export interface EndpointConfiguration {
|
|
236
240
|
types?: (EndpointType | string)[];
|
|
237
241
|
vpcEndpointIds?: string[];
|
|
@@ -240,7 +244,10 @@ export interface MutualTlsAuthenticationInput {
|
|
|
240
244
|
truststoreUri?: string;
|
|
241
245
|
truststoreVersion?: string;
|
|
242
246
|
}
|
|
243
|
-
export declare
|
|
247
|
+
export declare enum SecurityPolicy {
|
|
248
|
+
TLS_1_0 = "TLS_1_0",
|
|
249
|
+
TLS_1_2 = "TLS_1_2",
|
|
250
|
+
}
|
|
244
251
|
export interface CreateDomainNameRequest {
|
|
245
252
|
domainName: string | undefined;
|
|
246
253
|
certificateName?: string;
|
|
@@ -1121,13 +1128,14 @@ export interface UntagResourceRequest {
|
|
|
1121
1128
|
resourceArn: string | undefined;
|
|
1122
1129
|
tagKeys: string[] | undefined;
|
|
1123
1130
|
}
|
|
1124
|
-
export declare
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
+
export declare enum Op {
|
|
1132
|
+
add = "add",
|
|
1133
|
+
copy = "copy",
|
|
1134
|
+
move = "move",
|
|
1135
|
+
remove = "remove",
|
|
1136
|
+
replace = "replace",
|
|
1137
|
+
test = "test",
|
|
1138
|
+
}
|
|
1131
1139
|
export interface PatchOperation {
|
|
1132
1140
|
op?: Op | string;
|
|
1133
1141
|
path?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-api-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.245.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.245.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.245.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.234.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.234.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.245.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.229.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.226.0",
|