@aws-sdk/client-api-gateway 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.
Files changed (145) hide show
  1. package/dist-cjs/index.js +4494 -5179
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/APIGatewayClient.js +2 -0
  4. package/dist-es/commands/CreateApiKeyCommand.js +3 -9
  5. package/dist-es/commands/CreateAuthorizerCommand.js +3 -9
  6. package/dist-es/commands/CreateBasePathMappingCommand.js +3 -9
  7. package/dist-es/commands/CreateDeploymentCommand.js +3 -9
  8. package/dist-es/commands/CreateDocumentationPartCommand.js +3 -9
  9. package/dist-es/commands/CreateDocumentationVersionCommand.js +3 -9
  10. package/dist-es/commands/CreateDomainNameAccessAssociationCommand.js +3 -9
  11. package/dist-es/commands/CreateDomainNameCommand.js +3 -9
  12. package/dist-es/commands/CreateModelCommand.js +3 -9
  13. package/dist-es/commands/CreateRequestValidatorCommand.js +3 -9
  14. package/dist-es/commands/CreateResourceCommand.js +3 -9
  15. package/dist-es/commands/CreateRestApiCommand.js +3 -9
  16. package/dist-es/commands/CreateStageCommand.js +3 -9
  17. package/dist-es/commands/CreateUsagePlanCommand.js +3 -9
  18. package/dist-es/commands/CreateUsagePlanKeyCommand.js +3 -9
  19. package/dist-es/commands/CreateVpcLinkCommand.js +3 -9
  20. package/dist-es/commands/DeleteApiKeyCommand.js +3 -9
  21. package/dist-es/commands/DeleteAuthorizerCommand.js +3 -9
  22. package/dist-es/commands/DeleteBasePathMappingCommand.js +3 -9
  23. package/dist-es/commands/DeleteClientCertificateCommand.js +3 -9
  24. package/dist-es/commands/DeleteDeploymentCommand.js +3 -9
  25. package/dist-es/commands/DeleteDocumentationPartCommand.js +3 -9
  26. package/dist-es/commands/DeleteDocumentationVersionCommand.js +3 -9
  27. package/dist-es/commands/DeleteDomainNameAccessAssociationCommand.js +3 -9
  28. package/dist-es/commands/DeleteDomainNameCommand.js +3 -9
  29. package/dist-es/commands/DeleteGatewayResponseCommand.js +3 -9
  30. package/dist-es/commands/DeleteIntegrationCommand.js +3 -9
  31. package/dist-es/commands/DeleteIntegrationResponseCommand.js +3 -9
  32. package/dist-es/commands/DeleteMethodCommand.js +3 -9
  33. package/dist-es/commands/DeleteMethodResponseCommand.js +3 -9
  34. package/dist-es/commands/DeleteModelCommand.js +3 -9
  35. package/dist-es/commands/DeleteRequestValidatorCommand.js +3 -9
  36. package/dist-es/commands/DeleteResourceCommand.js +3 -9
  37. package/dist-es/commands/DeleteRestApiCommand.js +3 -9
  38. package/dist-es/commands/DeleteStageCommand.js +3 -9
  39. package/dist-es/commands/DeleteUsagePlanCommand.js +3 -9
  40. package/dist-es/commands/DeleteUsagePlanKeyCommand.js +3 -9
  41. package/dist-es/commands/DeleteVpcLinkCommand.js +3 -9
  42. package/dist-es/commands/FlushStageAuthorizersCacheCommand.js +3 -9
  43. package/dist-es/commands/FlushStageCacheCommand.js +3 -9
  44. package/dist-es/commands/GenerateClientCertificateCommand.js +3 -9
  45. package/dist-es/commands/GetAccountCommand.js +3 -9
  46. package/dist-es/commands/GetApiKeyCommand.js +3 -9
  47. package/dist-es/commands/GetApiKeysCommand.js +3 -9
  48. package/dist-es/commands/GetAuthorizerCommand.js +3 -9
  49. package/dist-es/commands/GetAuthorizersCommand.js +3 -9
  50. package/dist-es/commands/GetBasePathMappingCommand.js +3 -9
  51. package/dist-es/commands/GetBasePathMappingsCommand.js +3 -9
  52. package/dist-es/commands/GetClientCertificateCommand.js +3 -9
  53. package/dist-es/commands/GetClientCertificatesCommand.js +3 -9
  54. package/dist-es/commands/GetDeploymentCommand.js +3 -9
  55. package/dist-es/commands/GetDeploymentsCommand.js +3 -9
  56. package/dist-es/commands/GetDocumentationPartCommand.js +3 -9
  57. package/dist-es/commands/GetDocumentationPartsCommand.js +3 -9
  58. package/dist-es/commands/GetDocumentationVersionCommand.js +3 -9
  59. package/dist-es/commands/GetDocumentationVersionsCommand.js +3 -9
  60. package/dist-es/commands/GetDomainNameAccessAssociationsCommand.js +3 -9
  61. package/dist-es/commands/GetDomainNameCommand.js +3 -9
  62. package/dist-es/commands/GetDomainNamesCommand.js +3 -9
  63. package/dist-es/commands/GetExportCommand.js +3 -9
  64. package/dist-es/commands/GetGatewayResponseCommand.js +3 -9
  65. package/dist-es/commands/GetGatewayResponsesCommand.js +3 -9
  66. package/dist-es/commands/GetIntegrationCommand.js +3 -9
  67. package/dist-es/commands/GetIntegrationResponseCommand.js +3 -9
  68. package/dist-es/commands/GetMethodCommand.js +3 -9
  69. package/dist-es/commands/GetMethodResponseCommand.js +3 -9
  70. package/dist-es/commands/GetModelCommand.js +3 -9
  71. package/dist-es/commands/GetModelTemplateCommand.js +3 -9
  72. package/dist-es/commands/GetModelsCommand.js +3 -9
  73. package/dist-es/commands/GetRequestValidatorCommand.js +3 -9
  74. package/dist-es/commands/GetRequestValidatorsCommand.js +3 -9
  75. package/dist-es/commands/GetResourceCommand.js +3 -9
  76. package/dist-es/commands/GetResourcesCommand.js +3 -9
  77. package/dist-es/commands/GetRestApiCommand.js +3 -9
  78. package/dist-es/commands/GetRestApisCommand.js +3 -9
  79. package/dist-es/commands/GetSdkCommand.js +3 -9
  80. package/dist-es/commands/GetSdkTypeCommand.js +3 -9
  81. package/dist-es/commands/GetSdkTypesCommand.js +3 -9
  82. package/dist-es/commands/GetStageCommand.js +3 -9
  83. package/dist-es/commands/GetStagesCommand.js +3 -9
  84. package/dist-es/commands/GetTagsCommand.js +3 -9
  85. package/dist-es/commands/GetUsageCommand.js +3 -9
  86. package/dist-es/commands/GetUsagePlanCommand.js +3 -9
  87. package/dist-es/commands/GetUsagePlanKeyCommand.js +3 -9
  88. package/dist-es/commands/GetUsagePlanKeysCommand.js +3 -9
  89. package/dist-es/commands/GetUsagePlansCommand.js +3 -9
  90. package/dist-es/commands/GetVpcLinkCommand.js +3 -9
  91. package/dist-es/commands/GetVpcLinksCommand.js +3 -9
  92. package/dist-es/commands/ImportApiKeysCommand.js +3 -9
  93. package/dist-es/commands/ImportDocumentationPartsCommand.js +3 -9
  94. package/dist-es/commands/ImportRestApiCommand.js +3 -9
  95. package/dist-es/commands/PutGatewayResponseCommand.js +3 -9
  96. package/dist-es/commands/PutIntegrationCommand.js +3 -9
  97. package/dist-es/commands/PutIntegrationResponseCommand.js +3 -9
  98. package/dist-es/commands/PutMethodCommand.js +3 -9
  99. package/dist-es/commands/PutMethodResponseCommand.js +3 -9
  100. package/dist-es/commands/PutRestApiCommand.js +3 -9
  101. package/dist-es/commands/RejectDomainNameAccessAssociationCommand.js +3 -9
  102. package/dist-es/commands/TagResourceCommand.js +3 -9
  103. package/dist-es/commands/TestInvokeAuthorizerCommand.js +3 -9
  104. package/dist-es/commands/TestInvokeMethodCommand.js +3 -9
  105. package/dist-es/commands/UntagResourceCommand.js +3 -9
  106. package/dist-es/commands/UpdateAccountCommand.js +3 -9
  107. package/dist-es/commands/UpdateApiKeyCommand.js +3 -9
  108. package/dist-es/commands/UpdateAuthorizerCommand.js +3 -9
  109. package/dist-es/commands/UpdateBasePathMappingCommand.js +3 -9
  110. package/dist-es/commands/UpdateClientCertificateCommand.js +3 -9
  111. package/dist-es/commands/UpdateDeploymentCommand.js +3 -9
  112. package/dist-es/commands/UpdateDocumentationPartCommand.js +3 -9
  113. package/dist-es/commands/UpdateDocumentationVersionCommand.js +3 -9
  114. package/dist-es/commands/UpdateDomainNameCommand.js +3 -9
  115. package/dist-es/commands/UpdateGatewayResponseCommand.js +3 -9
  116. package/dist-es/commands/UpdateIntegrationCommand.js +3 -9
  117. package/dist-es/commands/UpdateIntegrationResponseCommand.js +3 -9
  118. package/dist-es/commands/UpdateMethodCommand.js +3 -9
  119. package/dist-es/commands/UpdateMethodResponseCommand.js +3 -9
  120. package/dist-es/commands/UpdateModelCommand.js +3 -9
  121. package/dist-es/commands/UpdateRequestValidatorCommand.js +3 -9
  122. package/dist-es/commands/UpdateResourceCommand.js +3 -9
  123. package/dist-es/commands/UpdateRestApiCommand.js +3 -9
  124. package/dist-es/commands/UpdateStageCommand.js +3 -9
  125. package/dist-es/commands/UpdateUsageCommand.js +3 -9
  126. package/dist-es/commands/UpdateUsagePlanCommand.js +3 -9
  127. package/dist-es/commands/UpdateVpcLinkCommand.js +3 -9
  128. package/dist-es/runtimeConfig.shared.js +2 -0
  129. package/dist-es/schemas/schemas_0.js +4252 -0
  130. package/dist-types/APIGatewayClient.d.ts +10 -1
  131. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  132. package/dist-types/runtimeConfig.d.ts +1 -0
  133. package/dist-types/runtimeConfig.native.d.ts +1 -0
  134. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  135. package/dist-types/schemas/schemas_0.d.ts +365 -0
  136. package/dist-types/ts3.4/APIGatewayClient.d.ts +4 -0
  137. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  138. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  139. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  140. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  141. package/dist-types/ts3.4/schemas/schemas_0.d.ts +371 -0
  142. package/package.json +5 -5
  143. package/dist-es/protocols/Aws_restJson1.js +0 -4311
  144. package/dist-types/protocols/Aws_restJson1.d.ts +0 -1118
  145. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1493
