@aws-sdk/client-api-gateway 3.926.0 → 3.928.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/index.js +4494 -5179
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/APIGatewayClient.js +2 -0
- package/dist-es/commands/CreateApiKeyCommand.js +3 -9
- package/dist-es/commands/CreateAuthorizerCommand.js +3 -9
- package/dist-es/commands/CreateBasePathMappingCommand.js +3 -9
- package/dist-es/commands/CreateDeploymentCommand.js +3 -9
- package/dist-es/commands/CreateDocumentationPartCommand.js +3 -9
- package/dist-es/commands/CreateDocumentationVersionCommand.js +3 -9
- package/dist-es/commands/CreateDomainNameAccessAssociationCommand.js +3 -9
- package/dist-es/commands/CreateDomainNameCommand.js +3 -9
- package/dist-es/commands/CreateModelCommand.js +3 -9
- package/dist-es/commands/CreateRequestValidatorCommand.js +3 -9
- package/dist-es/commands/CreateResourceCommand.js +3 -9
- package/dist-es/commands/CreateRestApiCommand.js +3 -9
- package/dist-es/commands/CreateStageCommand.js +3 -9
- package/dist-es/commands/CreateUsagePlanCommand.js +3 -9
- package/dist-es/commands/CreateUsagePlanKeyCommand.js +3 -9
- package/dist-es/commands/CreateVpcLinkCommand.js +3 -9
- package/dist-es/commands/DeleteApiKeyCommand.js +3 -9
- package/dist-es/commands/DeleteAuthorizerCommand.js +3 -9
- package/dist-es/commands/DeleteBasePathMappingCommand.js +3 -9
- package/dist-es/commands/DeleteClientCertificateCommand.js +3 -9
- package/dist-es/commands/DeleteDeploymentCommand.js +3 -9
- package/dist-es/commands/DeleteDocumentationPartCommand.js +3 -9
- package/dist-es/commands/DeleteDocumentationVersionCommand.js +3 -9
- package/dist-es/commands/DeleteDomainNameAccessAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteDomainNameCommand.js +3 -9
- package/dist-es/commands/DeleteGatewayResponseCommand.js +3 -9
- package/dist-es/commands/DeleteIntegrationCommand.js +3 -9
- package/dist-es/commands/DeleteIntegrationResponseCommand.js +3 -9
- package/dist-es/commands/DeleteMethodCommand.js +3 -9
- package/dist-es/commands/DeleteMethodResponseCommand.js +3 -9
- package/dist-es/commands/DeleteModelCommand.js +3 -9
- package/dist-es/commands/DeleteRequestValidatorCommand.js +3 -9
- package/dist-es/commands/DeleteResourceCommand.js +3 -9
- package/dist-es/commands/DeleteRestApiCommand.js +3 -9
- package/dist-es/commands/DeleteStageCommand.js +3 -9
- package/dist-es/commands/DeleteUsagePlanCommand.js +3 -9
- package/dist-es/commands/DeleteUsagePlanKeyCommand.js +3 -9
- package/dist-es/commands/DeleteVpcLinkCommand.js +3 -9
- package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +3 -9
- package/dist-es/commands/FlushStageCacheCommand.js +3 -9
- package/dist-es/commands/GenerateClientCertificateCommand.js +3 -9
- package/dist-es/commands/GetAccountCommand.js +3 -9
- package/dist-es/commands/GetApiKeyCommand.js +3 -9
- package/dist-es/commands/GetApiKeysCommand.js +3 -9
- package/dist-es/commands/GetAuthorizerCommand.js +3 -9
- package/dist-es/commands/GetAuthorizersCommand.js +3 -9
- package/dist-es/commands/GetBasePathMappingCommand.js +3 -9
- package/dist-es/commands/GetBasePathMappingsCommand.js +3 -9
- package/dist-es/commands/GetClientCertificateCommand.js +3 -9
- package/dist-es/commands/GetClientCertificatesCommand.js +3 -9
- package/dist-es/commands/GetDeploymentCommand.js +3 -9
- package/dist-es/commands/GetDeploymentsCommand.js +3 -9
- package/dist-es/commands/GetDocumentationPartCommand.js +3 -9
- package/dist-es/commands/GetDocumentationPartsCommand.js +3 -9
- package/dist-es/commands/GetDocumentationVersionCommand.js +3 -9
- package/dist-es/commands/GetDocumentationVersionsCommand.js +3 -9
- package/dist-es/commands/GetDomainNameAccessAssociationsCommand.js +3 -9
- package/dist-es/commands/GetDomainNameCommand.js +3 -9
- package/dist-es/commands/GetDomainNamesCommand.js +3 -9
- package/dist-es/commands/GetExportCommand.js +3 -9
- package/dist-es/commands/GetGatewayResponseCommand.js +3 -9
- package/dist-es/commands/GetGatewayResponsesCommand.js +3 -9
- package/dist-es/commands/GetIntegrationCommand.js +3 -9
- package/dist-es/commands/GetIntegrationResponseCommand.js +3 -9
- package/dist-es/commands/GetMethodCommand.js +3 -9
- package/dist-es/commands/GetMethodResponseCommand.js +3 -9
- package/dist-es/commands/GetModelCommand.js +3 -9
- package/dist-es/commands/GetModelTemplateCommand.js +3 -9
- package/dist-es/commands/GetModelsCommand.js +3 -9
- package/dist-es/commands/GetRequestValidatorCommand.js +3 -9
- package/dist-es/commands/GetRequestValidatorsCommand.js +3 -9
- package/dist-es/commands/GetResourceCommand.js +3 -9
- package/dist-es/commands/GetResourcesCommand.js +3 -9
- package/dist-es/commands/GetRestApiCommand.js +3 -9
- package/dist-es/commands/GetRestApisCommand.js +3 -9
- package/dist-es/commands/GetSdkCommand.js +3 -9
- package/dist-es/commands/GetSdkTypeCommand.js +3 -9
- package/dist-es/commands/GetSdkTypesCommand.js +3 -9
- package/dist-es/commands/GetStageCommand.js +3 -9
- package/dist-es/commands/GetStagesCommand.js +3 -9
- package/dist-es/commands/GetTagsCommand.js +3 -9
- package/dist-es/commands/GetUsageCommand.js +3 -9
- package/dist-es/commands/GetUsagePlanCommand.js +3 -9
- package/dist-es/commands/GetUsagePlanKeyCommand.js +3 -9
- package/dist-es/commands/GetUsagePlanKeysCommand.js +3 -9
- package/dist-es/commands/GetUsagePlansCommand.js +3 -9
- package/dist-es/commands/GetVpcLinkCommand.js +3 -9
- package/dist-es/commands/GetVpcLinksCommand.js +3 -9
- package/dist-es/commands/ImportApiKeysCommand.js +3 -9
- package/dist-es/commands/ImportDocumentationPartsCommand.js +3 -9
- package/dist-es/commands/ImportRestApiCommand.js +3 -9
- package/dist-es/commands/PutGatewayResponseCommand.js +3 -9
- package/dist-es/commands/PutIntegrationCommand.js +3 -9
- package/dist-es/commands/PutIntegrationResponseCommand.js +3 -9
- package/dist-es/commands/PutMethodCommand.js +3 -9
- package/dist-es/commands/PutMethodResponseCommand.js +3 -9
- package/dist-es/commands/PutRestApiCommand.js +3 -9
- package/dist-es/commands/RejectDomainNameAccessAssociationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/TestInvokeAuthorizerCommand.js +3 -9
- package/dist-es/commands/TestInvokeMethodCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAccountCommand.js +3 -9
- package/dist-es/commands/UpdateApiKeyCommand.js +3 -9
- package/dist-es/commands/UpdateAuthorizerCommand.js +3 -9
- package/dist-es/commands/UpdateBasePathMappingCommand.js +3 -9
- package/dist-es/commands/UpdateClientCertificateCommand.js +3 -9
- package/dist-es/commands/UpdateDeploymentCommand.js +3 -9
- package/dist-es/commands/UpdateDocumentationPartCommand.js +3 -9
- package/dist-es/commands/UpdateDocumentationVersionCommand.js +3 -9
- package/dist-es/commands/UpdateDomainNameCommand.js +3 -9
- package/dist-es/commands/UpdateGatewayResponseCommand.js +3 -9
- package/dist-es/commands/UpdateIntegrationCommand.js +3 -9
- package/dist-es/commands/UpdateIntegrationResponseCommand.js +3 -9
- package/dist-es/commands/UpdateMethodCommand.js +3 -9
- package/dist-es/commands/UpdateMethodResponseCommand.js +3 -9
- package/dist-es/commands/UpdateModelCommand.js +3 -9
- package/dist-es/commands/UpdateRequestValidatorCommand.js +3 -9
- package/dist-es/commands/UpdateResourceCommand.js +3 -9
- package/dist-es/commands/UpdateRestApiCommand.js +3 -9
- package/dist-es/commands/UpdateStageCommand.js +3 -9
- package/dist-es/commands/UpdateUsageCommand.js +3 -9
- package/dist-es/commands/UpdateUsagePlanCommand.js +3 -9
- package/dist-es/commands/UpdateVpcLinkCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +4252 -0
- package/dist-types/APIGatewayClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +365 -0
- package/dist-types/ts3.4/APIGatewayClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +371 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -4311
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -1118
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1493
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("BackplaneControlService", "UpdateResource", {})
|
|
17
13
|
.n("APIGatewayClient", "UpdateResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateResourceCommand)
|
|
20
|
-
.de(de_UpdateResourceCommand)
|
|
14
|
+
.sc(UpdateResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRestApi } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRestApiCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("BackplaneControlService", "UpdateRestApi", {})
|
|
17
13
|
.n("APIGatewayClient", "UpdateRestApiCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRestApiCommand)
|
|
20
|
-
.de(de_UpdateRestApiCommand)
|
|
14
|
+
.sc(UpdateRestApi)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateStage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateStageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("BackplaneControlService", "UpdateStage", {})
|
|
17
13
|
.n("APIGatewayClient", "UpdateStageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateStageCommand)
|
|
20
|
-
.de(de_UpdateStageCommand)
|
|
14
|
+
.sc(UpdateStage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateUsage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateUsageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("BackplaneControlService", "UpdateUsage", {})
|
|
17
13
|
.n("APIGatewayClient", "UpdateUsageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateUsageCommand)
|
|
20
|
-
.de(de_UpdateUsageCommand)
|
|
14
|
+
.sc(UpdateUsage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateUsagePlan } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateUsagePlanCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("BackplaneControlService", "UpdateUsagePlan", {})
|
|
17
13
|
.n("APIGatewayClient", "UpdateUsagePlanCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateUsagePlanCommand)
|
|
20
|
-
.de(de_UpdateUsagePlanCommand)
|
|
14
|
+
.sc(UpdateUsagePlan)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateVpcLink } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateVpcLinkCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("BackplaneControlService", "UpdateVpcLink", {})
|
|
17
13
|
.n("APIGatewayClient", "UpdateVpcLinkCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateVpcLinkCommand)
|
|
20
|
-
.de(de_UpdateVpcLinkCommand)
|
|
14
|
+
.sc(UpdateVpcLink)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.apigateway" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "API Gateway",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|