@aws-sdk/client-apigatewayv2 3.183.0 → 3.186.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 (85) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/ApiGatewayV2.js +297 -290
  4. package/dist-es/ApiGatewayV2Client.js +28 -22
  5. package/dist-es/commands/CreateApiCommand.js +28 -21
  6. package/dist-es/commands/CreateApiMappingCommand.js +28 -21
  7. package/dist-es/commands/CreateAuthorizerCommand.js +28 -21
  8. package/dist-es/commands/CreateDeploymentCommand.js +28 -21
  9. package/dist-es/commands/CreateDomainNameCommand.js +28 -21
  10. package/dist-es/commands/CreateIntegrationCommand.js +28 -21
  11. package/dist-es/commands/CreateIntegrationResponseCommand.js +28 -21
  12. package/dist-es/commands/CreateModelCommand.js +28 -21
  13. package/dist-es/commands/CreateRouteCommand.js +28 -21
  14. package/dist-es/commands/CreateRouteResponseCommand.js +28 -21
  15. package/dist-es/commands/CreateStageCommand.js +28 -21
  16. package/dist-es/commands/CreateVpcLinkCommand.js +28 -21
  17. package/dist-es/commands/DeleteAccessLogSettingsCommand.js +29 -22
  18. package/dist-es/commands/DeleteApiCommand.js +29 -22
  19. package/dist-es/commands/DeleteApiMappingCommand.js +29 -22
  20. package/dist-es/commands/DeleteAuthorizerCommand.js +29 -22
  21. package/dist-es/commands/DeleteCorsConfigurationCommand.js +29 -22
  22. package/dist-es/commands/DeleteDeploymentCommand.js +29 -22
  23. package/dist-es/commands/DeleteDomainNameCommand.js +29 -22
  24. package/dist-es/commands/DeleteIntegrationCommand.js +29 -22
  25. package/dist-es/commands/DeleteIntegrationResponseCommand.js +29 -22
  26. package/dist-es/commands/DeleteModelCommand.js +29 -22
  27. package/dist-es/commands/DeleteRouteCommand.js +29 -22
  28. package/dist-es/commands/DeleteRouteRequestParameterCommand.js +29 -22
  29. package/dist-es/commands/DeleteRouteResponseCommand.js +29 -22
  30. package/dist-es/commands/DeleteRouteSettingsCommand.js +29 -22
  31. package/dist-es/commands/DeleteStageCommand.js +29 -22
  32. package/dist-es/commands/DeleteVpcLinkCommand.js +28 -21
  33. package/dist-es/commands/ExportApiCommand.js +28 -21
  34. package/dist-es/commands/GetApiCommand.js +28 -21
  35. package/dist-es/commands/GetApiMappingCommand.js +28 -21
  36. package/dist-es/commands/GetApiMappingsCommand.js +28 -21
  37. package/dist-es/commands/GetApisCommand.js +28 -21
  38. package/dist-es/commands/GetAuthorizerCommand.js +28 -21
  39. package/dist-es/commands/GetAuthorizersCommand.js +28 -21
  40. package/dist-es/commands/GetDeploymentCommand.js +28 -21
  41. package/dist-es/commands/GetDeploymentsCommand.js +28 -21
  42. package/dist-es/commands/GetDomainNameCommand.js +28 -21
  43. package/dist-es/commands/GetDomainNamesCommand.js +28 -21
  44. package/dist-es/commands/GetIntegrationCommand.js +28 -21
  45. package/dist-es/commands/GetIntegrationResponseCommand.js +28 -21
  46. package/dist-es/commands/GetIntegrationResponsesCommand.js +28 -21
  47. package/dist-es/commands/GetIntegrationsCommand.js +28 -21
  48. package/dist-es/commands/GetModelCommand.js +28 -21
  49. package/dist-es/commands/GetModelTemplateCommand.js +28 -21
  50. package/dist-es/commands/GetModelsCommand.js +28 -21
  51. package/dist-es/commands/GetRouteCommand.js +28 -21
  52. package/dist-es/commands/GetRouteResponseCommand.js +28 -21
  53. package/dist-es/commands/GetRouteResponsesCommand.js +28 -21
  54. package/dist-es/commands/GetRoutesCommand.js +28 -21
  55. package/dist-es/commands/GetStageCommand.js +28 -21
  56. package/dist-es/commands/GetStagesCommand.js +28 -21
  57. package/dist-es/commands/GetTagsCommand.js +28 -21
  58. package/dist-es/commands/GetVpcLinkCommand.js +28 -21
  59. package/dist-es/commands/GetVpcLinksCommand.js +28 -21
  60. package/dist-es/commands/ImportApiCommand.js +28 -21
  61. package/dist-es/commands/ReimportApiCommand.js +28 -21
  62. package/dist-es/commands/ResetAuthorizersCacheCommand.js +29 -22
  63. package/dist-es/commands/TagResourceCommand.js +28 -21
  64. package/dist-es/commands/UntagResourceCommand.js +29 -22
  65. package/dist-es/commands/UpdateApiCommand.js +28 -21
  66. package/dist-es/commands/UpdateApiMappingCommand.js +28 -21
  67. package/dist-es/commands/UpdateAuthorizerCommand.js +28 -21
  68. package/dist-es/commands/UpdateDeploymentCommand.js +28 -21
  69. package/dist-es/commands/UpdateDomainNameCommand.js +28 -21
  70. package/dist-es/commands/UpdateIntegrationCommand.js +28 -21
  71. package/dist-es/commands/UpdateIntegrationResponseCommand.js +28 -21
  72. package/dist-es/commands/UpdateModelCommand.js +28 -21
  73. package/dist-es/commands/UpdateRouteCommand.js +28 -21
  74. package/dist-es/commands/UpdateRouteResponseCommand.js +28 -21
  75. package/dist-es/commands/UpdateStageCommand.js +28 -21
  76. package/dist-es/commands/UpdateVpcLinkCommand.js +28 -21
  77. package/dist-es/endpoints.js +8 -8
  78. package/dist-es/models/ApiGatewayV2ServiceException.js +10 -5
  79. package/dist-es/models/models_0.js +212 -509
  80. package/dist-es/protocols/Aws_restJson1.js +7662 -5700
  81. package/dist-es/runtimeConfig.browser.js +12 -26
  82. package/dist-es/runtimeConfig.js +12 -30
  83. package/dist-es/runtimeConfig.native.js +5 -8
  84. package/dist-es/runtimeConfig.shared.js +11 -8
  85. package/package.json +33 -33
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class ApiGatewayV2Client extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var ApiGatewayV2Client = (function (_super) {
13
+ __extends(ApiGatewayV2Client, _super);
14
+ function ApiGatewayV2Client(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ ApiGatewayV2Client.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return ApiGatewayV2Client;
38
+ }(__Client));
39
+ export { ApiGatewayV2Client };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateApiRequestFilterSensitiveLog, CreateApiResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateApiCommand, serializeAws_restJson1CreateApiCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateApiCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateApiCommand = (function (_super) {
7
+ __extends(CreateApiCommand, _super);
8
+ function CreateApiCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateApiCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateApiCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateApiCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateApiRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateApiResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateApiCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateApiCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateApiCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateApiCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateApiCommand;
38
+ }($Command));
39
+ export { CreateApiCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateApiMappingRequestFilterSensitiveLog, CreateApiMappingResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateApiMappingCommand, serializeAws_restJson1CreateApiMappingCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateApiMappingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateApiMappingCommand = (function (_super) {
7
+ __extends(CreateApiMappingCommand, _super);
8
+ function CreateApiMappingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateApiMappingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateApiMappingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateApiMappingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateApiMappingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateApiMappingResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateApiMappingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateApiMappingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateApiMappingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateApiMappingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateApiMappingCommand;
38
+ }($Command));
39
+ export { CreateApiMappingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateAuthorizerRequestFilterSensitiveLog, CreateAuthorizerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateAuthorizerCommand, serializeAws_restJson1CreateAuthorizerCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateAuthorizerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAuthorizerCommand = (function (_super) {
7
+ __extends(CreateAuthorizerCommand, _super);
8
+ function CreateAuthorizerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAuthorizerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateAuthorizerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateAuthorizerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAuthorizerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateAuthorizerResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateAuthorizerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateAuthorizerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAuthorizerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateAuthorizerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAuthorizerCommand;
38
+ }($Command));
39
+ export { CreateAuthorizerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateDeploymentRequestFilterSensitiveLog, CreateDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDeploymentCommand, serializeAws_restJson1CreateDeploymentCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDeploymentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDeploymentCommand = (function (_super) {
7
+ __extends(CreateDeploymentCommand, _super);
8
+ function CreateDeploymentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateDeploymentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateDeploymentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDeploymentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDeploymentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDeploymentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDeploymentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDeploymentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDeploymentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDeploymentCommand;
38
+ }($Command));
39
+ export { CreateDeploymentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateDomainNameRequestFilterSensitiveLog, CreateDomainNameResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDomainNameCommand, serializeAws_restJson1CreateDomainNameCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDomainNameCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDomainNameCommand = (function (_super) {
7
+ __extends(CreateDomainNameCommand, _super);
8
+ function CreateDomainNameCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDomainNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateDomainNameCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateDomainNameCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDomainNameRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDomainNameResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDomainNameCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDomainNameCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDomainNameCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDomainNameCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDomainNameCommand;
38
+ }($Command));
39
+ export { CreateDomainNameCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateIntegrationRequestFilterSensitiveLog, CreateIntegrationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateIntegrationCommand, serializeAws_restJson1CreateIntegrationCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateIntegrationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateIntegrationCommand = (function (_super) {
7
+ __extends(CreateIntegrationCommand, _super);
8
+ function CreateIntegrationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateIntegrationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateIntegrationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateIntegrationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateIntegrationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateIntegrationResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateIntegrationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateIntegrationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateIntegrationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateIntegrationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateIntegrationCommand;
38
+ }($Command));
39
+ export { CreateIntegrationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateIntegrationResponseRequestFilterSensitiveLog, CreateIntegrationResponseResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateIntegrationResponseCommand, serializeAws_restJson1CreateIntegrationResponseCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateIntegrationResponseCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateIntegrationResponseCommand = (function (_super) {
7
+ __extends(CreateIntegrationResponseCommand, _super);
8
+ function CreateIntegrationResponseCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateIntegrationResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateIntegrationResponseCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateIntegrationResponseCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateIntegrationResponseRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateIntegrationResponseResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateIntegrationResponseCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateIntegrationResponseCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateIntegrationResponseCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateIntegrationResponseCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateIntegrationResponseCommand;
38
+ }($Command));
39
+ export { CreateIntegrationResponseCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateModelRequestFilterSensitiveLog, CreateModelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateModelCommand, serializeAws_restJson1CreateModelCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateModelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateModelCommand = (function (_super) {
7
+ __extends(CreateModelCommand, _super);
8
+ function CreateModelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateModelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateModelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateModelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateModelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateModelResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateModelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateModelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateModelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateModelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateModelCommand;
38
+ }($Command));
39
+ export { CreateModelCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateRouteRequestFilterSensitiveLog, CreateRouteResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateRouteCommand, serializeAws_restJson1CreateRouteCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateRouteCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateRouteCommand = (function (_super) {
7
+ __extends(CreateRouteCommand, _super);
8
+ function CreateRouteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateRouteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ApiGatewayV2Client";
15
- const commandName = "CreateRouteCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApiGatewayV2Client";
18
+ var commandName = "CreateRouteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateRouteRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateRouteResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateRouteCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateRouteCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateRouteCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateRouteCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateRouteCommand;
38
+ }($Command));
39
+ export { CreateRouteCommand };