@@ -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.apigateway" }),
28
30
  serviceId: config?.serviceId ?? "API Gateway",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -5,6 +5,7 @@ import { getAcceptHeaderPlugin } from "@aws-sdk/middleware-sdk-api-gateway";
5
5
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
6
6
  import { resolveRegionConfig } from "@smithy/config-resolver";
7
7
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
8
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
9
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
10
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
11
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -29,6 +30,7 @@ export class APIGatewayClient extends __Client {
29
30
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
30
31
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
31
32
  this.config = _config_8;
33
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
32
34
  this.middlewareStack.use(getUserAgentPlugin(this.config));
33
35
  this.middlewareStack.use(getRetryPlugin(this.config));
34
36
  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_CreateApiKeyCommand, se_CreateApiKeyCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApiKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateApiKeyCommand 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", "CreateApiKey", {})
17
13
  .n("APIGatewayClient", "CreateApiKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateApiKeyCommand)
20
- .de(de_CreateApiKeyCommand)
14
+ .sc(CreateApiKey)
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("BackplaneControlService", "CreateAuthorizer", {})
17
13
  .n("APIGatewayClient", "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_CreateBasePathMappingCommand, se_CreateBasePathMappingCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateBasePathMapping } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateBasePathMappingCommand 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", "CreateBasePathMapping", {})
17
13
  .n("APIGatewayClient", "CreateBasePathMappingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateBasePathMappingCommand)
20
- .de(de_CreateBasePathMappingCommand)
14
+ .sc(CreateBasePathMapping)
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("BackplaneControlService", "CreateDeployment", {})
17
13
  .n("APIGatewayClient", "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_CreateDocumentationPartCommand, se_CreateDocumentationPartCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDocumentationPart } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDocumentationPartCommand 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", "CreateDocumentationPart", {})
17
13
  .n("APIGatewayClient", "CreateDocumentationPartCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDocumentationPartCommand)
20
- .de(de_CreateDocumentationPartCommand)
14
+ .sc(CreateDocumentationPart)
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_CreateDocumentationVersionCommand, se_CreateDocumentationVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDocumentationVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDocumentationVersionCommand 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", "CreateDocumentationVersion", {})
17
13
  .n("APIGatewayClient", "CreateDocumentationVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDocumentationVersionCommand)
20
- .de(de_CreateDocumentationVersionCommand)
14
+ .sc(CreateDocumentationVersion)
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_CreateDomainNameAccessAssociationCommand, se_CreateDomainNameAccessAssociationCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateDomainNameAccessAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDomainNameAccessAssociationCommand 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", "CreateDomainNameAccessAssociation", {})
17
13
  .n("APIGatewayClient", "CreateDomainNameAccessAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDomainNameAccessAssociationCommand)
20
- .de(de_CreateDomainNameAccessAssociationCommand)
14
+ .sc(CreateDomainNameAccessAssociation)
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("BackplaneControlService", "CreateDomainName", {})
17
13
  .n("APIGatewayClient", "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_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("BackplaneControlService", "CreateModel", {})
17
13
  .n("APIGatewayClient", "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_CreateRequestValidatorCommand, se_CreateRequestValidatorCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRequestValidator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRequestValidatorCommand 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", "CreateRequestValidator", {})
17
13
  .n("APIGatewayClient", "CreateRequestValidatorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRequestValidatorCommand)
20
- .de(de_CreateRequestValidatorCommand)
14
+ .sc(CreateRequestValidator)
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_CreateResourceCommand, se_CreateResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateResourceCommand 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", "CreateResource", {})
17
13
  .n("APIGatewayClient", "CreateResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateResourceCommand)
20
- .de(de_CreateResourceCommand)
14
+ .sc(CreateResource)
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_CreateRestApiCommand, se_CreateRestApiCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRestApi } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRestApiCommand 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", "CreateRestApi", {})
17
13
  .n("APIGatewayClient", "CreateRestApiCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRestApiCommand)
20
- .de(de_CreateRestApiCommand)
14
+ .sc(CreateRestApi)
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("BackplaneControlService", "CreateStage", {})
17
13
  .n("APIGatewayClient", "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_CreateUsagePlanCommand, se_CreateUsagePlanCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateUsagePlan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateUsagePlanCommand 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", "CreateUsagePlan", {})
17
13
  .n("APIGatewayClient", "CreateUsagePlanCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateUsagePlanCommand)
20
- .de(de_CreateUsagePlanCommand)
14
+ .sc(CreateUsagePlan)
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_CreateUsagePlanKeyCommand, se_CreateUsagePlanKeyCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateUsagePlanKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateUsagePlanKeyCommand 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", "CreateUsagePlanKey", {})
17
13
  .n("APIGatewayClient", "CreateUsagePlanKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateUsagePlanKeyCommand)
20
- .de(de_CreateUsagePlanKeyCommand)
14
+ .sc(CreateUsagePlanKey)
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("BackplaneControlService", "CreateVpcLink", {})
17
13
  .n("APIGatewayClient", "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_DeleteApiKeyCommand, se_DeleteApiKeyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApiKey } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApiKeyCommand 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", "DeleteApiKey", {})
17
13
  .n("APIGatewayClient", "DeleteApiKeyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApiKeyCommand)
20
- .de(de_DeleteApiKeyCommand)
14
+ .sc(DeleteApiKey)
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("BackplaneControlService", "DeleteAuthorizer", {})
17
13
  .n("APIGatewayClient", "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_DeleteBasePathMappingCommand, se_DeleteBasePathMappingCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBasePathMapping } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBasePathMappingCommand 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", "DeleteBasePathMapping", {})
17
13
  .n("APIGatewayClient", "DeleteBasePathMappingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBasePathMappingCommand)
20
- .de(de_DeleteBasePathMappingCommand)
14
+ .sc(DeleteBasePathMapping)
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_DeleteClientCertificateCommand, se_DeleteClientCertificateCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteClientCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteClientCertificateCommand 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", "DeleteClientCertificate", {})
17
13
  .n("APIGatewayClient", "DeleteClientCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteClientCertificateCommand)
20
- .de(de_DeleteClientCertificateCommand)
14
+ .sc(DeleteClientCertificate)
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("BackplaneControlService", "DeleteDeployment", {})
17
13
  .n("APIGatewayClient", "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_DeleteDocumentationPartCommand, se_DeleteDocumentationPartCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDocumentationPart } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDocumentationPartCommand 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", "DeleteDocumentationPart", {})
17
13
  .n("APIGatewayClient", "DeleteDocumentationPartCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDocumentationPartCommand)
20
- .de(de_DeleteDocumentationPartCommand)
14
+ .sc(DeleteDocumentationPart)
21
15
  .build() {
22
16
  }