@aws-sdk/client-apigatewayv2 3.927.0 → 3.929.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 +8007 -3712
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ApiGatewayV2Client.js +2 -0
- package/dist-es/commands/CreateApiCommand.js +3 -9
- package/dist-es/commands/CreateApiMappingCommand.js +3 -9
- package/dist-es/commands/CreateAuthorizerCommand.js +3 -9
- package/dist-es/commands/CreateDeploymentCommand.js +3 -9
- package/dist-es/commands/CreateDomainNameCommand.js +3 -9
- package/dist-es/commands/CreateIntegrationCommand.js +3 -9
- package/dist-es/commands/CreateIntegrationResponseCommand.js +3 -9
- package/dist-es/commands/CreateModelCommand.js +3 -9
- package/dist-es/commands/CreateRouteCommand.js +3 -9
- package/dist-es/commands/CreateRouteResponseCommand.js +3 -9
- package/dist-es/commands/CreateRoutingRuleCommand.js +3 -9
- package/dist-es/commands/CreateStageCommand.js +3 -9
- package/dist-es/commands/CreateVpcLinkCommand.js +3 -9
- package/dist-es/commands/DeleteAccessLogSettingsCommand.js +3 -9
- package/dist-es/commands/DeleteApiCommand.js +3 -9
- package/dist-es/commands/DeleteApiMappingCommand.js +3 -9
- package/dist-es/commands/DeleteAuthorizerCommand.js +3 -9
- package/dist-es/commands/DeleteCorsConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteDeploymentCommand.js +3 -9
- package/dist-es/commands/DeleteDomainNameCommand.js +3 -9
- package/dist-es/commands/DeleteIntegrationCommand.js +3 -9
- package/dist-es/commands/DeleteIntegrationResponseCommand.js +3 -9
- package/dist-es/commands/DeleteModelCommand.js +3 -9
- package/dist-es/commands/DeleteRouteCommand.js +3 -9
- package/dist-es/commands/DeleteRouteRequestParameterCommand.js +3 -9
- package/dist-es/commands/DeleteRouteResponseCommand.js +3 -9
- package/dist-es/commands/DeleteRouteSettingsCommand.js +3 -9
- package/dist-es/commands/DeleteRoutingRuleCommand.js +3 -9
- package/dist-es/commands/DeleteStageCommand.js +3 -9
- package/dist-es/commands/DeleteVpcLinkCommand.js +3 -9
- package/dist-es/commands/ExportApiCommand.js +3 -9
- package/dist-es/commands/GetApiCommand.js +3 -9
- package/dist-es/commands/GetApiMappingCommand.js +3 -9
- package/dist-es/commands/GetApiMappingsCommand.js +3 -9
- package/dist-es/commands/GetApisCommand.js +3 -9
- package/dist-es/commands/GetAuthorizerCommand.js +3 -9
- package/dist-es/commands/GetAuthorizersCommand.js +3 -9
- package/dist-es/commands/GetDeploymentCommand.js +3 -9
- package/dist-es/commands/GetDeploymentsCommand.js +3 -9
- package/dist-es/commands/GetDomainNameCommand.js +3 -9
- package/dist-es/commands/GetDomainNamesCommand.js +3 -9
- package/dist-es/commands/GetIntegrationCommand.js +3 -9
- package/dist-es/commands/GetIntegrationResponseCommand.js +3 -9
- package/dist-es/commands/GetIntegrationResponsesCommand.js +3 -9
- package/dist-es/commands/GetIntegrationsCommand.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/GetRouteCommand.js +3 -9
- package/dist-es/commands/GetRouteResponseCommand.js +3 -9
- package/dist-es/commands/GetRouteResponsesCommand.js +3 -9
- package/dist-es/commands/GetRoutesCommand.js +3 -9
- package/dist-es/commands/GetRoutingRuleCommand.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/GetVpcLinkCommand.js +3 -9
- package/dist-es/commands/GetVpcLinksCommand.js +3 -9
- package/dist-es/commands/ImportApiCommand.js +3 -9
- package/dist-es/commands/ListRoutingRulesCommand.js +3 -9
- package/dist-es/commands/PutRoutingRuleCommand.js +3 -9
- package/dist-es/commands/ReimportApiCommand.js +3 -9
- package/dist-es/commands/ResetAuthorizersCacheCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateApiCommand.js +3 -9
- package/dist-es/commands/UpdateApiMappingCommand.js +3 -9
- package/dist-es/commands/UpdateAuthorizerCommand.js +3 -9
- package/dist-es/commands/UpdateDeploymentCommand.js +3 -9
- package/dist-es/commands/UpdateDomainNameCommand.js +3 -9
- package/dist-es/commands/UpdateIntegrationCommand.js +3 -9
- package/dist-es/commands/UpdateIntegrationResponseCommand.js +3 -9
- package/dist-es/commands/UpdateModelCommand.js +3 -9
- package/dist-es/commands/UpdateRouteCommand.js +3 -9
- package/dist-es/commands/UpdateRouteResponseCommand.js +3 -9
- package/dist-es/commands/UpdateStageCommand.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 +7870 -0
- package/dist-types/ApiGatewayV2Client.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 +284 -0
- package/dist-types/ts3.4/ApiGatewayV2Client.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 +290 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -3178
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -695
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -929
|
@@ -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 { UpdateIntegration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIntegrationCommand 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("ApiGatewayV2", "UpdateIntegration", {})
|
|
17
13
|
.n("ApiGatewayV2Client", "UpdateIntegrationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIntegrationCommand)
|
|
20
|
-
.de(de_UpdateIntegrationCommand)
|
|
14
|
+
.sc(UpdateIntegration)
|
|
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 { UpdateIntegrationResponse } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateIntegrationResponseCommand 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("ApiGatewayV2", "UpdateIntegrationResponse", {})
|
|
17
13
|
.n("ApiGatewayV2Client", "UpdateIntegrationResponseCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateIntegrationResponseCommand)
|
|
20
|
-
.de(de_UpdateIntegrationResponseCommand)
|
|
14
|
+
.sc(UpdateIntegrationResponse)
|
|
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 { UpdateModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateModelCommand 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("ApiGatewayV2", "UpdateModel", {})
|
|
17
13
|
.n("ApiGatewayV2Client", "UpdateModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateModelCommand)
|
|
20
|
-
.de(de_UpdateModelCommand)
|
|
14
|
+
.sc(UpdateModel)
|
|
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 { UpdateRoute } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRouteCommand 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("ApiGatewayV2", "UpdateRoute", {})
|
|
17
13
|
.n("ApiGatewayV2Client", "UpdateRouteCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRouteCommand)
|
|
20
|
-
.de(de_UpdateRouteCommand)
|
|
14
|
+
.sc(UpdateRoute)
|
|
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 { UpdateRouteResponse } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRouteResponseCommand 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("ApiGatewayV2", "UpdateRouteResponse", {})
|
|
17
13
|
.n("ApiGatewayV2Client", "UpdateRouteResponseCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRouteResponseCommand)
|
|
20
|
-
.de(de_UpdateRouteResponseCommand)
|
|
14
|
+
.sc(UpdateRouteResponse)
|
|
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("ApiGatewayV2", "UpdateStage", {})
|
|
17
13
|
.n("ApiGatewayV2Client", "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 { 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("ApiGatewayV2", "UpdateVpcLink", {})
|
|
17
13
|
.n("ApiGatewayV2Client", "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.apigatewayv2" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "ApiGatewayV2",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|