@aws-sdk/client-apigatewayv2 3.181.0 → 3.183.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 (84) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/ApiGatewayV2.js +290 -297
  3. package/dist-es/ApiGatewayV2Client.js +22 -28
  4. package/dist-es/commands/CreateApiCommand.js +21 -28
  5. package/dist-es/commands/CreateApiMappingCommand.js +21 -28
  6. package/dist-es/commands/CreateAuthorizerCommand.js +21 -28
  7. package/dist-es/commands/CreateDeploymentCommand.js +21 -28
  8. package/dist-es/commands/CreateDomainNameCommand.js +21 -28
  9. package/dist-es/commands/CreateIntegrationCommand.js +21 -28
  10. package/dist-es/commands/CreateIntegrationResponseCommand.js +21 -28
  11. package/dist-es/commands/CreateModelCommand.js +21 -28
  12. package/dist-es/commands/CreateRouteCommand.js +21 -28
  13. package/dist-es/commands/CreateRouteResponseCommand.js +21 -28
  14. package/dist-es/commands/CreateStageCommand.js +21 -28
  15. package/dist-es/commands/CreateVpcLinkCommand.js +21 -28
  16. package/dist-es/commands/DeleteAccessLogSettingsCommand.js +22 -29
  17. package/dist-es/commands/DeleteApiCommand.js +22 -29
  18. package/dist-es/commands/DeleteApiMappingCommand.js +22 -29
  19. package/dist-es/commands/DeleteAuthorizerCommand.js +22 -29
  20. package/dist-es/commands/DeleteCorsConfigurationCommand.js +22 -29
  21. package/dist-es/commands/DeleteDeploymentCommand.js +22 -29
  22. package/dist-es/commands/DeleteDomainNameCommand.js +22 -29
  23. package/dist-es/commands/DeleteIntegrationCommand.js +22 -29
  24. package/dist-es/commands/DeleteIntegrationResponseCommand.js +22 -29
  25. package/dist-es/commands/DeleteModelCommand.js +22 -29
  26. package/dist-es/commands/DeleteRouteCommand.js +22 -29
  27. package/dist-es/commands/DeleteRouteRequestParameterCommand.js +22 -29
  28. package/dist-es/commands/DeleteRouteResponseCommand.js +22 -29
  29. package/dist-es/commands/DeleteRouteSettingsCommand.js +22 -29
  30. package/dist-es/commands/DeleteStageCommand.js +22 -29
  31. package/dist-es/commands/DeleteVpcLinkCommand.js +21 -28
  32. package/dist-es/commands/ExportApiCommand.js +21 -28
  33. package/dist-es/commands/GetApiCommand.js +21 -28
  34. package/dist-es/commands/GetApiMappingCommand.js +21 -28
  35. package/dist-es/commands/GetApiMappingsCommand.js +21 -28
  36. package/dist-es/commands/GetApisCommand.js +21 -28
  37. package/dist-es/commands/GetAuthorizerCommand.js +21 -28
  38. package/dist-es/commands/GetAuthorizersCommand.js +21 -28
  39. package/dist-es/commands/GetDeploymentCommand.js +21 -28
  40. package/dist-es/commands/GetDeploymentsCommand.js +21 -28
  41. package/dist-es/commands/GetDomainNameCommand.js +21 -28
  42. package/dist-es/commands/GetDomainNamesCommand.js +21 -28
  43. package/dist-es/commands/GetIntegrationCommand.js +21 -28
  44. package/dist-es/commands/GetIntegrationResponseCommand.js +21 -28
  45. package/dist-es/commands/GetIntegrationResponsesCommand.js +21 -28
  46. package/dist-es/commands/GetIntegrationsCommand.js +21 -28
  47. package/dist-es/commands/GetModelCommand.js +21 -28
  48. package/dist-es/commands/GetModelTemplateCommand.js +21 -28
  49. package/dist-es/commands/GetModelsCommand.js +21 -28
  50. package/dist-es/commands/GetRouteCommand.js +21 -28
  51. package/dist-es/commands/GetRouteResponseCommand.js +21 -28
  52. package/dist-es/commands/GetRouteResponsesCommand.js +21 -28
  53. package/dist-es/commands/GetRoutesCommand.js +21 -28
  54. package/dist-es/commands/GetStageCommand.js +21 -28
  55. package/dist-es/commands/GetStagesCommand.js +21 -28
  56. package/dist-es/commands/GetTagsCommand.js +21 -28
  57. package/dist-es/commands/GetVpcLinkCommand.js +21 -28
  58. package/dist-es/commands/GetVpcLinksCommand.js +21 -28
  59. package/dist-es/commands/ImportApiCommand.js +21 -28
  60. package/dist-es/commands/ReimportApiCommand.js +21 -28
  61. package/dist-es/commands/ResetAuthorizersCacheCommand.js +22 -29
  62. package/dist-es/commands/TagResourceCommand.js +21 -28
  63. package/dist-es/commands/UntagResourceCommand.js +22 -29
  64. package/dist-es/commands/UpdateApiCommand.js +21 -28
  65. package/dist-es/commands/UpdateApiMappingCommand.js +21 -28
  66. package/dist-es/commands/UpdateAuthorizerCommand.js +21 -28
  67. package/dist-es/commands/UpdateDeploymentCommand.js +21 -28
  68. package/dist-es/commands/UpdateDomainNameCommand.js +21 -28
  69. package/dist-es/commands/UpdateIntegrationCommand.js +21 -28
  70. package/dist-es/commands/UpdateIntegrationResponseCommand.js +21 -28
  71. package/dist-es/commands/UpdateModelCommand.js +21 -28
  72. package/dist-es/commands/UpdateRouteCommand.js +21 -28
  73. package/dist-es/commands/UpdateRouteResponseCommand.js +21 -28
  74. package/dist-es/commands/UpdateStageCommand.js +21 -28
  75. package/dist-es/commands/UpdateVpcLinkCommand.js +21 -28
  76. package/dist-es/endpoints.js +8 -8
  77. package/dist-es/models/ApiGatewayV2ServiceException.js +5 -10
  78. package/dist-es/models/models_0.js +509 -212
  79. package/dist-es/protocols/Aws_restJson1.js +5700 -7662
  80. package/dist-es/runtimeConfig.browser.js +26 -12
  81. package/dist-es/runtimeConfig.js +30 -12
  82. package/dist-es/runtimeConfig.native.js +8 -5
  83. package/dist-es/runtimeConfig.shared.js +8 -11
  84. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UntagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateApiRequestFilterSensitiveLog, UpdateApiResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateApiCommand, serializeAws_restJson1UpdateApiCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateApiCommand = (function (_super) {
7
- __extends(UpdateApiCommand, _super);
8
- function UpdateApiCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateApiCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateApiCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateApiCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateApiCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateApiRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateApiResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateApiCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateApiCommand(input, context);
33
- };
34
- UpdateApiCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateApiCommand(output, context);
36
- };
37
- return UpdateApiCommand;
38
- }($Command));
39
- export { UpdateApiCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateApiMappingRequestFilterSensitiveLog, UpdateApiMappingResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateApiMappingCommand, serializeAws_restJson1UpdateApiMappingCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateApiMappingCommand = (function (_super) {
7
- __extends(UpdateApiMappingCommand, _super);
8
- function UpdateApiMappingCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateApiMappingCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateApiMappingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateApiMappingCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateApiMappingCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateApiMappingRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateApiMappingResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateApiMappingCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateApiMappingCommand(input, context);
33
- };
34
- UpdateApiMappingCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateApiMappingCommand(output, context);
36
- };
37
- return UpdateApiMappingCommand;
38
- }($Command));
39
- export { UpdateApiMappingCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateAuthorizerRequestFilterSensitiveLog, UpdateAuthorizerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateAuthorizerCommand, serializeAws_restJson1UpdateAuthorizerCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateAuthorizerCommand = (function (_super) {
7
- __extends(UpdateAuthorizerCommand, _super);
8
- function UpdateAuthorizerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateAuthorizerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateAuthorizerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateAuthorizerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateAuthorizerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateAuthorizerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateAuthorizerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateAuthorizerCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateAuthorizerCommand(input, context);
33
- };
34
- UpdateAuthorizerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateAuthorizerCommand(output, context);
36
- };
37
- return UpdateAuthorizerCommand;
38
- }($Command));
39
- export { UpdateAuthorizerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDeploymentRequestFilterSensitiveLog, UpdateDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateDeploymentCommand, serializeAws_restJson1UpdateDeploymentCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDeploymentCommand = (function (_super) {
7
- __extends(UpdateDeploymentCommand, _super);
8
- function UpdateDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateDeploymentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDeploymentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDeploymentResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDeploymentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDeploymentCommand(input, context);
33
- };
34
- UpdateDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDeploymentCommand(output, context);
36
- };
37
- return UpdateDeploymentCommand;
38
- }($Command));
39
- export { UpdateDeploymentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDomainNameRequestFilterSensitiveLog, UpdateDomainNameResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateDomainNameCommand, serializeAws_restJson1UpdateDomainNameCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDomainNameCommand = (function (_super) {
7
- __extends(UpdateDomainNameCommand, _super);
8
- function UpdateDomainNameCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDomainNameCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDomainNameCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateDomainNameCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateDomainNameCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDomainNameRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDomainNameResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDomainNameCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDomainNameCommand(input, context);
33
- };
34
- UpdateDomainNameCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDomainNameCommand(output, context);
36
- };
37
- return UpdateDomainNameCommand;
38
- }($Command));
39
- export { UpdateDomainNameCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateIntegrationRequestFilterSensitiveLog, UpdateIntegrationResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateIntegrationCommand, serializeAws_restJson1UpdateIntegrationCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateIntegrationCommand = (function (_super) {
7
- __extends(UpdateIntegrationCommand, _super);
8
- function UpdateIntegrationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateIntegrationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateIntegrationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateIntegrationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateIntegrationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateIntegrationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateIntegrationResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateIntegrationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateIntegrationCommand(input, context);
33
- };
34
- UpdateIntegrationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateIntegrationCommand(output, context);
36
- };
37
- return UpdateIntegrationCommand;
38
- }($Command));
39
- export { UpdateIntegrationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateIntegrationResponseRequestFilterSensitiveLog, UpdateIntegrationResponseResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateIntegrationResponseCommand, serializeAws_restJson1UpdateIntegrationResponseCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateIntegrationResponseCommand = (function (_super) {
7
- __extends(UpdateIntegrationResponseCommand, _super);
8
- function UpdateIntegrationResponseCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateIntegrationResponseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateIntegrationResponseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateIntegrationResponseCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateIntegrationResponseCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateIntegrationResponseRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateIntegrationResponseResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateIntegrationResponseCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateIntegrationResponseCommand(input, context);
33
- };
34
- UpdateIntegrationResponseCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateIntegrationResponseCommand(output, context);
36
- };
37
- return UpdateIntegrationResponseCommand;
38
- }($Command));
39
- export { UpdateIntegrationResponseCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateModelRequestFilterSensitiveLog, UpdateModelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateModelCommand, serializeAws_restJson1UpdateModelCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateModelCommand = (function (_super) {
7
- __extends(UpdateModelCommand, _super);
8
- function UpdateModelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateModelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateModelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateModelCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateModelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateModelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateModelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateModelCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateModelCommand(input, context);
33
- };
34
- UpdateModelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateModelCommand(output, context);
36
- };
37
- return UpdateModelCommand;
38
- }($Command));
39
- export { UpdateModelCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateRouteRequestFilterSensitiveLog, UpdateRouteResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateRouteCommand, serializeAws_restJson1UpdateRouteCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateRouteCommand = (function (_super) {
7
- __extends(UpdateRouteCommand, _super);
8
- function UpdateRouteCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateRouteCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateRouteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "ApiGatewayV2Client";
18
- var commandName = "UpdateRouteCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "ApiGatewayV2Client";
15
+ const commandName = "UpdateRouteCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateRouteRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateRouteResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateRouteCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateRouteCommand(input, context);
33
- };
34
- UpdateRouteCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateRouteCommand(output, context);
36
- };
37
- return UpdateRouteCommand;
38
- }($Command));
39
- export { UpdateRouteCommand };
31
+ }
32
+ }