@aws-sdk/client-apigatewayv2 3.928.0 → 3.930.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 (98) hide show
  1. package/dist-cjs/index.js +8007 -3712
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ApiGatewayV2Client.js +2 -0
  4. package/dist-es/commands/CreateApiCommand.js +3 -9
  5. package/dist-es/commands/CreateApiMappingCommand.js +3 -9
  6. package/dist-es/commands/CreateAuthorizerCommand.js +3 -9
  7. package/dist-es/commands/CreateDeploymentCommand.js +3 -9
  8. package/dist-es/commands/CreateDomainNameCommand.js +3 -9
  9. package/dist-es/commands/CreateIntegrationCommand.js +3 -9
  10. package/dist-es/commands/CreateIntegrationResponseCommand.js +3 -9
  11. package/dist-es/commands/CreateModelCommand.js +3 -9
  12. package/dist-es/commands/CreateRouteCommand.js +3 -9
  13. package/dist-es/commands/CreateRouteResponseCommand.js +3 -9
  14. package/dist-es/commands/CreateRoutingRuleCommand.js +3 -9
  15. package/dist-es/commands/CreateStageCommand.js +3 -9
  16. package/dist-es/commands/CreateVpcLinkCommand.js +3 -9
  17. package/dist-es/commands/DeleteAccessLogSettingsCommand.js +3 -9
  18. package/dist-es/commands/DeleteApiCommand.js +3 -9
  19. package/dist-es/commands/DeleteApiMappingCommand.js +3 -9
  20. package/dist-es/commands/DeleteAuthorizerCommand.js +3 -9
  21. package/dist-es/commands/DeleteCorsConfigurationCommand.js +3 -9
  22. package/dist-es/commands/DeleteDeploymentCommand.js +3 -9
  23. package/dist-es/commands/DeleteDomainNameCommand.js +3 -9
  24. package/dist-es/commands/DeleteIntegrationCommand.js +3 -9
  25. package/dist-es/commands/DeleteIntegrationResponseCommand.js +3 -9
  26. package/dist-es/commands/DeleteModelCommand.js +3 -9
  27. package/dist-es/commands/DeleteRouteCommand.js +3 -9
  28. package/dist-es/commands/DeleteRouteRequestParameterCommand.js +3 -9
  29. package/dist-es/commands/DeleteRouteResponseCommand.js +3 -9
  30. package/dist-es/commands/DeleteRouteSettingsCommand.js +3 -9
  31. package/dist-es/commands/DeleteRoutingRuleCommand.js +3 -9
  32. package/dist-es/commands/DeleteStageCommand.js +3 -9
  33. package/dist-es/commands/DeleteVpcLinkCommand.js +3 -9
  34. package/dist-es/commands/ExportApiCommand.js +3 -9
  35. package/dist-es/commands/GetApiCommand.js +3 -9
  36. package/dist-es/commands/GetApiMappingCommand.js +3 -9
  37. package/dist-es/commands/GetApiMappingsCommand.js +3 -9
  38. package/dist-es/commands/GetApisCommand.js +3 -9
  39. package/dist-es/commands/GetAuthorizerCommand.js +3 -9
  40. package/dist-es/commands/GetAuthorizersCommand.js +3 -9
  41. package/dist-es/commands/GetDeploymentCommand.js +3 -9
  42. package/dist-es/commands/GetDeploymentsCommand.js +3 -9
  43. package/dist-es/commands/GetDomainNameCommand.js +3 -9
  44. package/dist-es/commands/GetDomainNamesCommand.js +3 -9
  45. package/dist-es/commands/GetIntegrationCommand.js +3 -9
  46. package/dist-es/commands/GetIntegrationResponseCommand.js +3 -9
  47. package/dist-es/commands/GetIntegrationResponsesCommand.js +3 -9
  48. package/dist-es/commands/GetIntegrationsCommand.js +3 -9
  49. package/dist-es/commands/GetModelCommand.js +3 -9
  50. package/dist-es/commands/GetModelTemplateCommand.js +3 -9
  51. package/dist-es/commands/GetModelsCommand.js +3 -9
  52. package/dist-es/commands/GetRouteCommand.js +3 -9
  53. package/dist-es/commands/GetRouteResponseCommand.js +3 -9
  54. package/dist-es/commands/GetRouteResponsesCommand.js +3 -9
  55. package/dist-es/commands/GetRoutesCommand.js +3 -9
  56. package/dist-es/commands/GetRoutingRuleCommand.js +3 -9
  57. package/dist-es/commands/GetStageCommand.js +3 -9
  58. package/dist-es/commands/GetStagesCommand.js +3 -9
  59. package/dist-es/commands/GetTagsCommand.js +3 -9
  60. package/dist-es/commands/GetVpcLinkCommand.js +3 -9
  61. package/dist-es/commands/GetVpcLinksCommand.js +3 -9
  62. package/dist-es/commands/ImportApiCommand.js +3 -9
  63. package/dist-es/commands/ListRoutingRulesCommand.js +3 -9
  64. package/dist-es/commands/PutRoutingRuleCommand.js +3 -9
  65. package/dist-es/commands/ReimportApiCommand.js +3 -9
  66. package/dist-es/commands/ResetAuthorizersCacheCommand.js +3 -9
  67. package/dist-es/commands/TagResourceCommand.js +3 -9
  68. package/dist-es/commands/UntagResourceCommand.js +3 -9
  69. package/dist-es/commands/UpdateApiCommand.js +3 -9
  70. package/dist-es/commands/UpdateApiMappingCommand.js +3 -9
  71. package/dist-es/commands/UpdateAuthorizerCommand.js +3 -9
  72. package/dist-es/commands/UpdateDeploymentCommand.js +3 -9
  73. package/dist-es/commands/UpdateDomainNameCommand.js +3 -9
  74. package/dist-es/commands/UpdateIntegrationCommand.js +3 -9
  75. package/dist-es/commands/UpdateIntegrationResponseCommand.js +3 -9
  76. package/dist-es/commands/UpdateModelCommand.js +3 -9
  77. package/dist-es/commands/UpdateRouteCommand.js +3 -9
  78. package/dist-es/commands/UpdateRouteResponseCommand.js +3 -9
  79. package/dist-es/commands/UpdateStageCommand.js +3 -9
  80. package/dist-es/commands/UpdateVpcLinkCommand.js +3 -9
  81. package/dist-es/runtimeConfig.shared.js +2 -0
  82. package/dist-es/schemas/schemas_0.js +7870 -0
  83. package/dist-types/ApiGatewayV2Client.d.ts +10 -1
  84. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  85. package/dist-types/runtimeConfig.d.ts +1 -0
  86. package/dist-types/runtimeConfig.native.d.ts +1 -0
  87. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  88. package/dist-types/schemas/schemas_0.d.ts +284 -0
  89. package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +4 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  93. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  94. package/dist-types/ts3.4/schemas/schemas_0.d.ts +290 -0
  95. package/package.json +34 -34
  96. package/dist-es/protocols/Aws_restJson1.js +0 -3178
  97. package/dist-types/protocols/Aws_restJson1.d.ts +0 -695
  98. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -929
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.apigatewayv2" }),
28
30
  serviceId: config?.serviceId ?? "ApiGatewayV2",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ApiGatewayV2Client extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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 { de_CreateApiCommand, se_CreateApiCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApiCommand 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", "CreateApi", {})
17
13
  .n("ApiGatewayV2Client", "CreateApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApiCommand)
20
- .de(de_CreateApiCommand)
14
+ .sc(CreateApi)
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 { de_CreateApiMappingCommand, se_CreateApiMappingCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApiMapping } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApiMappingCommand 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", "CreateApiMapping", {})
17
13
  .n("ApiGatewayV2Client", "CreateApiMappingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApiMappingCommand)
20
- .de(de_CreateApiMappingCommand)
14
+ .sc(CreateApiMapping)
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 { de_CreateAuthorizerCommand, se_CreateAuthorizerCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateAuthorizer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAuthorizerCommand 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", "CreateAuthorizer", {})
17
13
  .n("ApiGatewayV2Client", "CreateAuthorizerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAuthorizerCommand)
20
- .de(de_CreateAuthorizerCommand)
14
+ .sc(CreateAuthorizer)
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 { de_CreateDeploymentCommand, se_CreateDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDeploymentCommand 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", "CreateDeployment", {})
17
13
  .n("ApiGatewayV2Client", "CreateDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDeploymentCommand)
20
- .de(de_CreateDeploymentCommand)
14
+ .sc(CreateDeployment)
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 { de_CreateDomainNameCommand, se_CreateDomainNameCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDomainName } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDomainNameCommand 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", "CreateDomainName", {})
17
13
  .n("ApiGatewayV2Client", "CreateDomainNameCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDomainNameCommand)
20
- .de(de_CreateDomainNameCommand)
14
+ .sc(CreateDomainName)
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 { de_CreateIntegrationCommand, se_CreateIntegrationCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateIntegration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateIntegrationCommand 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", "CreateIntegration", {})
17
13
  .n("ApiGatewayV2Client", "CreateIntegrationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateIntegrationCommand)
20
- .de(de_CreateIntegrationCommand)
14
+ .sc(CreateIntegration)
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 { de_CreateIntegrationResponseCommand, se_CreateIntegrationResponseCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateIntegrationResponse } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateIntegrationResponseCommand 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", "CreateIntegrationResponse", {})
17
13
  .n("ApiGatewayV2Client", "CreateIntegrationResponseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateIntegrationResponseCommand)
20
- .de(de_CreateIntegrationResponseCommand)
14
+ .sc(CreateIntegrationResponse)
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 { de_CreateModelCommand, se_CreateModelCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateModel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateModelCommand 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", "CreateModel", {})
17
13
  .n("ApiGatewayV2Client", "CreateModelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateModelCommand)
20
- .de(de_CreateModelCommand)
14
+ .sc(CreateModel)
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 { de_CreateRouteCommand, se_CreateRouteCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRoute } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRouteCommand 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", "CreateRoute", {})
17
13
  .n("ApiGatewayV2Client", "CreateRouteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRouteCommand)
20
- .de(de_CreateRouteCommand)
14
+ .sc(CreateRoute)
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 { de_CreateRouteResponseCommand, se_CreateRouteResponseCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRouteResponse } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRouteResponseCommand 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", "CreateRouteResponse", {})
17
13
  .n("ApiGatewayV2Client", "CreateRouteResponseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRouteResponseCommand)
20
- .de(de_CreateRouteResponseCommand)
14
+ .sc(CreateRouteResponse)
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 { de_CreateRoutingRuleCommand, se_CreateRoutingRuleCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRoutingRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRoutingRuleCommand 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", "CreateRoutingRule", {})
17
13
  .n("ApiGatewayV2Client", "CreateRoutingRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRoutingRuleCommand)
20
- .de(de_CreateRoutingRuleCommand)
14
+ .sc(CreateRoutingRule)
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 { de_CreateStageCommand, se_CreateStageCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateStage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateStageCommand 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", "CreateStage", {})
17
13
  .n("ApiGatewayV2Client", "CreateStageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateStageCommand)
20
- .de(de_CreateStageCommand)
14
+ .sc(CreateStage)
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 { de_CreateVpcLinkCommand, se_CreateVpcLinkCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateVpcLink } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateVpcLinkCommand 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", "CreateVpcLink", {})
17
13
  .n("ApiGatewayV2Client", "CreateVpcLinkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateVpcLinkCommand)
20
- .de(de_CreateVpcLinkCommand)
14
+ .sc(CreateVpcLink)
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 { de_DeleteAccessLogSettingsCommand, se_DeleteAccessLogSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAccessLogSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAccessLogSettingsCommand 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", "DeleteAccessLogSettings", {})
17
13
  .n("ApiGatewayV2Client", "DeleteAccessLogSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAccessLogSettingsCommand)
20
- .de(de_DeleteAccessLogSettingsCommand)
14
+ .sc(DeleteAccessLogSettings)
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 { de_DeleteApiCommand, se_DeleteApiCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApiCommand 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", "DeleteApi", {})
17
13
  .n("ApiGatewayV2Client", "DeleteApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApiCommand)
20
- .de(de_DeleteApiCommand)
14
+ .sc(DeleteApi)
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 { de_DeleteApiMappingCommand, se_DeleteApiMappingCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApiMapping } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApiMappingCommand 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", "DeleteApiMapping", {})
17
13
  .n("ApiGatewayV2Client", "DeleteApiMappingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApiMappingCommand)
20
- .de(de_DeleteApiMappingCommand)
14
+ .sc(DeleteApiMapping)
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 { de_DeleteAuthorizerCommand, se_DeleteAuthorizerCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAuthorizer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAuthorizerCommand 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", "DeleteAuthorizer", {})
17
13
  .n("ApiGatewayV2Client", "DeleteAuthorizerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAuthorizerCommand)
20
- .de(de_DeleteAuthorizerCommand)
14
+ .sc(DeleteAuthorizer)
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 { de_DeleteCorsConfigurationCommand, se_DeleteCorsConfigurationCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteCorsConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCorsConfigurationCommand 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", "DeleteCorsConfiguration", {})
17
13
  .n("ApiGatewayV2Client", "DeleteCorsConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCorsConfigurationCommand)
20
- .de(de_DeleteCorsConfigurationCommand)
14
+ .sc(DeleteCorsConfiguration)
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 { de_DeleteDeploymentCommand, se_DeleteDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeploymentCommand 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", "DeleteDeployment", {})
17
13
  .n("ApiGatewayV2Client", "DeleteDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeploymentCommand)
20
- .de(de_DeleteDeploymentCommand)
14
+ .sc(DeleteDeployment)
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 { de_DeleteDomainNameCommand, se_DeleteDomainNameCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDomainName } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDomainNameCommand 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", "DeleteDomainName", {})
17
13
  .n("ApiGatewayV2Client", "DeleteDomainNameCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDomainNameCommand)
20
- .de(de_DeleteDomainNameCommand)
14
+ .sc(DeleteDomainName)
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 { de_DeleteIntegrationCommand, se_DeleteIntegrationCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteIntegration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteIntegrationCommand 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", "DeleteIntegration", {})
17
13
  .n("ApiGatewayV2Client", "DeleteIntegrationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteIntegrationCommand)
20
- .de(de_DeleteIntegrationCommand)
14
+ .sc(DeleteIntegration)
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 { de_DeleteIntegrationResponseCommand, se_DeleteIntegrationResponseCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteIntegrationResponse } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteIntegrationResponseCommand 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", "DeleteIntegrationResponse", {})
17
13
  .n("ApiGatewayV2Client", "DeleteIntegrationResponseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteIntegrationResponseCommand)
20
- .de(de_DeleteIntegrationResponseCommand)
14
+ .sc(DeleteIntegrationResponse)
21
15
  .build() {
22
16
  }